mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 932530 - Handle getType failure in DenseAdd IC; r=djvj
--HG-- extra : rebase_source : 3629f728c46c2674c3c51ca90f9e328d1b837499
This commit is contained in:
parent
9a0310c37c
commit
992e9b35b6
@ -9236,6 +9236,8 @@ ICUpdatedStub *
|
|||||||
ICSetElemDenseAddCompiler::getStubSpecific(ICStubSpace *space, const AutoShapeVector *shapes)
|
ICSetElemDenseAddCompiler::getStubSpecific(ICStubSpace *space, const AutoShapeVector *shapes)
|
||||||
{
|
{
|
||||||
RootedTypeObject objType(cx, obj_->getType(cx));
|
RootedTypeObject objType(cx, obj_->getType(cx));
|
||||||
|
if (!objType)
|
||||||
|
return nullptr;
|
||||||
Rooted<IonCode *> stubCode(cx, getStubCode());
|
Rooted<IonCode *> stubCode(cx, getStubCode());
|
||||||
return ICSetElem_DenseAddImpl<ProtoChainDepth>::New(space, stubCode, objType, shapes);
|
return ICSetElem_DenseAddImpl<ProtoChainDepth>::New(space, stubCode, objType, shapes);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user