Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 324dc10d03c07e1951845d149a6076016f4a1e9b..2cfa49b15b7888f58b8a2b7b8aa11638180bf885 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.cc |
@@ -161,10 +161,8 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
Isolate* isolate = masm->isolate(); |
Handle<CallHandlerInfo> api_call_info = optimization.api_call_info(); |
- bool call_data_undefined = false; |
// Put call data in place. |
if (api_call_info->data()->IsUndefined(isolate)) { |
- call_data_undefined = true; |
__ mov(data, Immediate(isolate->factory()->undefined_value())); |
} else { |
if (optimization.is_constant_call()) { |
@@ -182,8 +180,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
__ mov(api_function_address, Immediate(function_address)); |
// Jump to stub. |
- CallApiCallbackStub stub(isolate, is_store, call_data_undefined, |
- !optimization.is_constant_call()); |
+ CallApiCallbackStub stub(isolate, is_store, !optimization.is_constant_call()); |
__ TailCallStub(&stub); |
} |