Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 17da0d25dff64882da3cfee016839a6ace1bfeb3..ef8466d65e4fa57b71af0d7351c9119909c1ba96 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -6578,7 +6578,7 @@ TEST(ScriptCollectedEvent) { |
// Do garbage collection to ensure that only the script in this test will be |
// collected afterwards. |
- HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
script_collected_count = 0; |
v8::Debug::SetDebugEventListener(DebugEventScriptCollectedEvent, |
@@ -6590,7 +6590,7 @@ TEST(ScriptCollectedEvent) { |
// Do garbage collection to collect the script above which is no longer |
// referenced. |
- HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
CHECK_EQ(2, script_collected_count); |
@@ -6640,7 +6640,7 @@ TEST(ScriptCollectedEventContext) { |
// Do garbage collection to ensure that only the script in this test will be |
// collected afterwards. |
- HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
v8::Debug::SetMessageHandler2(ScriptCollectedMessageHandler); |
v8::Script::Compile(v8::String::New("eval('a=1')"))->Run(); |
@@ -6657,7 +6657,7 @@ TEST(ScriptCollectedEventContext) { |
// Do garbage collection to collect the script above which is no longer |
// referenced. |
- HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
CHECK_EQ(2, script_collected_message_count); |