| Index: src/x64/stub-cache-x64.cc
|
| ===================================================================
|
| --- src/x64/stub-cache-x64.cc (revision 5685)
|
| +++ src/x64/stub-cache-x64.cc (working copy)
|
| @@ -2543,7 +2543,6 @@
|
| Handle<AccessorInfo> callback_handle(callback);
|
|
|
| __ EnterInternalFrame();
|
| - __ PushHandleScope(scratch2);
|
| // Push the stack address where the list of arguments ends.
|
| __ movq(scratch2, rsp);
|
| __ subq(scratch2, Immediate(2 * kPointerSize));
|
| @@ -2597,17 +2596,6 @@
|
| // Discard allocated slot.
|
| __ addq(rsp, Immediate(kPointerSize));
|
| #endif
|
| -
|
| - // We need to avoid using rax since that now holds the result.
|
| - Register tmp = scratch2.is(rax) ? reg : scratch2;
|
| - // Emitting PopHandleScope may try to allocate. Do not allow the
|
| - // assembler to perform a garbage collection but instead return a
|
| - // failure object.
|
| - result = masm()->TryPopHandleScope(rax, tmp);
|
| - if (result->IsFailure()) {
|
| - *failure = Failure::cast(result);
|
| - return false;
|
| - }
|
| __ LeaveInternalFrame();
|
|
|
| __ ret(0);
|
|
|