Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 1d4b0d8e7d7a9188d47bf4feb250a41ae11a0d55..6047823a729f60dba46c1414e601a65c434e9bd5 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -139,13 +139,13 @@ TEST(MarkCompactCollector) { |
heap->CollectGarbage(OLD_POINTER_SPACE, "trigger 1"); |
// keep allocating garbage in new space until it fails |
- const int ARRAY_SIZE = 100; |
+ const int arraysize = 100; |
AllocationResult allocation; |
do { |
- allocation = heap->AllocateFixedArray(ARRAY_SIZE); |
+ allocation = heap->AllocateFixedArray(arraysize); |
} while (!allocation.IsRetry()); |
heap->CollectGarbage(NEW_SPACE, "trigger 2"); |
- heap->AllocateFixedArray(ARRAY_SIZE).ToObjectChecked(); |
+ heap->AllocateFixedArray(arraysize).ToObjectChecked(); |
// keep allocating maps until it fails |
do { |