Open Bug 716682 Opened 10 years ago Updated 7 years ago
Monkey: Be smarter about when to recompile for inlining
sstangl suggested this in bug 706472. At the moment we insert a recompile check which triggers recompilation if the script is hot. This check is inserted at loop heads and function entry for all functions that contain call instructions and are not yet hot. We could be smarter here to avoid recompiling scripts. For instance, if all calls in the script refer to non-inlineable functions or something we don't have to insert the recompile checks etc.
You need to log in before you can comment on or make changes to this bug.