Move src/collector.h to test/cctest

It's not used anywhere else.

R=mslekova@chromium.org

Change-Id: I2859618faba4da7cc93d9fba881470fc2ae8a6cb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1613995
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61590}
This commit is contained in:
Yang Guo 2019-05-16 11:43:58 +02:00 committed by Commit Bot
parent b7e935c5af
commit ee9ed5cc35
5 changed files with 3 additions and 3 deletions

View File

@ -2122,7 +2122,6 @@ v8_source_set("v8_base_without_compiler") {
"src/code-reference.cc",
"src/code-reference.h",
"src/code-tracer.h",
"src/collector.h",
"src/compilation-cache.cc",
"src/compilation-cache.h",
"src/compilation-statistics.cc",

View File

@ -62,6 +62,7 @@ v8_source_set("cctest_sources") {
"../common/wasm/flag-utils.h",
"../common/wasm/test-signatures.h",
"../common/wasm/wasm-macro-gen.h",
"collector.h",
"compiler/c-signature.h",
"compiler/call-tester.h",
"compiler/code-assembler-tester.h",

View File

@ -38,7 +38,6 @@
#include "src/assembler-inl.h"
#include "src/base/hashmap.h"
#include "src/base/optional.h"
#include "src/collector.h"
#include "src/debug/debug.h"
#include "src/heap/heap-inl.h"
#include "src/objects-inl.h"
@ -46,6 +45,7 @@
#include "src/profiler/heap-profiler.h"
#include "src/profiler/heap-snapshot-generator-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/collector.h"
using i::AllocationTraceNode;
using i::AllocationTraceTree;

View File

@ -33,9 +33,9 @@
#include "src/api-inl.h"
#include "src/base/platform/platform.h"
#include "src/collector.h"
#include "src/numbers/conversions.h"
#include "test/cctest/cctest.h"
#include "test/cctest/collector.h"
namespace v8 {
namespace internal {