Remove dependency on v8.h from TurboFan.

R=bmeurer@chromium.org
TEST=presubmit

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

Cr-Commit-Position: refs/heads/master@{#26525}
This commit is contained in:
mstarzinger 2015-02-09 05:13:15 -08:00 committed by Commit bot
parent 4045b72ce3
commit 215e6bcb00
28 changed files with 7 additions and 44 deletions

3
src/compiler/DEPS Normal file
View File

@ -0,0 +1,3 @@
include_rules = [
"-src/v8.h",
]

View 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 {

View 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"

View 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"

View 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"

View 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 {

View 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 {

View 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"

View 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"

View 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"

View 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 {

View 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"

View 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"

View 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 {

View 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 {

View 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"

View 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"

View 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"

View 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"

View 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"

View 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 {

View 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 {

View 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 {

View 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"

View 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"

View 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 {

View 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"

View File

@ -9,7 +9,7 @@
#include <set>
#include <vector>
#include "src/v8.h"
#include "src/zone.h"
namespace v8 {
namespace internal {