Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 17139c1704b50cc17ca23cc6b9850e168fdea648..88421af6f0a5404aa910e153eb55ec3769d74531 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1786,7 +1786,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
AllocationSiteMode allocation_site_mode = FLAG_track_allocation_sites |
? TRACK_ALLOCATION_SITE : DONT_TRACK_ALLOCATION_SITE; |
- if (has_constant_fast_elements && !FLAG_allocation_site_pretenuring) { |
+ if (has_fast_elements && !FLAG_allocation_site_pretenuring) { |
// If the only customer of allocation sites is transitioning, then |
// we can turn it off if we don't have anywhere else to transition to. |
allocation_site_mode = DONT_TRACK_ALLOCATION_SITE; |