Index: test/cctest/heap/test-spaces.cc |
diff --git a/test/cctest/heap/test-spaces.cc b/test/cctest/heap/test-spaces.cc |
index f0cecdcfc8ca9304e765073ba596759bbda15e49..2328518f2a68cd0a9bed0cef3ab8277a8e179892 100644 |
--- a/test/cctest/heap/test-spaces.cc |
+++ b/test/cctest/heap/test-spaces.cc |
@@ -208,7 +208,7 @@ TEST(Regress3540) { |
TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator); |
CodeRange* code_range = new CodeRange(isolate); |
size_t code_range_size = |
- kMinimumCodeRangeSize > 0 ? kMinimumCodeRangeSize : 3 * MB; |
+ kMinimumCodeRangeSize > 0 ? kMinimumCodeRangeSize : 3 * Page::kPageSize; |
if (!code_range->SetUp(code_range_size)) { |
return; |
} |