Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 8110) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -39,12 +39,16 @@ |
// Platform-specific RuntimeCallHelper functions. |
void StubRuntimeCallHelper::BeforeCall(MacroAssembler* masm) const { |
- masm->EnterInternalFrame(); |
+ masm->EnterFrame(StackFrame::INTERNAL); |
+ ASSERT(!masm->has_frame()); |
+ masm->set_has_frame(true); |
} |
void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const { |
- masm->LeaveInternalFrame(); |
+ masm->LeaveFrame(StackFrame::INTERNAL); |
+ ASSERT(masm->has_frame()); |
+ masm->set_has_frame(false); |
} |