mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 894852 - Fix LSetPropertyPolymorphicT and LGetPropertyPolymorphicV bailout kind. r=bhackett
This commit is contained in:
parent
cd579ddee4
commit
9971016052
@ -2299,7 +2299,7 @@ LIRGenerator::visitGetPropertyPolymorphic(MGetPropertyPolymorphic *ins)
|
||||
|
||||
if (ins->type() == MIRType_Value) {
|
||||
LGetPropertyPolymorphicV *lir = new LGetPropertyPolymorphicV(useRegister(ins->obj()));
|
||||
return assignSnapshot(lir) && defineBox(lir, ins);
|
||||
return assignSnapshot(lir, Bailout_CachedShapeGuard) && defineBox(lir, ins);
|
||||
}
|
||||
|
||||
LDefinition maybeTemp = (ins->type() == MIRType_Double) ? temp() : LDefinition::BogusTemp();
|
||||
@ -2322,7 +2322,7 @@ LIRGenerator::visitSetPropertyPolymorphic(MSetPropertyPolymorphic *ins)
|
||||
LAllocation value = useRegisterOrConstant(ins->value());
|
||||
LSetPropertyPolymorphicT *lir =
|
||||
new LSetPropertyPolymorphicT(useRegister(ins->obj()), value, ins->value()->type(), temp());
|
||||
return assignSnapshot(lir) && add(lir, ins);
|
||||
return assignSnapshot(lir, Bailout_CachedShapeGuard) && add(lir, ins);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user