Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index a860435698bc7fe3a6d3003554160d8f41f252a3..0407f01c084e1b742173c7d6d397d1c9d73b4b58 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1798,7 +1798,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; |