Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 79a699634ea71259e32c55eb6dd1f0fafb3c3d1a..9f689190b1fb56757a73729a3b94614201cba68d 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -6182,6 +6182,19 @@ void MacroAssembler::LeaveFrame(StackFrame::Type type) { |
ld(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 || |