Bug 1377007 - Adding a SpiderMonkey compilation flag for BinAST;r=ted

MozReview-Commit-ID: qJ6SY8YlQ2

--HG--
extra : rebase_source : 7aedde8309069cdaa2f9626b2c6a118626a3ed1b
This commit is contained in:
David Teller 2017-10-18 10:49:47 +01:00
Родитель 0b2f749b62
Коммит 9e9a48523b
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -408,3 +408,17 @@ def enable_pipeline_operator(value):
set_config('ENABLE_PIPELINE_OPERATOR', enable_pipeline_operator)
set_define('ENABLE_PIPELINE_OPERATOR', enable_pipeline_operator)
# Experimental support for BinAST
# ==============================================================
@depends(target, milestone)
def enable_build_binast(target, milestone):
# For reasons unknown at this time, BinAST causes timeouts on win32.
if milestone.is_nightly and not (target.kernel == 'WINNT' and target.cpu == 'x86'):
return True
set_define('JS_BUILD_BINAST', enable_build_binast)
set_config('JS_BUILD_BINAST', enable_build_binast)