Closed
Bug 952942
Opened 11 years ago
Closed 10 years ago
Compile array comprehensions
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
1.75 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
I was just looking at a fuzz bug and noticed we don't Baseline/Ion-compile this expression due to the JSOP_ARRAYPUSH op: print([x for (x in a) if (x < 10)]); This is one of the few remaining ops we don't JIT at all, but it should be pretty easy to slow-path this, at least for Baseline.
Assignee | ||
Comment 1•10 years ago
|
||
Very simple patch to compile JSOP_ARRAYPUSH.
Attachment #8397897 -
Flags: review?(kvijayan)
Updated•10 years ago
|
Attachment #8397897 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e523f572459
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9e523f572459
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•