Commit a856444c authored by Omer Katz's avatar Omer Katz Committed by Commit Bot

cppgc: Duplicate worklist

The worklist in this CL is a merge of the worklists of Oilpan and V8. This implementation supports both use cases and should serve as the shared worklist once we start merging the codebase.

Bug: chromium:1056170
Change-Id: I4ecdb475f3900c33eced9249efa112a69c1b2707
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2170828Reviewed-by: 's avatarAnton Bikineev <bikineev@chromium.org>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67459}
parent f2ece54b
......@@ -4055,6 +4055,7 @@ v8_source_set("cppgc_base") {
"src/heap/cppgc/source-location.cc",
"src/heap/cppgc/stack.cc",
"src/heap/cppgc/stack.h",
"src/heap/cppgc/worklist.h",
]
if (is_clang || !is_win) {
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_CPPGC_TRACE_TRAIT_H_
#define V8_HEAP_CPPGC_TRACE_TRAIT_H_
#ifndef INCLUDE_CPPGC_TRACE_TRAIT_H_
#define INCLUDE_CPPGC_TRACE_TRAIT_H_
#include <type_traits>
#include "cppgc/type-traits.h"
......@@ -64,4 +64,4 @@ struct TraceTraitImpl<T, true> {
} // namespace internal
} // namespace cppgc
#endif // V8_HEAP_CPPGC_TRACE_TRAIT_H_
#endif // INCLUDE_CPPGC_TRACE_TRAIT_H_
This diff is collapsed.
......@@ -61,6 +61,7 @@ v8_source_set("cppgc_unittests_sources") {
"heap/cppgc/tests.cc",
"heap/cppgc/tests.h",
"heap/cppgc/visitor_unittest.cc",
"heap/cppgc/worklist_unittest.cc",
]
configs = [
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment