| Index: src/macro-assembler-ia32.h
|
| ===================================================================
|
| --- src/macro-assembler-ia32.h (revision 483)
|
| +++ src/macro-assembler-ia32.h (working copy)
|
| @@ -86,9 +86,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 eax and
|
| // sets up the number of arguments in register edi and the pointer
|
| @@ -274,6 +277,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);
|
| };
|
|
|
|
|
|
|