Open Bug 857360 Opened 11 years ago Updated 2 years ago

IonMonkey: LICM shouldn't hoist above instructions that restrict values

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: h4writer, Unassigned)

References

Details

I've seen this before with shape guards being hoisted and suddenly always hitting, because they are hoisted out of an "if" that made sure only that type occured in that statement.

Now I'm hitting this when enabling inlining of loops. There is an TypeBarrier that gets hoisted and starting to always hit. That decreases our score on e-b 5x :(, because we are bailing on every loop.
Blocks: 768288
Hmm.  So there are some things (e.g. [Constant] DOM getters) that we _do_ in fact want to hoist as much as we can, as long as we can hoist their prereqs...  I guess doing _that_ past conditionals might be hard.  :(
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.