Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index dfee3583c83564b3b4f0ca3302c559ffe712b438..ac0d2e2fe8623d998e0e8fe8624a00692638daaf 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -398,8 +398,7 @@ void CodeGenerator::AssembleDeconstructActivationRecord() { |
CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); |
int stack_slots = frame()->GetSpillSlotCount(); |
if (descriptor->IsJSFunctionCall() || stack_slots > 0) { |
- __ mov(sp, fp); |
- __ Pop(ra, fp); |
+ __ LeaveFrame(StackFrame::MANUAL); |
int pop_count = descriptor->IsJSFunctionCall() |
? static_cast<int>(descriptor->JSParameterCount()) |
: 0; |