Bug 1393723 - Fix wasm prologue offsets for mips. r=lth
authorDragan Mladjenovic <dragan.mladjenovic@rt-rk.com>
Fri, 25 Aug 2017 02:47:00 -0400
changeset 377601 6079341dccb2
parent 377600 fdb95175a737
child 377602 27ce9e7b7648
push id32411
push userkwierso@gmail.com
push dateTue, 29 Aug 2017 23:14:35 +0000
treeherdermozilla-central@db7f19e26e57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1393723
milestone57.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 1393723 - Fix wasm prologue offsets for mips. r=lth
js/src/wasm/WasmFrameIter.cpp
--- a/js/src/wasm/WasmFrameIter.cpp
+++ b/js/src/wasm/WasmFrameIter.cpp
@@ -266,23 +266,23 @@ static const unsigned PushedRetAddr = 0;
 static const unsigned PushedTLS = 1;
 static const unsigned PushedExitReason = 2;
 static const unsigned PushedFP = 0;
 static const unsigned SetFP = 0;
 static const unsigned PoppedFP = 0;
 static const unsigned PoppedExitReason = 0;
 #elif defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_MIPS64)
 static const unsigned BeforePushRetAddr = 0;
-static const unsigned PushedRetAddr = 4;
-static const unsigned PushedTLS = 8;
-static const unsigned PushedExitReason = 12;
-static const unsigned PushedFP = 16;
-static const unsigned SetFP = 20;
-static const unsigned PoppedFP = 8;
-static const unsigned PoppedExitReason = 4;
+static const unsigned PushedRetAddr = 8;
+static const unsigned PushedTLS = 16;
+static const unsigned PushedExitReason = 28;
+static const unsigned PushedFP = 36;
+static const unsigned SetFP = 40;
+static const unsigned PoppedFP = 16;
+static const unsigned PoppedExitReason = 8;
 #elif defined(JS_CODEGEN_NONE)
 static const unsigned PushedRetAddr = 0;
 static const unsigned PushedTLS = 1;
 static const unsigned PushedExitReason = 2;
 static const unsigned PushedFP = 0;
 static const unsigned SetFP = 0;
 static const unsigned PoppedFP = 0;
 static const unsigned PoppedExitReason = 0;