Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index d961620c54a6e702b2a46e042f3090bd34ae9f00..4e2bea2bdae1e0b5be0a80d8c85e43540dc8e5ce 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -397,7 +397,7 @@ void CheckDebuggerUnloaded(bool check_functions) { |
CHECK(!CcTest::i_isolate()->debug()->debug_info_list_); |
// Collect garbage to ensure weak handles are cleared. |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
CcTest::heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
// Iterate the head and check that there are no debugger related objects left. |
@@ -870,7 +870,7 @@ static void DebugEventBreakPointCollectGarbage( |
CcTest::heap()->CollectGarbage(v8::internal::NEW_SPACE); |
} else { |
// Mark sweep compact. |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
} |
} |
} |
@@ -1376,7 +1376,7 @@ static void CallAndGC(v8::Local<v8::Object> recv, |
CHECK_EQ(2 + i * 3, break_point_hit_count); |
// Mark sweep (and perhaps compact) and call function. |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
f->Call(recv, 0, NULL); |
CHECK_EQ(3 + i * 3, break_point_hit_count); |
} |
@@ -2220,7 +2220,7 @@ TEST(ScriptBreakPointLineTopLevel) { |
f = v8::Local<v8::Function>::Cast( |
env->Global()->Get(v8::String::NewFromUtf8(env->GetIsolate(), "f"))); |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(); |
SetScriptBreakPointByNameFromJS(env->GetIsolate(), "test.html", 3, -1); |