Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index 50f4b0fcc9ddad89849b64fa71183077f8f97480..64927ca83724263ed99c30fe3078c69f98b8bceb 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -44,6 +44,11 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map, |
} |
// Fall through. |
case ACCESS_CHECK: |
+ if (exotic_index_state_ != ExoticIndexState::kNoIndex && |
+ IsIntegerIndexedExotic(holder)) { |
+ has_property_ = true; |
+ return INTEGER_INDEXED_EXOTIC; |
+ } |
if (check_interceptor() && map->has_named_interceptor()) { |
return INTERCEPTOR; |
} |
@@ -75,6 +80,7 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map, |
case ACCESSOR: |
case DATA: |
return NOT_FOUND; |
+ case INTEGER_INDEXED_EXOTIC: |
case JSPROXY: |
case TRANSITION: |
UNREACHABLE(); |