| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index e7bf0692272ed40cf7645cb9d6c403b5d5da1d39..91d31ea3077b3feba48290ea5de6e1b470fff1b7 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -901,7 +901,7 @@ void LoadStubCompiler::NonexistentHandlerFrontend(Handle<HeapType> type,
|
| // check that the global property cell is empty.
|
| if (last_map->IsJSGlobalObjectMap()) {
|
| Handle<JSGlobalObject> global = last.is_null()
|
| - ? Handle<JSGlobalObject>::cast(type->AsConstant())
|
| + ? Handle<JSGlobalObject>::cast(type->AsConstant()->Value())
|
| : Handle<JSGlobalObject>::cast(last);
|
| GenerateCheckPropertyCell(masm(), global, name, scratch2(), &miss);
|
| }
|
|
|