| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index ca84e747d4800e0d4624e15affd0743b1d4929f9..41f6e3cd00af1d8a98a535f2707ab59d275e0248 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -6055,7 +6055,7 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| closure->literals()->literal(expr->literal_index()), isolate());
|
| Handle<AllocationSite> site;
|
| Handle<JSObject> boilerplate;
|
| - if (!literals_cell->IsUndefined()) {
|
| + if (!literals_cell->IsUndefined(isolate())) {
|
| // Retrieve the boilerplate
|
| site = Handle<AllocationSite>::cast(literals_cell);
|
| boilerplate = Handle<JSObject>(JSObject::cast(site->transition_info()),
|
| @@ -6173,7 +6173,7 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) {
|
| Handle<Object> literals_cell(literals->literal(expr->literal_index()),
|
| isolate());
|
| Handle<JSObject> boilerplate_object;
|
| - if (!literals_cell->IsUndefined()) {
|
| + if (!literals_cell->IsUndefined(isolate())) {
|
| DCHECK(literals_cell->IsAllocationSite());
|
| site = Handle<AllocationSite>::cast(literals_cell);
|
| boilerplate_object = Handle<JSObject>(
|
| @@ -9452,7 +9452,7 @@ bool HOptimizedGraphBuilder::TryInlineApiCall(
|
| }
|
| Handle<CallHandlerInfo> api_call_info = optimization.api_call_info();
|
| Handle<Object> call_data_obj(api_call_info->data(), isolate());
|
| - bool call_data_undefined = call_data_obj->IsUndefined();
|
| + bool call_data_undefined = call_data_obj->IsUndefined(isolate());
|
| HValue* call_data = Add<HConstant>(call_data_obj);
|
| ApiFunction fun(v8::ToCData<Address>(api_call_info->callback()));
|
| ExternalReference ref = ExternalReference(&fun,
|
|
|