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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
Created attachment 624400 [details] [diff] [review]
Patch

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+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/projects/ionmonkey/rev/c92b2f714cea
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.