Revision: 23390
Author: [email protected]
Date: Tue Aug 26 09:48:46 2014 UTC
Log: Fix build with ancient NaCl toolchain.
[email protected]
Review URL: https://codereview.chromium.org/504083002
https://code.google.com/p/v8/source/detail?r=23390
Modified:
/branches/bleeding_edge/src/serialize.cc
=======================================
--- /branches/bleeding_edge/src/serialize.cc Tue Aug 26 09:19:24 2014 UTC
+++ /branches/bleeding_edge/src/serialize.cc Tue Aug 26 09:48:46 2014 UTC
@@ -314,7 +314,7 @@
#undef IC_ENTRY
}; // end of ref_table[].
- for (size_t i = 0; i < arraysize(ref_table); ++i) {
+ for (size_t i = 0; i < ARRAYSIZE_UNSAFE(ref_table); ++i) {
AddFromId(ref_table[i].type,
ref_table[i].id,
ref_table[i].name,
@@ -340,7 +340,7 @@
}; // end of stats_ref_table[].
Counters* counters = isolate->counters();
- for (size_t i = 0; i < arraysize(stats_ref_table); ++i) {
+ for (size_t i = 0; i < ARRAYSIZE_UNSAFE(stats_ref_table); ++i) {
Add(reinterpret_cast<Address>(GetInternalPointer(
(counters->*(stats_ref_table[i].counter))())),
STATS_COUNTER,
--
--
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/d/optout.