Index: src/ic/mips64/handler-compiler-mips64.cc |
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc |
index 73e154cd1fb38952d16787a3ebabb1bdd683db42..99638f549363657dac178ee7f96b09acfb7e7b1c 100644 |
--- a/src/ic/mips64/handler-compiler-mips64.cc |
+++ b/src/ic/mips64/handler-compiler-mips64.cc |
@@ -210,10 +210,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()) { |
@@ -237,8 +235,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
__ li(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); |
} |