Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 83436ee4aa14ac81868accab9d78e1175fe79bc8..e604f96bb42a65e884f6b261aa8cd5941d1fb9a8 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5911,6 +5911,19 @@ void MacroAssembler::LeaveFrame(StackFrame::Type type) { |
lw(fp, MemOperand(fp, 0 * kPointerSize)); |
} |
+void MacroAssembler::EnterBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Push(ra, fp); |
+ Move(fp, sp); |
+ Push(context, target, argc); |
+} |
+ |
+void MacroAssembler::LeaveBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Pop(context, target, argc); |
+ Pop(ra, fp); |
+} |
+ |
void MacroAssembler::EnterExitFrame(bool save_doubles, int stack_space, |
StackFrame::Type frame_type) { |
DCHECK(frame_type == StackFrame::EXIT || |