Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 56da2dc13aa75dd8ca3865d3f60e71d94b9f85ce..b8fa4bea8deae3318d1eee24f692e44e8c49b18e 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -3548,7 +3548,7 @@ static bool ComputeStoredField(Handle<Map> type, |
Handle<String> name, |
LookupResult* lookup) { |
type->LookupInDescriptors(NULL, *name, lookup); |
- if (!lookup->IsPropertyOrTransition()) return false; |
+ if (!lookup->IsFound()) return false; |
if (lookup->type() == FIELD) return true; |
return (lookup->type() == MAP_TRANSITION) && |
(type->unused_property_fields() > 0); |