diff --git a/src/mapleall/maple_phase/include/phases.def b/src/mapleall/maple_phase/include/phases.def index 05c73b87e470deadec33e64e8fcd93bf30469cbc..155d2b0d4114df48f827905fbb842b3523740cdc 100644 --- a/src/mapleall/maple_phase/include/phases.def +++ b/src/mapleall/maple_phase/include/phases.def @@ -8,6 +8,8 @@ ADDMODULEPHASE("GenNativeStubFunc", JAVALANG) ADDMODULEPHASE("gencheckcast", JAVALANG) ADDMODULEPHASE("javaintrnlowering", JAVALANG) ADDMODULEPHASE("inline", Options::O2 && Options::useInline) +// run callgraph again to delete fully inlined static function +ADDMODULEPHASE("callgraph", Options::O2 && Options::useInline) ADDMODULEPHASE("simplify", Options::O2) ADDMODULEPHASE("ConstantFold", Options::O2) // ipa phase manager