From 9ada38b4c6586c7bce469eda173452f3ccf4fd4b Mon Sep 17 00:00:00 2001 From: mstarzinger Date: Wed, 28 Oct 2015 06:32:17 -0700 Subject: [PATCH] Remove obsolete src/v8.h include from compiler cctests. R=jochen@chromium.org Review URL: https://codereview.chromium.org/1417163004 Cr-Commit-Position: refs/heads/master@{#31632} --- test/cctest/compiler/call-tester.h | 3 --- test/cctest/compiler/codegen-tester.cc | 2 -- test/cctest/compiler/codegen-tester.h | 2 -- test/cctest/compiler/function-tester.h | 4 +--- test/cctest/compiler/graph-builder-tester.h | 4 +--- test/cctest/compiler/test-basic-block-profiler.cc | 2 -- test/cctest/compiler/test-branch-combine.cc | 2 -- test/cctest/compiler/test-graph-visualizer.cc | 4 +--- test/cctest/compiler/test-instruction.cc | 4 +--- test/cctest/compiler/test-js-constant-cache.cc | 2 -- test/cctest/compiler/test-jump-threading.cc | 4 +--- test/cctest/compiler/test-linkage.cc | 2 -- test/cctest/compiler/test-loop-analysis.cc | 2 -- test/cctest/compiler/test-machine-operator-reducer.cc | 3 +-- test/cctest/compiler/test-node.cc | 4 +--- test/cctest/compiler/test-operator.cc | 2 -- test/cctest/compiler/test-pipeline.cc | 4 +--- test/cctest/compiler/test-representation-change.cc | 1 - test/cctest/compiler/test-run-bytecode-graph-builder.cc | 2 -- test/cctest/compiler/test-run-deopt.cc | 2 -- test/cctest/compiler/test-run-inlining.cc | 2 -- test/cctest/compiler/test-run-intrinsics.cc | 2 -- test/cctest/compiler/test-run-jsbranches.cc | 2 -- test/cctest/compiler/test-run-jscalls.cc | 2 -- test/cctest/compiler/test-run-jsexceptions.cc | 2 -- test/cctest/compiler/test-run-jsops.cc | 2 -- test/cctest/compiler/test-run-properties.cc | 2 -- test/cctest/compiler/test-run-stackcheck.cc | 2 -- test/cctest/compiler/test-run-variables.cc | 2 -- test/cctest/compiler/value-helper.h | 2 -- 30 files changed, 8 insertions(+), 67 deletions(-) diff --git a/test/cctest/compiler/call-tester.h b/test/cctest/compiler/call-tester.h index 31a6d0f93b..10f98db9ff 100644 --- a/test/cctest/compiler/call-tester.h +++ b/test/cctest/compiler/call-tester.h @@ -5,10 +5,7 @@ #ifndef V8_CCTEST_COMPILER_CALL_TESTER_H_ #define V8_CCTEST_COMPILER_CALL_TESTER_H_ -#include "src/v8.h" - #include "src/simulator.h" - #include "test/cctest/compiler/c-signature.h" #if V8_TARGET_ARCH_IA32 diff --git a/test/cctest/compiler/codegen-tester.cc b/test/cctest/compiler/codegen-tester.cc index 98957c7f01..ed5ff094fd 100644 --- a/test/cctest/compiler/codegen-tester.cc +++ b/test/cctest/compiler/codegen-tester.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "src/v8.h" - #include "test/cctest/cctest.h" #include "test/cctest/compiler/codegen-tester.h" #include "test/cctest/compiler/value-helper.h" diff --git a/test/cctest/compiler/codegen-tester.h b/test/cctest/compiler/codegen-tester.h index 21227aa017..512db3e134 100644 --- a/test/cctest/compiler/codegen-tester.h +++ b/test/cctest/compiler/codegen-tester.h @@ -5,8 +5,6 @@ #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ -#include "src/v8.h" - #include "src/compiler/instruction-selector.h" #include "src/compiler/pipeline.h" #include "src/compiler/raw-machine-assembler.h" diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h index 20a597431e..8741808d82 100644 --- a/test/cctest/compiler/function-tester.h +++ b/test/cctest/compiler/function-tester.h @@ -5,9 +5,6 @@ #ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ #define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/ast-numbering.h" #include "src/compiler.h" #include "src/compiler/linkage.h" @@ -19,6 +16,7 @@ #include "src/parser.h" #include "src/rewriter.h" #include "src/scopes.h" +#include "test/cctest/cctest.h" namespace v8 { namespace internal { diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h index dba4369bd1..ea2c3ad139 100644 --- a/test/cctest/compiler/graph-builder-tester.h +++ b/test/cctest/compiler/graph-builder-tester.h @@ -5,9 +5,6 @@ #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler/common-operator.h" #include "src/compiler/instruction-selector.h" #include "src/compiler/linkage.h" @@ -15,6 +12,7 @@ #include "src/compiler/operator-properties.h" #include "src/compiler/pipeline.h" #include "src/compiler/simplified-operator.h" +#include "test/cctest/cctest.h" #include "test/cctest/compiler/call-tester.h" namespace v8 { diff --git a/test/cctest/compiler/test-basic-block-profiler.cc b/test/cctest/compiler/test-basic-block-profiler.cc index 9182f17a70..3d3e214281 100644 --- a/test/cctest/compiler/test-basic-block-profiler.cc +++ b/test/cctest/compiler/test-basic-block-profiler.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/basic-block-profiler.h" #include "test/cctest/cctest.h" #include "test/cctest/compiler/codegen-tester.h" diff --git a/test/cctest/compiler/test-branch-combine.cc b/test/cctest/compiler/test-branch-combine.cc index 298ac66f2f..84d8d99094 100644 --- a/test/cctest/compiler/test-branch-combine.cc +++ b/test/cctest/compiler/test-branch-combine.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/cctest.h" #include "test/cctest/compiler/codegen-tester.h" #include "test/cctest/compiler/value-helper.h" diff --git a/test/cctest/compiler/test-graph-visualizer.cc b/test/cctest/compiler/test-graph-visualizer.cc index db8000d99b..8fb01aad6c 100644 --- a/test/cctest/compiler/test-graph-visualizer.cc +++ b/test/cctest/compiler/test-graph-visualizer.cc @@ -5,9 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler/common-operator.h" #include "src/compiler/graph.h" #include "src/compiler/graph-visualizer.h" @@ -19,6 +16,7 @@ #include "src/compiler/scheduler.h" #include "src/compiler/source-position.h" #include "src/compiler/verifier.h" +#include "test/cctest/cctest.h" using namespace v8::internal; using namespace v8::internal::compiler; diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc index 8505f1284f..f4f2f753fe 100644 --- a/test/cctest/compiler/test-instruction.cc +++ b/test/cctest/compiler/test-instruction.cc @@ -5,9 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler/code-generator.h" #include "src/compiler/common-operator.h" #include "src/compiler/graph.h" @@ -18,6 +15,7 @@ #include "src/compiler/operator.h" #include "src/compiler/schedule.h" #include "src/compiler/scheduler.h" +#include "test/cctest/cctest.h" using namespace v8::internal; using namespace v8::internal::compiler; diff --git a/test/cctest/compiler/test-js-constant-cache.cc b/test/cctest/compiler/test-js-constant-cache.cc index 50d59ea31f..d00ecec693 100644 --- a/test/cctest/compiler/test-js-constant-cache.cc +++ b/test/cctest/compiler/test-js-constant-cache.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/assembler.h" #include "src/compiler/js-graph.h" #include "src/compiler/node-properties.h" diff --git a/test/cctest/compiler/test-jump-threading.cc b/test/cctest/compiler/test-jump-threading.cc index 61649208cd..00baca2c5b 100644 --- a/test/cctest/compiler/test-jump-threading.cc +++ b/test/cctest/compiler/test-jump-threading.cc @@ -5,12 +5,10 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler/instruction.h" #include "src/compiler/instruction-codes.h" #include "src/compiler/jump-threading.h" +#include "test/cctest/cctest.h" namespace v8 { namespace internal { diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc index 445c7c1cac..387b6cf453 100644 --- a/test/cctest/compiler/test-linkage.cc +++ b/test/cctest/compiler/test-linkage.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/code-stubs.h" #include "src/compiler.h" #include "src/parser.h" diff --git a/test/cctest/compiler/test-loop-analysis.cc b/test/cctest/compiler/test-loop-analysis.cc index 02656167d4..a1a5d56e83 100644 --- a/test/cctest/compiler/test-loop-analysis.cc +++ b/test/cctest/compiler/test-loop-analysis.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/compiler/access-builder.h" #include "src/compiler/common-operator.h" #include "src/compiler/graph.h" diff --git a/test/cctest/compiler/test-machine-operator-reducer.cc b/test/cctest/compiler/test-machine-operator-reducer.cc index 1732d4b19d..97b33c8831 100644 --- a/test/cctest/compiler/test-machine-operator-reducer.cc +++ b/test/cctest/compiler/test-machine-operator-reducer.cc @@ -5,14 +5,13 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "test/cctest/cctest.h" - #include "src/base/utils/random-number-generator.h" #include "src/codegen.h" #include "src/compiler/js-graph.h" #include "src/compiler/machine-operator-reducer.h" #include "src/compiler/operator-properties.h" #include "src/compiler/typer.h" +#include "test/cctest/cctest.h" #include "test/cctest/compiler/value-helper.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-node.cc b/test/cctest/compiler/test-node.cc index 6fc99f8615..91ec7b06d6 100644 --- a/test/cctest/compiler/test-node.cc +++ b/test/cctest/compiler/test-node.cc @@ -7,12 +7,10 @@ #include -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler/graph.h" #include "src/compiler/node.h" #include "src/compiler/operator.h" +#include "test/cctest/cctest.h" using namespace v8::internal; using namespace v8::internal::compiler; diff --git a/test/cctest/compiler/test-operator.cc b/test/cctest/compiler/test-operator.cc index d363a722b7..ea8843a113 100644 --- a/test/cctest/compiler/test-operator.cc +++ b/test/cctest/compiler/test-operator.cc @@ -7,8 +7,6 @@ #include -#include "src/v8.h" - #include "src/compiler/operator.h" #include "test/cctest/cctest.h" diff --git a/test/cctest/compiler/test-pipeline.cc b/test/cctest/compiler/test-pipeline.cc index a11b1e793a..9629e4faca 100644 --- a/test/cctest/compiler/test-pipeline.cc +++ b/test/cctest/compiler/test-pipeline.cc @@ -5,13 +5,11 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" -#include "test/cctest/cctest.h" - #include "src/compiler.h" #include "src/compiler/pipeline.h" #include "src/handles.h" #include "src/parser.h" +#include "test/cctest/cctest.h" using namespace v8::internal; using namespace v8::internal::compiler; diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc index 1a3f0e06d2..2970d5209b 100644 --- a/test/cctest/compiler/test-representation-change.cc +++ b/test/cctest/compiler/test-representation-change.cc @@ -7,7 +7,6 @@ #include -#include "src/v8.h" #include "test/cctest/cctest.h" #include "test/cctest/compiler/codegen-tester.h" #include "test/cctest/compiler/graph-builder-tester.h" diff --git a/test/cctest/compiler/test-run-bytecode-graph-builder.cc b/test/cctest/compiler/test-run-bytecode-graph-builder.cc index 9bf87f295e..67dad165de 100644 --- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc +++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc @@ -7,8 +7,6 @@ #include -#include "src/v8.h" - #include "src/compiler/pipeline.h" #include "src/execution.h" #include "src/handles.h" diff --git a/test/cctest/compiler/test-run-deopt.cc b/test/cctest/compiler/test-run-deopt.cc index 4d35f2ef4d..b1828a651e 100644 --- a/test/cctest/compiler/test-run-deopt.cc +++ b/test/cctest/compiler/test-run-deopt.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/frames-inl.h" #include "test/cctest/cctest.h" #include "test/cctest/compiler/function-tester.h" diff --git a/test/cctest/compiler/test-run-inlining.cc b/test/cctest/compiler/test-run-inlining.cc index 49a0029f2c..2ecb066127 100644 --- a/test/cctest/compiler/test-run-inlining.cc +++ b/test/cctest/compiler/test-run-inlining.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "src/frames-inl.h" #include "test/cctest/compiler/function-tester.h" diff --git a/test/cctest/compiler/test-run-intrinsics.cc b/test/cctest/compiler/test-run-intrinsics.cc index cd0ef0c6d5..7978eb213c 100644 --- a/test/cctest/compiler/test-run-intrinsics.cc +++ b/test/cctest/compiler/test-run-intrinsics.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-jsbranches.cc b/test/cctest/compiler/test-run-jsbranches.cc index 9246acb146..79b0932e24 100644 --- a/test/cctest/compiler/test-run-jsbranches.cc +++ b/test/cctest/compiler/test-run-jsbranches.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-jscalls.cc b/test/cctest/compiler/test-run-jscalls.cc index 4ee9d8def8..7b8e36f536 100644 --- a/test/cctest/compiler/test-run-jscalls.cc +++ b/test/cctest/compiler/test-run-jscalls.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-jsexceptions.cc b/test/cctest/compiler/test-run-jsexceptions.cc index 852cf2fa1b..713d5c713e 100644 --- a/test/cctest/compiler/test-run-jsexceptions.cc +++ b/test/cctest/compiler/test-run-jsexceptions.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-jsops.cc b/test/cctest/compiler/test-run-jsops.cc index 927d7fbeb5..e91bb7ad24 100644 --- a/test/cctest/compiler/test-run-jsops.cc +++ b/test/cctest/compiler/test-run-jsops.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-properties.cc b/test/cctest/compiler/test-run-properties.cc index 81e19979c0..6b5a406494 100644 --- a/test/cctest/compiler/test-run-properties.cc +++ b/test/cctest/compiler/test-run-properties.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-stackcheck.cc b/test/cctest/compiler/test-run-stackcheck.cc index 241e4b6b0e..d384a7c15f 100644 --- a/test/cctest/compiler/test-run-stackcheck.cc +++ b/test/cctest/compiler/test-run-stackcheck.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/test-run-variables.cc b/test/cctest/compiler/test-run-variables.cc index d8c0b1aeae..e083d834a0 100644 --- a/test/cctest/compiler/test-run-variables.cc +++ b/test/cctest/compiler/test-run-variables.cc @@ -5,8 +5,6 @@ // TODO(jochen): Remove this after the setting is turned on globally. #define V8_IMMINENT_DEPRECATION_WARNINGS -#include "src/v8.h" - #include "test/cctest/compiler/function-tester.h" using namespace v8::internal; diff --git a/test/cctest/compiler/value-helper.h b/test/cctest/compiler/value-helper.h index 5c0481fe18..20be67a975 100644 --- a/test/cctest/compiler/value-helper.h +++ b/test/cctest/compiler/value-helper.h @@ -5,8 +5,6 @@ #ifndef V8_CCTEST_COMPILER_VALUE_HELPER_H_ #define V8_CCTEST_COMPILER_VALUE_HELPER_H_ -#include "src/v8.h" - #include "src/compiler/common-operator.h" #include "src/compiler/node.h" #include "src/compiler/node-matchers.h"