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 315911 ef4dbc8dc886d39bea1bb5042694501c0f5d2263
parent 315910 07ba0c152db6a8953dee68c8a7b76e2a61f65dba
child 315912 9643bfae6b315489c3fbafc7fac15d5e241ca585
push id30757
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:02:43 +0000
treeherdermozilla-central@5ffed033557e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1301400
milestone52.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 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