Closed
Bug 1147414
Opened 11 years ago
Closed 11 years ago
IonMonkey: Accept RecoveredOnBailout assertions in Scalar Replacement escape analysis.
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: nbp, Assigned: nbp)
References
Details
Attachments
(1 file)
|
20.26 KB,
patch
|
h4writer
:
review+
|
Details | Diff | Splinter Review |
We should use assertRecoveredOnBailout assertion in scalar replacement test cases. Otherwise we would have no good way to ensure that the optimization is not going away, as there is no non-escaped object heavy benchmark in our benchmark suite.
| Assignee | ||
Comment 1•11 years ago
|
||
This patch add supports for AssertRecoveredOnBailout MIR instruction in the
IS*Escaped function, and instrument the test cases to make sure that we
don't break this optimization by accident.
Attachment #8587502 -
Flags: review?(hv1989)
Comment 2•11 years ago
|
||
Comment on attachment 8587502 [details] [diff] [review]
Check of that Scalar Replacement is working as expected.
Review of attachment 8587502 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/ScalarReplacement.cpp
@@ +684,5 @@
> // bailing on holes.
> + if (access->toStoreElement()->needsHoleCheck()) {
> + JitSpewDef(JitSpew_Escape, "Array ", ins);
> + JitSpewDef(JitSpew_Escape,
> + " has a store element which needs hole check\n", access);
has a store element with a hole check
Attachment #8587502 -
Flags: review?(hv1989) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Assignee: nobody → nicolas.b.pierron
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•