mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Land bug 950452. r=jandem
--HG-- extra : rebase_source : 43f49a241cd6553bd4160df3bc9c316c64fbc746
This commit is contained in:
parent
d8a56de683
commit
f6aef0e482
@ -9265,6 +9265,11 @@ IonBuilder::jsop_setarg(uint32_t arg)
|
||||
JS_ASSERT(op->resultTypeSet() == &argTypes[arg]);
|
||||
if (!argTypes[arg].addType(types::Type::UnknownType(), alloc_->lifoAlloc()))
|
||||
return false;
|
||||
if (val->isMul())
|
||||
val->setResultType(MIRType_Double);
|
||||
else
|
||||
JS_ASSERT(val->type() == MIRType_Int32);
|
||||
val->setResultTypeSet(nullptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user