Reviewers: yanggou_chromium.org,
Message:
Committed patchset #1 manually as 23390 (tree was closed).
Description:
Fix build with ancient NaCl toolchain.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=23390
Please review this at https://codereview.chromium.org/504083002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M src/serialize.cc
Index: src/serialize.cc
diff --git a/src/serialize.cc b/src/serialize.cc
index
d13b00cfccab95f4fc7cae16ca0676720ddd8bb8..0e5ab064bcfe5df33d3029dc9526c58c3604b37f
100644
--- a/src/serialize.cc
+++ b/src/serialize.cc
@@ -314,7 +314,7 @@ void ExternalReferenceTable::PopulateTable(Isolate*
isolate) {
#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 @@ void ExternalReferenceTable::PopulateTable(Isolate*
isolate) {
}; // 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.