Open Bug 716682 Opened 10 years ago Updated 7 years ago

IonMonkey: Be smarter about when to recompile for inlining

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ion:t])

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.
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.