Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: src/visitors.cc

Issue 2801073006: Decouple root visitors from object visitors. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/visitors.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/visitors.cc
diff --git a/src/visitors.cc b/src/visitors.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4f93c63f0d3f26976fd90914e7e5110fc6373f8a
--- /dev/null
+++ b/src/visitors.cc
@@ -0,0 +1,22 @@
+// Copyright 2017 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "src/visitors.h"
+
+namespace v8 {
+namespace internal {
+
+#define DECLARE_TAG(ignore1, name, ignore2) name,
+const char* const
+ VisitorSynchronization::kTags[VisitorSynchronization::kNumberOfSyncTags] = {
+ ROOT_ID_LIST(DECLARE_TAG)};
+#undef DECLARE_TAG
+
+#define DECLARE_TAG(ignore1, ignore2, name) name,
+const char* const VisitorSynchronization::kTagNames
+ [VisitorSynchronization::kNumberOfSyncTags] = {ROOT_ID_LIST(DECLARE_TAG)};
+#undef DECLARE_TAG
+
+} // namespace internal
+} // namespace v8
« no previous file with comments | « src/visitors.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698