Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index cde901cad550be96568157e64048b6514457bdc9..121ea8e8fdfe3bfb0d5962aa18651beea372ce1f 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6066,7 +6066,8 @@ bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() { |
bool HOptimizedGraphBuilder::PropertyAccessInfo::IsIntegerIndexedExotic() { |
InstanceType instance_type = map_->instance_type(); |
- return instance_type == JS_TYPED_ARRAY_TYPE && IsNonArrayIndexInteger(*name_); |
+ return instance_type == JS_TYPED_ARRAY_TYPE && |
+ IsSpecialIndex(isolate()->unicode_cache(), *name_); |
} |