Bug 1301400: Baseline Wasm Compiler: Part 6: Implement PopI64, r=lth
authorh4writer <hv1989@gmail.com>
Thu, 29 Sep 2016 22:33:22 +0200
changeset 315906 a878585ab51022ffd457d5b4e2a7686f0b72c3f7
parent 315905 7d6daefd4e7963157897ebfefc5d16d8304b752c
child 315907 3a11c6866c92cc85911e9baa951f7f7b4c762c23
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 6: Implement PopI64, r=lth
js/src/asmjs/WasmBaselineCompile.cpp
--- a/js/src/asmjs/WasmBaselineCompile.cpp
+++ b/js/src/asmjs/WasmBaselineCompile.cpp
@@ -1399,17 +1399,18 @@ class BaseCompiler
           case Stk::ConstI64:
           case Stk::LocalI64:
             loadI64(r.reg, v);
             break;
           case Stk::MemI64:
 #ifdef JS_PUNBOX64
             masm.Pop(r.reg.reg);
 #else
-            MOZ_CRASH("BaseCompiler platform hook: popI64");
+            masm.Pop(r.reg.low);
+            masm.Pop(r.reg.high);
 #endif
             break;
           case Stk::RegisterI64:
             moveI64(v.i64reg(), r);
             break;
           case Stk::None:
             // See popI32()
             break;