Remove dependency on v8.h from TurboFan.
authormstarzinger <mstarzinger@chromium.org>
Mon, 9 Feb 2015 13:13:15 +0000 (05:13 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Feb 2015 13:13:28 +0000 (13:13 +0000)
R=bmeurer@chromium.org
TEST=presubmit

Review URL: https://codereview.chromium.org/905293002

Cr-Commit-Position: refs/heads/master@{#26525}

28 files changed:
src/compiler/DEPS [new file with mode: 0644]
src/compiler/all-nodes.h
src/compiler/arm/linkage-arm.cc
src/compiler/arm64/linkage-arm64.cc
src/compiler/ast-graph-builder.h
src/compiler/ast-loop-assignment-analyzer.h
src/compiler/basic-block-instrumentor.h
src/compiler/control-builders.h
src/compiler/control-equivalence.h
src/compiler/diamond.h
src/compiler/frame.h
src/compiler/graph-builder.h
src/compiler/ia32/linkage-ia32.cc
src/compiler/js-context-specialization.h
src/compiler/js-inlining.h
src/compiler/mips/linkage-mips.cc
src/compiler/mips64/linkage-mips64.cc
src/compiler/pipeline.h
src/compiler/ppc/linkage-ppc.cc
src/compiler/raw-machine-assembler.h
src/compiler/register-allocator-verifier.h
src/compiler/register-configuration.cc
src/compiler/register-configuration.h
src/compiler/scheduler.h
src/compiler/typer.h
src/compiler/verifier.h
src/compiler/x64/linkage-x64.cc
src/compiler/zone-pool.h

diff --git a/src/compiler/DEPS b/src/compiler/DEPS
new file mode 100644 (file)
index 0000000..60e2f6d
--- /dev/null
@@ -0,0 +1,3 @@
+include_rules = [
+  "-src/v8.h",
+]
index 2406d27c0b74991dec9f174baeaf44f03e7dddff..e6a83ef623761e57da41daa2a7dd65d46a2ad3ac 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "src/compiler/graph.h"
 #include "src/compiler/node.h"
-#include "src/v8.h"
 #include "src/zone-containers.h"
 
 namespace v8 {
index 0d9ca12d991ed4acecb7f7e295f09d3bf4fb3911..57590d3e5b9c05ccaf706a94f7b8a8c226f3e150 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index 142d8dd2e37d8e467a13c6def0de7b93ab1af8b9..57945fd77fcaeee49e5d84ae7e0d3e39da7ebcd7 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index 658e7368d4d0e2ba54fbcc208bb54d57cd20f0e4..030868cd33c1c7698ef49f78c89c38d5394c613b 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
 
-#include "src/v8.h"
-
 #include "src/ast.h"
 #include "src/compiler/js-graph.h"
 
index 00a7f2d79d4387a98d85a004b57a1829e407ac96..38eed5b63505c2d3176b34a2ce80ebba5299ec0c 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "src/ast.h"
 #include "src/bit-vector.h"
-#include "src/v8.h"
 #include "src/zone-containers.h"
 
 namespace v8 {
index 7edac0dbe87361435536ff41e3c525ac787b6a38..353b0c2ba7f783a5c23134bfcf67c2643eb10a39 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_
 #define V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_
 
-#include "src/v8.h"
-
 #include "src/basic-block-profiler.h"
 
 namespace v8 {
index 656b94a9e48e362d1020b1c34289a9fe0aa0f994..c22ee04a98ee9220c8ad1c2163f9eb5bb51ae0d3 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_CONTROL_BUILDERS_H_
 #define V8_COMPILER_CONTROL_BUILDERS_H_
 
-#include "src/v8.h"
-
 #include "src/compiler/ast-graph-builder.h"
 #include "src/compiler/node.h"
 
index cca087fe83bf6ede706f19847366657ba9807bcf..5c97f01e87671d1ff67fc6018cb8f099accc31e0 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_CONTROL_EQUIVALENCE_H_
 #define V8_COMPILER_CONTROL_EQUIVALENCE_H_
 
-#include "src/v8.h"
-
 #include "src/compiler/graph.h"
 #include "src/compiler/node.h"
 #include "src/compiler/node-properties.h"
index fad24cdb727e8734870fd53f9867c036ef2634c8..cf83638bba8ddd6f6c501668d892c5d593cfc375 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_DIAMOND_H_
 #define V8_COMPILER_DIAMOND_H_
 
-#include "src/v8.h"
-
 #include "src/compiler/common-operator.h"
 #include "src/compiler/graph.h"
 #include "src/compiler/node.h"
index ce1ecd061cc5e5e9eb8e4b6802d0ac782c3a442c..a5dd11657ba4161fa7e27f34f241092083a8b378 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_FRAME_H_
 #define V8_COMPILER_FRAME_H_
 
-#include "src/v8.h"
-
 #include "src/bit-vector.h"
 
 namespace v8 {
index 02d6ff08fd55336e180d3264b701fbbae2dcdd63..f2fb7f6c096a8963aadebac936ca39b0bb0886e4 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_GRAPH_BUILDER_H_
 #define V8_COMPILER_GRAPH_BUILDER_H_
 
-#include "src/v8.h"
-
 #include "src/allocation.h"
 #include "src/compiler/common-operator.h"
 #include "src/compiler/graph.h"
index aaf954497b5b3ce0c17c14a7863fd59fbe974ae2..19dbc43f200eca7faac8eee6cbf88837ae5ebcbf 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index 298d3a39f828c050fd9bc621cc6de03ba27b0a29..b707755fc7cb2b9d14f80e66106e2161dbdd347d 100644 (file)
@@ -8,7 +8,6 @@
 #include "src/compiler/graph-reducer.h"
 #include "src/compiler/js-graph.h"
 #include "src/contexts.h"
-#include "src/v8.h"
 
 namespace v8 {
 namespace internal {
index acaa4a724a30a724f340561d88fda95e0c3d3995..5e6b39a0273c2d99b3cbf093134350a46f6b268d 100644 (file)
@@ -6,7 +6,6 @@
 #define V8_COMPILER_JS_INLINING_H_
 
 #include "src/compiler/js-graph.h"
-#include "src/v8.h"
 
 namespace v8 {
 namespace internal {
index 1534b0bdd54382d09af64437a5aa3b2b09df2ba4..cbb59d3a1041f45d2e1cb14205c68baf124084bb 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index b10ee2f7eea4ad12a2bd0e6a7e56f9ab98517bc8..273054e20630f2f5caec2a5fb4351e223dcb68b1 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index b2ea1935ed3a7661464924e9b014c966ee09b1c7..2813770e309757e6c84d3ffde07765909ca40698 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_PIPELINE_H_
 #define V8_COMPILER_PIPELINE_H_
 
-#include "src/v8.h"
-
 // Clients of this interface shouldn't depend on lots of compiler internals.
 // Do not include anything from src/compiler here!
 #include "src/compiler.h"
index 1008981ff7f0f589a1899c13b8ee56ca1c9b2c6c..38117222a9a0d9e2ef398d0aefeb072fc48ae590 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index f6437a8da58eb48bcee73d4a4a5f22671d117b43..646ace2e00e557ebd60ea92c16c8c82c131ae7ff 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
 
-#include "src/v8.h"
-
 #include "src/compiler/common-operator.h"
 #include "src/compiler/graph-builder.h"
 #include "src/compiler/linkage.h"
index 70552fbfdd0d44ea8afc4ff63a2bfd322c447c53..86fda1670ddb89ee52dd988f423624b3720f8e2a 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef V8_REGISTER_ALLOCATOR_VERIFIER_H_
 #define V8_REGISTER_ALLOCATOR_VERIFIER_H_
 
-#include "src/v8.h"
 #include "src/zone-containers.h"
 
 namespace v8 {
index e7d8bbd60734ea10286a6416bb9087ed7b0c4ab6..30946fc373509e2174f5d36a2a36152b01b3566d 100644 (file)
@@ -3,6 +3,7 @@
 // found in the LICENSE file.
 
 #include "src/compiler/register-configuration.h"
+#include "src/globals.h"
 #include "src/macro-assembler.h"
 
 namespace v8 {
index 8178ba2f0d77deea594e4615de26cd1f812cb105..f0d58735ba719a9f4e0eb95a7fc1abbd81f1b4e5 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef V8_COMPILER_REGISTER_CONFIGURATION_H_
 #define V8_COMPILER_REGISTER_CONFIGURATION_H_
 
-#include "src/v8.h"
+#include "src/base/macros.h"
 
 namespace v8 {
 namespace internal {
index 882c761f2d524bf2ea4600263fa9731e09210998..269c271ae5996aa580f4d50608c5ca6523a4f5ea 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_SCHEDULER_H_
 #define V8_COMPILER_SCHEDULER_H_
 
-#include "src/v8.h"
-
 #include "src/base/flags.h"
 #include "src/compiler/node.h"
 #include "src/compiler/opcodes.h"
index 87246ff7940e43dffe410682f56b1ecf0d56ca90..a288d060a6350fc74be513ac95dab6daaa049ecf 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef V8_COMPILER_TYPER_H_
 #define V8_COMPILER_TYPER_H_
 
-#include "src/v8.h"
-
 #include "src/compiler/graph.h"
 #include "src/compiler/opcodes.h"
 #include "src/types.h"
index 67b7ba6e710a77b5ecab0183b46a4274752e473a..8c5962fcad2171b34d9f1027a26c2152bb2d4eb1 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef V8_COMPILER_VERIFIER_H_
 #define V8_COMPILER_VERIFIER_H_
 
-#include "src/v8.h"
+#include "src/base/macros.h"
 
 namespace v8 {
 namespace internal {
index 45dc931c762e5fc287c478ba24ef6d6fe6f1be20..802edf35547098f8ccb1c3d49593e67d9d53a3fa 100644 (file)
@@ -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 "src/assembler.h"
 #include "src/code-stubs.h"
 #include "src/compiler/linkage.h"
index d2fbbbd92f716e1f438a63c64f1f8d0750a61dad..09d6183e0006c4c670496fc5fa7b3137f3cdae29 100644 (file)
@@ -9,7 +9,7 @@
 #include <set>
 #include <vector>
 
-#include "src/v8.h"
+#include "src/zone.h"
 
 namespace v8 {
 namespace internal {