| Index: runtime/vm/verified_memory_test.cc
|
| diff --git a/runtime/vm/verified_memory_test.cc b/runtime/vm/verified_memory_test.cc
|
| index 4ba1bdfb109a191ca5e6457f0a106a1c0cf42238..a78fe5dc193983ed68a0d54fc91b2e0b27b032a7 100644
|
| --- a/runtime/vm/verified_memory_test.cc
|
| +++ b/runtime/vm/verified_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/verified_memory.h"
|
| #include "platform/assert.h"
|
| #include "vm/unit_test.h"
|
| -#include "vm/verified_memory.h"
|
|
|
| namespace dart {
|
|
|
| @@ -14,7 +14,6 @@ void Init() {
|
| #endif
|
| }
|
|
|
| -
|
| void Shutdown() {
|
| #if defined(DEBUG)
|
| // We must reset this to false to avoid checking some assumptions in
|
| @@ -23,7 +22,6 @@ void Shutdown() {
|
| #endif
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VerifiedMemoryReserve) {
|
| Init();
|
| const intptr_t kReservationSize = 64 * KB;
|
| @@ -33,7 +31,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryReserve) {
|
| Shutdown();
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VerifiedMemoryCommit) {
|
| Init();
|
| const intptr_t kReservationSize = 64 * KB;
|
| @@ -44,7 +41,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryCommit) {
|
| Shutdown();
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VerifiedMemoryBasic) {
|
| Init();
|
| const intptr_t kReservationSize = 64 * KB;
|
| @@ -67,7 +63,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryBasic) {
|
| Shutdown();
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VerifiedMemoryAccept) {
|
| Init();
|
| const intptr_t kReservationSize = 64 * KB;
|
| @@ -87,7 +82,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryAccept) {
|
| Shutdown();
|
| }
|
|
|
| -
|
| // Negative tests below.
|
|
|
| VM_UNIT_TEST_CASE(VerifyImplicit_Crash) {
|
| @@ -102,7 +96,6 @@ VM_UNIT_TEST_CASE(VerifyImplicit_Crash) {
|
| Shutdown();
|
| }
|
|
|
| -
|
| VM_UNIT_TEST_CASE(VerifyExplicit_Crash) {
|
| Init();
|
| const intptr_t kReservationSize = 64 * KB;
|
|
|