mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis)
This commit is contained in:
parent
16c9313251
commit
2df1fc9404
@ -1172,7 +1172,7 @@ IonBuilder::inlineParallelArrayTail(CallInfo &callInfo,
|
||||
if (returnTypes->unknownObject() || returnTypes->getObjectCount() != 1)
|
||||
return InliningStatus_NotInlined;
|
||||
types::TypeObject *typeObject = returnTypes->getTypeObject(0);
|
||||
if (typeObject->clasp != &ParallelArrayObject::class_)
|
||||
if (!typeObject || typeObject->clasp != &ParallelArrayObject::class_)
|
||||
return InliningStatus_NotInlined;
|
||||
|
||||
// Create the call and add in the non-this arguments.
|
||||
|
Loading…
Reference in New Issue
Block a user