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:
parent
4045b72ce3
commit
215e6bcb00
3
src/compiler/DEPS
Normal file
3
src/compiler/DEPS
Normal file
@ -0,0 +1,3 @@
|
||||
include_rules = [
|
||||
"-src/v8.h",
|
||||
]
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "src/ast.h"
|
||||
#include "src/bit-vector.h"
|
||||
#include "src/v8.h"
|
||||
#include "src/zone-containers.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -6,7 +6,6 @@
|
||||
#define V8_COMPILER_JS_INLINING_H_
|
||||
|
||||
#include "src/compiler/js-graph.h"
|
||||
#include "src/v8.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "src/v8.h"
|
||||
#include "src/zone.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
Loading…
Reference in New Issue
Block a user