mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 996518 - Add an extra assert in TypePolicy of MTypeBarrier, r=jandem
This commit is contained in:
parent
f6274fcf70
commit
84ffc01d28
@ -295,6 +295,7 @@ TypeBarrierPolicy::adjustInputs(TempAllocator &alloc, MInstruction *def)
|
||||
|
||||
// We can't unbox a value to null/undefined. So keep output also a value.
|
||||
if (IsNullOrUndefined(outputType) || outputType == MIRType_Magic) {
|
||||
JS_ASSERT(ins->defUseCount() == 0);
|
||||
ins->setResultType(MIRType_Value);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user