| Index: src/macro-assembler-arm.h
|
| ===================================================================
|
| --- src/macro-assembler-arm.h (revision 483)
|
| +++ src/macro-assembler-arm.h (working copy)
|
| @@ -99,9 +99,12 @@
|
| // ---------------------------------------------------------------------------
|
| // Activation frames
|
|
|
| - void EnterInternalFrame();
|
| - void LeaveInternalFrame();
|
| + void EnterInternalFrame() { EnterFrame(StackFrame::INTERNAL); }
|
| + void LeaveInternalFrame() { LeaveFrame(StackFrame::INTERNAL); }
|
|
|
| + void EnterConstructFrame() { EnterFrame(StackFrame::CONSTRUCT); }
|
| + void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); }
|
| +
|
| // Enter specific kind of exit frame; either EXIT or
|
| // EXIT_DEBUG. Expects the number of arguments in register r0 and
|
| // the builtin function to call in register r1. Exits with argc in
|
| @@ -260,6 +263,10 @@
|
| // Get the code for the given builtin. Returns if able to resolve
|
| // the function in the 'resolved' flag.
|
| Handle<Code> ResolveBuiltin(Builtins::JavaScript id, bool* resolved);
|
| +
|
| + // Activation support.
|
| + void EnterFrame(StackFrame::Type type);
|
| + void LeaveFrame(StackFrame::Type type);
|
| };
|
|
|
|
|
|
|