Bug 933317 - Define the SetForkJoinTargetRegion intrinsic also in non-thread-safe builds. r=shu

This commit is contained in:
Niko Matsakis 2014-01-16 14:52:17 -05:00
parent 127438a7eb
commit 8e6011fca4

View File

@ -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
///////////////////////////////////////////////////////////////////////////