Reviewers: Yang,

Message:
Committed patchset #1 manually as r18106.

Description:
ARM/MIPS compilation error.

Due to an error during platform porting.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=18106

Please review this at https://codereview.chromium.org/91583002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M src/arm/full-codegen-arm.cc
  M src/mips/full-codegen-mips.cc


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;
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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to