mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1188347 - Part 2: Fix bustage. r=jandem
This commit is contained in:
parent
4491a5d644
commit
0eb112ec10
@ -477,7 +477,7 @@ class JSFunction : public js::NativeObject
|
||||
// Note: createScriptForLazilyInterpretedFunction triggers a barrier on
|
||||
// lazy script before it is overwritten here.
|
||||
MOZ_ASSERT(isInterpretedLazy());
|
||||
if (!lazyScript()->maybeScript())
|
||||
if (lazyScriptOrNull() && !lazyScript()->maybeScript())
|
||||
lazyScript()->initScript(script);
|
||||
flags_ &= ~INTERPRETED_LAZY;
|
||||
flags_ |= INTERPRETED;
|
||||
|
Loading…
Reference in New Issue
Block a user