Index: test/cctest/heap/test-alloc.cc |
diff --git a/test/cctest/heap/test-alloc.cc b/test/cctest/heap/test-alloc.cc |
index 1b969b21ff840486ea1901b2b03dc6d4aecf4137..eedbd29473ff76404617b6158d24c632447baeea 100644 |
--- a/test/cctest/heap/test-alloc.cc |
+++ b/test/cctest/heap/test-alloc.cc |
@@ -211,8 +211,7 @@ TEST(CodeRange) { |
const size_t code_range_size = 32*MB; |
CcTest::InitializeVM(); |
CodeRange code_range(reinterpret_cast<Isolate*>(CcTest::isolate())); |
- code_range.SetUp(code_range_size + |
- kReservedCodeRangePages * v8::base::OS::CommitPageSize()); |
+ code_range.SetUp(code_range_size); |
size_t current_allocated = 0; |
size_t total_allocated = 0; |
List< ::Block> blocks(1000); |