Closed Bug 1008111 Opened 10 years ago Closed 9 years ago

IonMonkey: Add debug checks for MFilterTypeSet

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1139152

People

(Reporter: h4writer, Unassigned)

References

Details

MFilterTypeSet is used to define a new typeset to an object. E.g. when we know more information than TI is providing us. Currently this is used at branches, where IonBuilder can reason about the test and remove some of the types in a typeset because of this. During lowering this is a NOP, since the type information is only needed in the higher passes.

Now we might want to add debug checks that test the input is indeed only these types. To make sure we don't make a mistake. Note: we should do this so, that MFilterTypeSet doesn't adjust register allocator! To make sure tests found in debug/non-debug builds still work in the other.
Blocks: 1008138
Checking typeset of MIR's that use redefine has been added in bug 1139152.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.