| Index: runtime/vm/virtual_memory_test.cc
|
| diff --git a/runtime/vm/virtual_memory_test.cc b/runtime/vm/virtual_memory_test.cc
|
| index a4c68d2f61a96249db5d7610956ab12f5d93528d..57a06be5341eda19a64b769573577b9c809a495e 100644
|
| --- a/runtime/vm/virtual_memory_test.cc
|
| +++ b/runtime/vm/virtual_memory_test.cc
|
| @@ -2,9 +2,9 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +#include "vm/virtual_memory.h"
|
| #include "platform/assert.h"
|
| #include "vm/unit_test.h"
|
| -#include "vm/virtual_memory.h"
|
|
|
| namespace dart {
|
|
|
| @@ -17,7 +17,6 @@ bool IsZero(char* begin, char* end) {
|
| return true;
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(AllocateVirtualMemory) {
|
| const intptr_t kVirtualMemoryBlockSize = 64 * KB;
|
| VirtualMemory* vm = VirtualMemory::Reserve(kVirtualMemoryBlockSize);
|
| @@ -51,7 +50,6 @@ VM_UNIT_TEST_CASE(AllocateVirtualMemory) {
|
| delete vm;
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(FreeVirtualMemory) {
|
| // Reservations should always be handed back to OS upon destruction.
|
| const intptr_t kVirtualMemoryBlockSize = 10 * MB;
|
| @@ -88,7 +86,6 @@ VM_UNIT_TEST_CASE(FreeVirtualMemory) {
|
| }
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VirtualMemoryCommitPartial) {
|
| const intptr_t kVirtualMemoryBlockSize = 3 * MB;
|
| VirtualMemory* vm = VirtualMemory::Reserve(kVirtualMemoryBlockSize);
|
|
|