mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1111253 - Distinguish failures that set a pending exception, from failures that do not, when determining the AbortReason to return from IonCompile. r=jandem
--HG-- extra : rebase_source : cf2b3e3bc32771cd37e41cd38a6ea77c256e3a67
This commit is contained in:
parent
5cf5096c26
commit
c1e10ae4e6
@ -2015,7 +2015,11 @@ IonCompile(JSContext *cx, JSScript *script,
|
||||
|
||||
bool success = codegen->link(cx, builder->constraints());
|
||||
|
||||
return success ? AbortReason_NoAbort : AbortReason_Disable;
|
||||
if (success)
|
||||
return AbortReason_NoAbort;
|
||||
if (cx->isExceptionPending())
|
||||
return AbortReason_Error;
|
||||
return AbortReason_Disable;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Loading…
Reference in New Issue
Block a user