Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index e2fbfb59c4b6fbf3462ba1343b7e8fcb1354997e..005cbe019e4adf15e1cd3de5b3a5d844e238b46b 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5563,7 +5563,7 @@ HValue* HGraphBuilder::HandlePolymorphicElementAccess(HValue* object, |
AddInstruction(transition); |
} else { |
type_todo[map->elements_kind()] = true; |
- if (map->elements_kind() >= FIRST_EXTERNAL_ARRAY_ELEMENTS_KIND) { |
+ if (IsExternalArrayElementsKind(map->elements_kind())) { |
todo_external_array = true; |
} |
num_untransitionable_maps++; |