mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 20:15:58 +00:00
Bug 933317 - Define the SetForkJoinTargetRegion intrinsic also in non-thread-safe builds. r=shu
This commit is contained in:
parent
127438a7eb
commit
8e6011fca4
@ -146,6 +146,21 @@ js::ParallelTestsShouldPass(JSContext *cx)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
js::intrinsic_SetForkJoinTargetRegion(JSContext *cx, unsigned argc, Value *vp)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
intrinsic_SetForkJoinTargetRegionPar(ForkJoinSlice *slice, unsigned argc, Value *vp)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
const JSJitInfo js::intrinsic_SetForkJoinTargetRegionInfo =
|
||||
JS_JITINFO_NATIVE_PARALLEL(intrinsic_SetForkJoinTargetRegionPar);
|
||||
|
||||
#endif // !JS_THREADSAFE || !JS_ION
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user