Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 3176ae7e343cb87952da91a1033bc52511aadba5..917de2c6008b0381baf064eed4c7d6883783d049 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -1179,19 +1179,18 @@ static void Generate_InterpreterNotifyDeoptimizedHelper( |
// Enter an internal frame. |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ push(kInterpreterAccumulatorRegister); // Save accumulator register. |
// Pass the deoptimization type to the runtime system. |
__ li(a1, Operand(Smi::FromInt(static_cast<int>(type)))); |
__ push(a1); |
__ CallRuntime(Runtime::kNotifyDeoptimized); |
- |
- __ pop(kInterpreterAccumulatorRegister); // Restore accumulator register. |
// Tear down internal frame. |
} |
- // Drop state (we don't use this for interpreter deopts). |
+ // Drop state (we don't use these for interpreter deopts) and and pop the |
+ // accumulator value into the accumulator register. |
__ Drop(1); |
+ __ Pop(kInterpreterAccumulatorRegister); |
// Enter the bytecode dispatch. |
Generate_EnterBytecodeDispatch(masm); |