mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
Bug 714050 - Make JS source compression thread optional (r=luke)
This commit is contained in:
parent
2d2d33f92b
commit
d3f82bacd5
@ -1152,7 +1152,7 @@ ScriptSource::setSourceCopy(JSContext *cx, StableCharPtr src, uint32_t length,
|
||||
argumentsNotIncluded_ = argumentsNotIncluded;
|
||||
|
||||
#ifdef JS_THREADSAFE
|
||||
if (tok) {
|
||||
if (tok && cx->runtime->useHelperThreads()) {
|
||||
#ifdef DEBUG
|
||||
ready_ = false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user