Index: test/cctest/test-spaces.cc |
diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc |
index cc73cfcb3efddea30d6842f9f41fd22a88ad6b43..f8ab94e9a74f582346fa2dbbcb6e33acb7ec37da 100644 |
--- a/test/cctest/test-spaces.cc |
+++ b/test/cctest/test-spaces.cc |
@@ -170,11 +170,13 @@ static void VerifyMemoryChunk(Isolate* isolate, |
executable, |
NULL); |
size_t alignment = code_range != NULL && code_range->valid() ? |
- MemoryChunk::kAlignment : OS::CommitPageSize(); |
- size_t reserved_size = ((executable == EXECUTABLE)) |
- ? RoundUp(header_size + guard_size + reserve_area_size + guard_size, |
- alignment) |
- : RoundUp(header_size + reserve_area_size, OS::CommitPageSize()); |
+ MemoryChunk::kAlignment : v8::base::OS::CommitPageSize(); |
+ size_t reserved_size = |
+ ((executable == EXECUTABLE)) |
+ ? RoundUp(header_size + guard_size + reserve_area_size + guard_size, |
+ alignment) |
+ : RoundUp(header_size + reserve_area_size, |
+ v8::base::OS::CommitPageSize()); |
CHECK(memory_chunk->size() == reserved_size); |
CHECK(memory_chunk->area_start() < memory_chunk->address() + |
memory_chunk->size()); |