Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 009547c79fc401b94d6fbd8aa627067b6c04d827..2ba79b9bf5142e270acb0470ee5ea9b7f6d355fe 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5637,6 +5637,7 @@ static void LookupInPrototypes(Handle<Map> map, |
LookupResult* lookup) { |
while (map->prototype()->IsJSObject()) { |
Handle<JSObject> holder(JSObject::cast(map->prototype())); |
+ if (!holder->HasFastProperties()) break; |
map = Handle<Map>(holder->map()); |
map->LookupDescriptor(*holder, *name, lookup); |
if (lookup->IsFound()) return; |