Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index fac9f0a1b245827404ba3d67062f89fb0289901a..11b8813063c06bb05c94b39b59c9fc23e28da6de 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -291,8 +291,8 @@ TEST(LocalHandles) { |
TEST(GlobalHandles) { |
- GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
InitializeVM(); |
+ GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
Handle<Object> h1; |
Handle<Object> h2; |
@@ -339,8 +339,8 @@ static void TestWeakGlobalHandleCallback(v8::Persistent<v8::Value> handle, |
TEST(WeakGlobalHandlesScavenge) { |
- GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
InitializeVM(); |
+ GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
WeakPointerCleared = false; |
@@ -377,8 +377,8 @@ TEST(WeakGlobalHandlesScavenge) { |
TEST(WeakGlobalHandlesMark) { |
- GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
InitializeVM(); |
+ GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
WeakPointerCleared = false; |
@@ -416,8 +416,8 @@ TEST(WeakGlobalHandlesMark) { |
} |
TEST(DeleteWeakGlobalHandle) { |
- GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
InitializeVM(); |
+ GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
WeakPointerCleared = false; |