Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index 5fddccec2bc5bf18aeca4316733634beef972f10..e169e288caf7b0d4af05ffc60b3665cc7dd3344d 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -72,8 +72,12 @@ |
ElementsAccessor* accessor = js_object->GetElementsAccessor(); |
FixedArrayBase* backing_store = js_object->elements(); |
- number_ = accessor->GetIndexForKey(js_object, backing_store, index_); |
+ number_ = accessor->GetIndexForKey(backing_store, index_); |
if (number_ == kMaxUInt32) return NOT_FOUND; |
+ if (accessor->GetAttributes(js_object, index_, backing_store) == |
+ ABSENT) { |
+ return NOT_FOUND; |
+ } |
property_details_ = accessor->GetDetails(backing_store, number_); |
} |
} else if (holder->IsGlobalObject()) { |