| Index: src/x64/codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/codegen-x64.cc (revision 3132)
|
| +++ src/x64/codegen-x64.cc (working copy)
|
| @@ -6784,7 +6784,7 @@
|
| Label* throw_normal_exception,
|
| Label* throw_termination_exception,
|
| Label* throw_out_of_memory_exception,
|
| - ExitFrame::Mode mode,
|
| + StackFrame::Type frame_type,
|
| bool do_gc,
|
| bool always_allocate_scope) {
|
| // rax: result parameter for PerformGC, if any.
|
| @@ -6865,7 +6865,7 @@
|
| __ j(zero, &failure_returned);
|
|
|
| // Exit the JavaScript to C++ exit frame.
|
| - __ LeaveExitFrame(mode, result_size_);
|
| + __ LeaveExitFrame(frame_type, result_size_);
|
| __ ret(0);
|
|
|
| // Handling of failure.
|
| @@ -6995,12 +6995,12 @@
|
| // this by performing a garbage collection and retrying the
|
| // builtin once.
|
|
|
| - ExitFrame::Mode mode = is_debug_break ?
|
| - ExitFrame::MODE_DEBUG :
|
| - ExitFrame::MODE_NORMAL;
|
| + StackFrame::Type frame_type = is_debug_break ?
|
| + StackFrame::EXIT_DEBUG :
|
| + StackFrame::EXIT;
|
|
|
| // Enter the exit frame that transitions from JavaScript to C++.
|
| - __ EnterExitFrame(mode, result_size_);
|
| + __ EnterExitFrame(frame_type, result_size_);
|
|
|
| // rax: Holds the context at this point, but should not be used.
|
| // On entry to code generated by GenerateCore, it must hold
|
| @@ -7023,7 +7023,7 @@
|
| &throw_normal_exception,
|
| &throw_termination_exception,
|
| &throw_out_of_memory_exception,
|
| - mode,
|
| + frame_type,
|
| false,
|
| false);
|
|
|
| @@ -7032,7 +7032,7 @@
|
| &throw_normal_exception,
|
| &throw_termination_exception,
|
| &throw_out_of_memory_exception,
|
| - mode,
|
| + frame_type,
|
| true,
|
| false);
|
|
|
| @@ -7043,7 +7043,7 @@
|
| &throw_normal_exception,
|
| &throw_termination_exception,
|
| &throw_out_of_memory_exception,
|
| - mode,
|
| + frame_type,
|
| true,
|
| true);
|
|
|
| @@ -7058,11 +7058,6 @@
|
| }
|
|
|
|
|
| -void ApiGetterEntryStub::Generate(MacroAssembler* masm) {
|
| - UNREACHABLE();
|
| -}
|
| -
|
| -
|
| void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| Label invoke, exit;
|
| #ifdef ENABLE_LOGGING_AND_PROFILING
|
|
|