зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1459555 - Part 3: Allow off-main-thread BinAST compilation. (r=arai)
--HG-- extra : rebase_source : a2bd306c4c142432bd64ca4f63f858cdf45d1bbe
This commit is contained in:
Родитель
19b1bcf007
Коммит
92171122b5
|
@ -37,11 +37,6 @@ CanDoOffThread(JSContext* cx, const ReadOnlyCompileOptions& options, size_t leng
|
|||
static const size_t HUGE_BC_LENGTH = 367 * 1000;
|
||||
static const size_t HUGE_BINAST_LENGTH = 70 * 1000;
|
||||
|
||||
// TODO: We can't decode BinAST off main thread until bug 1459555 is fixed.
|
||||
if (what == OffThread::DecodeBinAST) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// These are heuristics which the caller may choose to ignore (e.g., for
|
||||
// testing purposes).
|
||||
if (!options.forceAsync) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче