Index: test/cctest/test-profile-generator.cc |
=================================================================== |
--- test/cctest/test-profile-generator.cc (revision 7267) |
+++ 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); |
+ HEAP->CollectAllGarbage(false); |
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))); |