| Index: src/ic/x64/handler-compiler-x64.cc
|
| diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc
|
| index 348f79cb21df0b22cd80e3d41c39da6fe8b4df85..adba582ae936c27e24ad44aeb4c829376233d683 100644
|
| --- a/src/ic/x64/handler-compiler-x64.cc
|
| +++ b/src/ic/x64/handler-compiler-x64.cc
|
| @@ -180,7 +180,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall(
|
| 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()) {
|
| + if (api_call_info->data()->IsUndefined(isolate)) {
|
| call_data_undefined = true;
|
| __ LoadRoot(data, Heap::kUndefinedValueRootIndex);
|
| } else {
|
| @@ -657,7 +657,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreCallback(
|
| __ Push(holder_reg);
|
| // If the callback cannot leak, then push the callback directly,
|
| // otherwise wrap it in a weak cell.
|
| - if (callback->data()->IsUndefined() || callback->data()->IsSmi()) {
|
| + if (callback->data()->IsUndefined(isolate()) || callback->data()->IsSmi()) {
|
| __ Push(callback);
|
| } else {
|
| Handle<WeakCell> cell = isolate()->factory()->NewWeakCell(callback);
|
|
|