Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 433190750461998d204148f95f4092312ae638b1..c98d480a44c489bec5098e9eaefad72396465237 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -4154,7 +4154,7 @@ TEST(DebugBreak) { |
// Call all functions with different argument count. |
break_point_hit_count = 0; |
- for (unsigned int i = 0; i < ARRAY_SIZE(argv); i++) { |
+ for (unsigned int i = 0; i < arraysize(argv); i++) { |
f0->Call(env->Global(), i, argv); |
f1->Call(env->Global(), i, argv); |
f2->Call(env->Global(), i, argv); |
@@ -4162,7 +4162,7 @@ TEST(DebugBreak) { |
} |
// One break for each function called. |
- CHECK_EQ(4 * ARRAY_SIZE(argv), break_point_hit_count); |
+ CHECK_EQ(4 * arraysize(argv), break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |