mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1128061 - Check unhandlable OOM when finishing off-thread Ion compiles. (r=terrence)
This commit is contained in:
parent
0664252a1e
commit
4db008aed9
@ -116,7 +116,8 @@ js::StartOffThreadIonCompile(JSContext *cx, jit::IonBuilder *builder)
|
||||
static void
|
||||
FinishOffThreadIonCompile(jit::IonBuilder *builder)
|
||||
{
|
||||
HelperThreadState().ionFinishedList().append(builder);
|
||||
if (!HelperThreadState().ionFinishedList().append(builder))
|
||||
CrashAtUnhandlableOOM("FinishOffThreadIonCompile");
|
||||
}
|
||||
|
||||
static inline bool
|
||||
|
Loading…
Reference in New Issue
Block a user