Bug 1301400: Baseline Wasm Compiler: Part 19: Enable the wasm compiler for x86 again, r=lth
authorHannes Verschore <hv1989@gmail.com>
Thu, 29 Sep 2016 22:33:23 +0200
changeset 315919 ef4dbc8dc886d39bea1bb5042694501c0f5d2263
parent 315918 07ba0c152db6a8953dee68c8a7b76e2a61f65dba
child 315920 9643bfae6b315489c3fbafc7fac15d5e241ca585
push id20634
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:10:13 +0000
treeherderfx-team@afe79b010d13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1301400
milestone52.0a1
Bug 1301400: Baseline Wasm Compiler: Part 19: Enable the wasm compiler for x86 again, r=lth
js/src/asmjs/WasmBaselineCompile.cpp
--- a/js/src/asmjs/WasmBaselineCompile.cpp
+++ b/js/src/asmjs/WasmBaselineCompile.cpp
@@ -7087,17 +7087,17 @@ LiveRegisterSet BaseCompiler::VolatileRe
 
 bool
 js::wasm::BaselineCanCompile(const FunctionGenerator* fg)
 {
     // On all platforms we require signals for AsmJS/Wasm.
     // If we made it this far we must have signals.
     MOZ_RELEASE_ASSERT(wasm::HaveSignalHandlers());
 
-#if defined(JS_CODEGEN_X64)
+#if defined(JS_CODEGEN_X64) || defined(JS_CODEGEN_X86)
     if (fg->usesAtomics())
         return false;
 
     if (fg->usesSimd())
         return false;
 
     return true;
 #else