mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 862184 - Don't check for extra parallel array bailouts if --no-baseline or --baseline-eager are used.
This commit is contained in:
parent
e072b3f322
commit
ca5b7ec1f2
@ -20,6 +20,8 @@
|
||||
#include "jsfuninlines.h"
|
||||
#include "jstypedarrayinlines.h"
|
||||
|
||||
#include "ion/BaselineJIT.h"
|
||||
|
||||
#include "vm/BooleanObject-inl.h"
|
||||
#include "vm/NumberObject-inl.h"
|
||||
#include "vm/RegExpObject-inl.h"
|
||||
@ -416,7 +418,9 @@ intrinsic_ParallelTestsShouldPass(JSContext *cx, unsigned argc, Value *vp)
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
#if defined(JS_THREADSAFE) && defined(JS_ION)
|
||||
args.rval().setBoolean(ion::IsEnabled(cx) &&
|
||||
!ion::js_IonOptions.eagerCompilation);
|
||||
ion::IsBaselineEnabled(cx) &&
|
||||
!ion::js_IonOptions.eagerCompilation &&
|
||||
ion::js_IonOptions.baselineUsesBeforeCompile != 0);
|
||||
#else
|
||||
args.rval().setBoolean(false);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user