Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 63c795708463ecc8ce6a0c58f784d884424dbdd9..6aa735d244f0abe8a42954ab65870fe82db0ea08 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.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; |