Closed
Bug 1121434
Opened 10 years ago
Closed 10 years ago
Get rid of or simplify executionMode
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: lth, Assigned: shu)
References
Details
Attachments
(1 file)
50.60 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
The Parallel execution mode is already gone, but that removal probably opens up for further simplifications. This is tied into VMFunction also.
Assignee | ||
Comment 1•10 years ago
|
||
I think ExecutionMode is fine as is so long as we try to confine it to jit/.
Comment 2•10 years ago
|
||
(In reply to Shu-yu Guo [:shu] from comment #1)
> I think ExecutionMode is fine as is so long as we try to confine it to jit/.
Yeah, some analyses use IonBuilder and have their own ExecutionModes atm. It seems like we could remove all uses outside the compiler though (and also from codegen and most optimization passes).
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8549295 -
Flags: review?(jdemooij)
Comment 4•10 years ago
|
||
Comment on attachment 8549295 [details] [diff] [review]
Rename ExecutionMode to AnalysisMode.
Review of attachment 8549295 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, thanks.
::: js/src/jsinfer.h
@@ +1573,3 @@
>
> public:
> + static const uint32_t INVALID_SWEEP_INDEX = (1 << 30) - 1;
This should be (1u << 31) - 1 (max value that fits in 31 bits). 1u to avoid sign bit trouble.
@@ +1579,4 @@
> pendingInvalidation_(false), sweepIndex_(INVALID_SWEEP_INDEX)
> {}
>
> + CompilerOutput(JSScript *script)
The constructor should be `explicit` now.
Attachment #8549295 -
Flags: review?(jdemooij) → review+
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → shu
Status: NEW → ASSIGNED
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2367e3a9712a
https://hg.mozilla.org/mozilla-central/rev/5ef9ad357f81
https://hg.mozilla.org/mozilla-central/rev/c9e0d02a1dc6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•