Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index ac7d799fddf6f118100dc703703b8485404a7c0a..e54521e1a1f0b721519d13d979ebb93bacb4bb71 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -2823,6 +2823,19 @@ void MacroAssembler::ExitFrameRestoreFPRegs() { |
} |
} |
+void MacroAssembler::EnterBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Push(lr, fp, context, target); |
+ add(fp, jssp, Operand(2 * kPointerSize)); |
+ Push(argc); |
+} |
+ |
+void MacroAssembler::LeaveBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Pop(argc); |
+ Pop(target, context, fp, lr); |
+} |
+ |
void MacroAssembler::EnterExitFrame(bool save_doubles, const Register& scratch, |
int extra_space, |
StackFrame::Type frame_type) { |