| Index: src/hydrogen-instructions.cc
|
| ===================================================================
|
| --- src/hydrogen-instructions.cc (revision 12254)
|
| +++ src/hydrogen-instructions.cc (working copy)
|
| @@ -1743,6 +1743,10 @@
|
| break;
|
| }
|
| } else if (lookup.IsCacheable() &&
|
| + // For dicts the lookup on the map will fail, but the object may
|
| + // contain the property so we cannot generate a negative lookup
|
| + // (which would just be a map check and return undefined).
|
| + !map->is_dictionary_map() &&
|
| PrototypeChainCanNeverResolve(map, name)) {
|
| negative_lookups.Add(types->at(i), zone);
|
| }
|
|
|