| Index: src/ic/x87/handler-compiler-x87.cc
|
| diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc
|
| index 435033dd0728fbad48a706d9335fa51cae441bea..15adf6a393ef94631e62a39d9c594ef6d2eb54d0 100644
|
| --- a/src/ic/x87/handler-compiler-x87.cc
|
| +++ b/src/ic/x87/handler-compiler-x87.cc
|
| @@ -199,7 +199,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;
|
| __ mov(data, Immediate(isolate->factory()->undefined_value()));
|
| } else {
|
| @@ -660,7 +660,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);
|
|
|