Index: test/cctest/test-profile-generator.cc |
=================================================================== |
--- test/cctest/test-profile-generator.cc (revision 7100) |
+++ test/cctest/test-profile-generator.cc (working copy) |
@@ -56,7 +56,7 @@ |
CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); |
} |
CHECK(!i::TokenEnumeratorTester::token_removed(&te)->at(2)); |
- i::Heap::CollectAllGarbage(false); |
+ i::Heap::CollectAllGarbage(i::Heap::kNoGCFlags); |
CHECK(i::TokenEnumeratorTester::token_removed(&te)->at(2)); |
CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); |
CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1))); |