Bug 1151382 - Fix Alignment mismatch for none jit. r=luke
authorSteve Singer <steve@ssinger.info>
Sun, 05 Apr 2015 20:45:00 +0200
changeset 267769 0c771aa45448454de73152774798cf9bad406f27
parent 267768 d5efa282fa7f38c9ac741819315d7f049e9cb8f9
child 267770 a6460ccdc53243c0d710e468b3c9b80497de4701
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1151382
milestone40.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 1151382 - Fix Alignment mismatch for none jit. r=luke
js/src/jit/none/Architecture-none.h
--- a/js/src/jit/none/Architecture-none.h
+++ b/js/src/jit/none/Architecture-none.h
@@ -11,17 +11,17 @@
 // platforms, so include it here to avoid inadvertent build bustage.
 #include "jit/JitSpewer.h"
 
 namespace js {
 namespace jit {
 
 static const bool SupportsSimd = false;
 static const uint32_t SimdMemoryAlignment = 4; // Make it 4 to avoid a bunch of div-by-zero warnings
-static const uint32_t AsmJSStackAlignment = 4;
+static const uint32_t AsmJSStackAlignment = 8;
 
 class Registers
 {
   public:
     enum RegisterID {
         r0 = 0,
         invalid_reg
     };