diff options
Diffstat (limited to 'deps/v8/src/ic/x64/handler-compiler-x64.cc')
-rw-r--r-- | deps/v8/src/ic/x64/handler-compiler-x64.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/deps/v8/src/ic/x64/handler-compiler-x64.cc b/deps/v8/src/ic/x64/handler-compiler-x64.cc index cd831c8b5f..eeddd55a7b 100644 --- a/deps/v8/src/ic/x64/handler-compiler-x64.cc +++ b/deps/v8/src/ic/x64/handler-compiler-x64.cc @@ -139,10 +139,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()) { @@ -164,8 +162,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( RelocInfo::EXTERNAL_REFERENCE); // 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); } |