Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index eb845347c4b0e76e3ff12ffb9a1d5fe0c20e6cdd..b084109a713aa572bb79acdfb7f1155d8a9ba9f8 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -860,7 +860,7 @@ MaybeObject* LoadIC::Load(State state, |
} |
PropertyAttributes attr; |
- if (lookup.IsProperty() && |
+ if (lookup.IsFound() && |
(lookup.type() == INTERCEPTOR || lookup.type() == HANDLER)) { |
// Get the property. |
Handle<Object> result = |
@@ -1083,7 +1083,7 @@ MaybeObject* KeyedLoadIC::Load(State state, |
} |
PropertyAttributes attr; |
- if (lookup.IsProperty() && lookup.type() == INTERCEPTOR) { |
+ if (lookup.IsFound() && lookup.type() == INTERCEPTOR) { |
// Get the property. |
Handle<Object> result = |
Object::GetProperty(object, object, &lookup, name, &attr); |