Index: src/ia32/stub-cache-ia32.cc |
=================================================================== |
--- src/ia32/stub-cache-ia32.cc (revision 5685) |
+++ src/ia32/stub-cache-ia32.cc (working copy) |
@@ -1035,7 +1035,6 @@ |
Handle<AccessorInfo> callback_handle(callback); |
__ EnterInternalFrame(); |
- __ PushHandleScope(scratch2); |
// Push the stack address where the list of arguments ends. |
__ mov(scratch2, esp); |
__ sub(Operand(scratch2), Immediate(2 * kPointerSize)); |
@@ -1070,17 +1069,6 @@ |
*failure = Failure::cast(result); |
return false; |
} |
- |
- // We need to avoid using eax since that now holds the result. |
- Register tmp = scratch2.is(eax) ? 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(eax, tmp); |
- if (result->IsFailure()) { |
- *failure = Failure::cast(result); |
- return false; |
- } |
__ LeaveInternalFrame(); |
__ ret(0); |