| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 3b232e6e93ee2d307e5ea9504266825fb9f11b36..2b66903307738ad80ff1a0d50021010b2ceea0d0 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -4765,13 +4765,11 @@ bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() {
|
| while (map->prototype()->IsJSObject()) {
|
| holder_ = handle(JSObject::cast(map->prototype()));
|
| if (holder_->map()->is_deprecated()) {
|
| - JSObject::TryMigrateInstance(holder_);
|
| + Handle<Object> result = JSObject::TryMigrateInstance(holder_);
|
| + if (result.is_null()) return false;
|
| }
|
| map = Handle<Map>(holder_->map());
|
| - if (!CanInlinePropertyAccess(*map)) {
|
| - lookup_.NotFound();
|
| - return false;
|
| - }
|
| + if (!CanInlinePropertyAccess(*map)) return false;
|
| map->LookupDescriptor(*holder_, *name_, &lookup_);
|
| if (lookup_.IsFound()) return LoadResult(map);
|
| }
|
|
|