Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 9277) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -38,12 +38,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); |
} |