Bug 1377007 - Adding a SpiderMonkey compilation flag for BinAST;r=ted
☠☠ backed out by 58fec9a96e26 ☠ ☠
authorDavid Teller <dteller@mozilla.com>
Wed, 18 Oct 2017 10:49:47 +0100
changeset 449105 081a241e25d44a9368cad8d92fe76bb300d9abd7
parent 449104 5bc184f87d59b0f106c28bc1be51b73e3bac5b11
child 449106 893e303e17ecb4d31e62f1ff5de741e94531c6d1
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1377007
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1377007 - Adding a SpiderMonkey compilation flag for BinAST;r=ted MozReview-Commit-ID: qJ6SY8YlQ2
js/moz.configure
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -403,8 +403,22 @@ js_option('--enable-pipeline-operator', 
 
 @depends('--enable-pipeline-operator')
 def enable_pipeline_operator(value):
     if value:
         return True
 
 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)