Closed Bug 769518 Opened 8 years ago Closed 7 years ago

IonMonkey: tryHoistBoundsCheck() should handle JSOP_GE, JSOP_GT.

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 766592

People

(Reporter: sstangl, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ion:t])

Attachments

(1 file)

Earley-Boyer's sc_list() cannot hoist a bounds check because the loop is of the form:

> for (var i = a,length-1; i >= 0; i--)

while currently tryHoistBoundsCheck() only handles loops with < or <= as the comparator.
Relevant MIR attached (instruction 40).
This happens since "implement symbolic range analysis"
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 766592
You need to log in before you can comment on or make changes to this bug.