Index: src/ic/arm/handler-compiler-arm.cc |
diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc |
index dd99a212194feb9e23725e38f0ce6aff74e1e25a..317a95146fa3448b91bf7d5b8794999d4b798abc 100644 |
--- a/src/ic/arm/handler-compiler-arm.cc |
+++ b/src/ic/arm/handler-compiler-arm.cc |
@@ -221,10 +221,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; |
__ LoadRoot(data, Heap::kUndefinedValueRootIndex); |
} else { |
if (optimization.is_constant_call()) { |
@@ -249,8 +247,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
__ mov(api_function_address, Operand(ref)); |
// 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); |
} |