Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 076cb330699b9e35a2318b0da87e8d051c9e4544..7e1f7a1cb6713f50b0aeca369df68b5000f95082 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -1187,19 +1187,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); |