Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index ea74022771e38b7132b04dbe729ef656874556df..2fbd1cf1f8afd7e96221a6bbe20e82dac39b578e 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1284,6 +1284,19 @@ int MacroAssembler::LeaveFrame(StackFrame::Type type) { |
return frame_ends; |
} |
+void MacroAssembler::EnterBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Push(lr, fp, context, target); |
+ add(fp, sp, Operand(2 * kPointerSize)); |
+ Push(argc); |
+} |
+ |
+void MacroAssembler::LeaveBuiltinFrame(Register context, Register target, |
+ Register argc) { |
+ Pop(argc); |
+ Pop(lr, fp, context, target); |
+} |
+ |
void MacroAssembler::EnterExitFrame(bool save_doubles, int stack_space, |
StackFrame::Type frame_type) { |
DCHECK(frame_type == StackFrame::EXIT || |