Closed Bug 716682 Opened 13 years ago Closed 3 years ago

IonMonkey: Be smarter about when to recompile for inlining

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

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
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.