| Index: src/ia32/macro-assembler-ia32.h | 
| =================================================================== | 
| --- src/ia32/macro-assembler-ia32.h	(revision 3149) | 
| +++ src/ia32/macro-assembler-ia32.h	(working copy) | 
| @@ -77,16 +77,18 @@ | 
| 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 @@ | 
| 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 @@ | 
| 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, | 
|  |