Index: test/cctest/compiler/test-js-constant-cache.cc |
diff --git a/test/cctest/compiler/test-js-constant-cache.cc b/test/cctest/compiler/test-js-constant-cache.cc |
index 42a606d23c5a2010ae4aeb9a4b8b93d9163c5140..57a15a5291629e1fd87836bbcf265526ab70440d 100644 |
--- a/test/cctest/compiler/test-js-constant-cache.cc |
+++ b/test/cctest/compiler/test-js-constant-cache.cc |
@@ -194,8 +194,8 @@ TEST(NoAliasing) { |
T.OneConstant(), T.NaNConstant(), T.Constant(21), |
T.Constant(22.2)}; |
- for (size_t i = 0; i < ARRAY_SIZE(nodes); i++) { |
- for (size_t j = 0; j < ARRAY_SIZE(nodes); j++) { |
+ for (size_t i = 0; i < arraysize(nodes); i++) { |
+ for (size_t j = 0; j < arraysize(nodes); j++) { |
if (i != j) CHECK_NE(nodes[i], nodes[j]); |
} |
} |