Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index 5fba6f53e90f8b96ffbcb809af87dd5ca2c452db..34e102a3eeb50e5085535e629322b200c135dc69 100644 |
--- a/src/compiler/access-info.cc |
+++ b/src/compiler/access-info.cc |
@@ -25,6 +25,8 @@ bool CanInlineElementAccess(Handle<Map> map) { |
ElementsKind const elements_kind = map->elements_kind(); |
if (IsFastElementsKind(elements_kind)) return true; |
// TODO(bmeurer): Add support for other elements kind. |
+ if (elements_kind == UINT8_CLAMPED_ELEMENTS) return false; |
+ if (IsFixedTypedArrayElementsKind(elements_kind)) return true; |
return false; |
} |