| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index a0a242806b2ac449940dd8f22045e69c4d7b65e1..18d221c4073c2049138324b8f228c635357de59b 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -77,16 +77,18 @@ class MacroAssembler: public Assembler {
|
| 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
|
| + // Enter specific kind of exit frame; either in normal or debug mode.
|
| + // Expects the number of arguments in register eax and
|
| // sets up the number of arguments in register edi and the pointer
|
| // to the first argument in register esi.
|
| - void EnterExitFrame(StackFrame::Type type);
|
| + void EnterExitFrame(ExitFrame::Mode mode);
|
| +
|
| + void EnterApiExitFrame(ExitFrame::Mode mode, int stack_space, int argc);
|
|
|
| // Leave the current exit frame. Expects the return value in
|
| // register eax:edx (untouched) and the pointer to the first
|
| // argument in register esi.
|
| - void LeaveExitFrame(StackFrame::Type type);
|
| + void LeaveExitFrame(ExitFrame::Mode mode);
|
|
|
|
|
| // ---------------------------------------------------------------------------
|
| @@ -269,6 +271,9 @@ class MacroAssembler: public Assembler {
|
| int num_arguments,
|
| int result_size);
|
|
|
| + void PushHandleScope(Register scratch);
|
| + void PopHandleScope(Register scratch);
|
| +
|
| // Jump to a runtime routine.
|
| void JumpToRuntime(const ExternalReference& ext);
|
|
|
| @@ -346,6 +351,9 @@ class MacroAssembler: public Assembler {
|
| void EnterFrame(StackFrame::Type type);
|
| void LeaveFrame(StackFrame::Type type);
|
|
|
| + void EnterExitFramePrologue(ExitFrame::Mode mode);
|
| + void EnterExitFrameEpilogue(ExitFrame::Mode mode, int argc);
|
| +
|
| // Allocation support helpers.
|
| void LoadAllocationTopHelper(Register result,
|
| Register result_end,
|
|
|