Closed Bug 755768 Opened 12 years ago Closed 12 years ago

IonMonkey: Fix script use count when both Ion and JM are enabled

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There are some problems if both Ion and JM+TI are enabled, for instance both compilers call script->incUseCount(), so scripts are compiled after ~20 iterations instead of ~40.
Attached patch PatchSplinter Review
The problem with the patch in bug 724751 was that the CanMethodJIT copy in MethodJIT-inl.h was unused (bug 752015 removed the file).
Attachment #624400 - Flags: review?(dvander)
Attachment #624400 - Flags: review?(dvander) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/c92b2f714cea
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.