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)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: nbp, Assigned: nbp)

References

Details

Attachments

(1 file)

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.
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 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: nobody → nicolas.b.pierron
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: