Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index ee45ae5105a8bb5185ca1d765d13ab595a64b81e..2d32ad1fed8a67e6e3a2b6821eff8293cb6b4aa5 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1415,7 +1415,7 @@ HLoadNamedFieldPolymorphic::HLoadNamedFieldPolymorphic(HValue* context, |
Handle<Map> map = types->at(i); |
LookupResult lookup(map->GetIsolate()); |
map->LookupInDescriptors(NULL, *name, &lookup); |
- if (lookup.IsProperty()) { |
+ if (lookup.IsFound()) { |
switch (lookup.type()) { |
case FIELD: { |
int index = lookup.GetLocalFieldIndexFromMap(*map); |