mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917996 - OOM follow-up fix for assertion. r=nbp
--HG-- extra : rebase_source : a1e739e5ad53002f0dc44f2ce2b02ff8c05168a5
This commit is contained in:
parent
632820cb94
commit
762168bf0f
@ -3619,7 +3619,7 @@ LazyScript::CreateRaw(ExclusiveContext *cx, HandleFunction fun,
|
||||
p.usesArgumentsAndApply = false;
|
||||
|
||||
LazyScript *res = LazyScript::CreateRaw(cx, fun, packedFields, begin, end, lineno, column);
|
||||
JS_ASSERT(res->version() == version);
|
||||
JS_ASSERT_IF(res, res->version() == version);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user