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