Index: src/ia32/debug-ia32.cc |
=================================================================== |
--- src/ia32/debug-ia32.cc (revision 8110) |
+++ src/ia32/debug-ia32.cc (working copy) |
@@ -100,7 +100,8 @@ |
RegList non_object_regs, |
bool convert_call_to_jmp) { |
// Enter an internal frame. |
- __ EnterInternalFrame(); |
+{ |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
// Store the registers containing live values on the expression stack to |
// make sure that these are correctly updated during GC. Non object values |
@@ -133,8 +134,8 @@ |
CEntryStub ceb(1); |
__ CallStub(&ceb); |
- // Restore the register values containing object pointers from the expression |
- // stack. |
+ // Restore the register values containing object pointers from the |
+ // expression stack. |
for (int i = kNumJSCallerSaved; --i >= 0;) { |
int r = JSCallerSavedCode(i); |
Register reg = { r }; |
@@ -151,7 +152,7 @@ |
} |
// Get rid of the internal frame. |
- __ LeaveInternalFrame(); |
+} |
// If this call did not replace a call but patched other code then there will |
// be an unwanted return address left on the stack. Here we get rid of that. |