summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-symbols.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/test-symbols.cc')
-rw-r--r--deps/v8/test/cctest/test-symbols.cc16
1 files changed, 12 insertions, 4 deletions
diff --git a/deps/v8/test/cctest/test-symbols.cc b/deps/v8/test/cctest/test-symbols.cc
index 1024a27edf..220c52bd65 100644
--- a/deps/v8/test/cctest/test-symbols.cc
+++ b/deps/v8/test/cctest/test-symbols.cc
@@ -30,10 +30,18 @@
// of ConsStrings. These operations may not be very fast, but they
// should be possible without getting errors due to too deep recursion.
-#include "src/v8.h"
-
+#include "src/factory.h"
+#include "src/isolate.h"
#include "src/objects.h"
#include "src/ostreams.h"
+// FIXME(mstarzinger, marja): This is weird, but required because of the missing
+// (disallowed) include: src/factory.h -> src/objects-inl.h
+#include "src/objects-inl.h"
+// FIXME(mstarzinger, marja): This is weird, but required because of the missing
+// (disallowed) include: src/type-feedback-vector.h ->
+// src/type-feedback-vector-inl.h
+#include "src/type-feedback-vector-inl.h"
+#include "src/v8.h"
#include "test/cctest/cctest.h"
using namespace v8::internal;
@@ -63,8 +71,8 @@ TEST(Create) {
#endif
}
- CcTest::heap()->CollectGarbage(i::NEW_SPACE);
- CcTest::heap()->CollectAllGarbage();
+ CcTest::CollectGarbage(i::NEW_SPACE);
+ CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask);
// All symbols should be distinct.
for (int i = 0; i < kNumSymbols; ++i) {