Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index cab79b7a7e4530cf63c6b8eef1df503d9b36e69a..139a895acdb8c7815b64bb3b1c0df7db789c0451 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -475,6 +475,95 @@ source_set("v8_base") { |
"src/codegen.h", |
"src/compilation-cache.cc", |
"src/compilation-cache.h", |
+ "src/compiler/ast-graph-builder.cc", |
+ "src/compiler/ast-graph-builder.h", |
+ "src/compiler/code-generator-impl.h", |
+ "src/compiler/code-generator.cc", |
+ "src/compiler/code-generator.h", |
+ "src/compiler/common-node-cache.h", |
+ "src/compiler/common-operator.h", |
+ "src/compiler/control-builders.cc", |
+ "src/compiler/control-builders.h", |
+ "src/compiler/frame.h", |
+ "src/compiler/gap-resolver.cc", |
+ "src/compiler/gap-resolver.h", |
+ "src/compiler/generic-algorithm-inl.h", |
+ "src/compiler/generic-algorithm.h", |
+ "src/compiler/generic-graph.h", |
+ "src/compiler/generic-node-inl.h", |
+ "src/compiler/generic-node.h", |
+ "src/compiler/graph-builder.cc", |
+ "src/compiler/graph-builder.h", |
+ "src/compiler/graph-inl.h", |
+ "src/compiler/graph-reducer.cc", |
+ "src/compiler/graph-reducer.h", |
+ "src/compiler/graph-replay.cc", |
+ "src/compiler/graph-replay.h", |
+ "src/compiler/graph-visualizer.cc", |
+ "src/compiler/graph-visualizer.h", |
+ "src/compiler/graph.cc", |
+ "src/compiler/graph.h", |
+ "src/compiler/instruction-codes.h", |
+ "src/compiler/instruction-selector-impl.h", |
+ "src/compiler/instruction-selector.cc", |
+ "src/compiler/instruction-selector.h", |
+ "src/compiler/instruction.cc", |
+ "src/compiler/instruction.h", |
+ "src/compiler/js-context-specialization.cc", |
+ "src/compiler/js-context-specialization.h", |
+ "src/compiler/js-generic-lowering.cc", |
+ "src/compiler/js-generic-lowering.h", |
+ "src/compiler/js-graph.cc", |
+ "src/compiler/js-graph.h", |
+ "src/compiler/js-operator.h", |
+ "src/compiler/js-typed-lowering.cc", |
+ "src/compiler/js-typed-lowering.h", |
+ "src/compiler/linkage-impl.h", |
+ "src/compiler/linkage.cc", |
+ "src/compiler/linkage.h", |
+ "src/compiler/lowering-builder.cc", |
+ "src/compiler/lowering-builder.h", |
+ "src/compiler/machine-node-factory.h", |
+ "src/compiler/machine-operator-reducer.cc", |
+ "src/compiler/machine-operator-reducer.h", |
+ "src/compiler/machine-operator.h", |
+ "src/compiler/node-aux-data-inl.h", |
+ "src/compiler/node-aux-data.h", |
+ "src/compiler/node-cache.cc", |
+ "src/compiler/node-cache.h", |
+ "src/compiler/node-matchers.h", |
+ "src/compiler/node-properties-inl.h", |
+ "src/compiler/node-properties.h", |
+ "src/compiler/node.cc", |
+ "src/compiler/node.h", |
+ "src/compiler/opcodes.h", |
+ "src/compiler/operator-properties-inl.h", |
+ "src/compiler/operator-properties.h", |
+ "src/compiler/operator.h", |
+ "src/compiler/phi-reducer.h", |
+ "src/compiler/pipeline.cc", |
+ "src/compiler/pipeline.h", |
+ "src/compiler/raw-machine-assembler.cc", |
+ "src/compiler/raw-machine-assembler.h", |
+ "src/compiler/register-allocator.cc", |
+ "src/compiler/register-allocator.h", |
+ "src/compiler/representation-change.h", |
+ "src/compiler/schedule.cc", |
+ "src/compiler/schedule.h", |
+ "src/compiler/scheduler.cc", |
+ "src/compiler/scheduler.h", |
+ "src/compiler/simplified-lowering.cc", |
+ "src/compiler/simplified-lowering.h", |
+ "src/compiler/simplified-node-factory.h", |
+ "src/compiler/simplified-operator.h", |
+ "src/compiler/source-position.cc", |
+ "src/compiler/source-position.h", |
+ "src/compiler/structured-machine-assembler.cc", |
+ "src/compiler/structured-machine-assembler.h", |
+ "src/compiler/typer.cc", |
+ "src/compiler/typer.h", |
+ "src/compiler/verifier.cc", |
+ "src/compiler/verifier.h", |
"src/compiler.cc", |
"src/compiler.h", |
"src/contexts.cc", |
@@ -805,6 +894,10 @@ source_set("v8_base") { |
"src/ia32/regexp-macro-assembler-ia32.cc", |
"src/ia32/regexp-macro-assembler-ia32.h", |
"src/ia32/stub-cache-ia32.cc", |
+ "src/compiler/ia32/code-generator-ia32.cc", |
+ "src/compiler/ia32/instruction-codes-ia32.h", |
+ "src/compiler/ia32/instruction-selector-ia32.cc", |
+ "src/compiler/ia32/linkage-ia32.cc", |
] |
} else if (v8_target_arch == "x64") { |
sources += [ |
@@ -835,6 +928,10 @@ source_set("v8_base") { |
"src/x64/regexp-macro-assembler-x64.cc", |
"src/x64/regexp-macro-assembler-x64.h", |
"src/x64/stub-cache-x64.cc", |
+ "src/compiler/x64/code-generator-x64.cc", |
+ "src/compiler/x64/instruction-codes-x64.h", |
+ "src/compiler/x64/instruction-selector-x64.cc", |
+ "src/compiler/x64/linkage-x64.cc", |
] |
} else if (v8_target_arch == "arm") { |
sources += [ |
@@ -868,6 +965,10 @@ source_set("v8_base") { |
"src/arm/regexp-macro-assembler-arm.h", |
"src/arm/simulator-arm.cc", |
"src/arm/stub-cache-arm.cc", |
+ "src/compiler/arm/code-generator-arm.cc", |
+ "src/compiler/arm/instruction-codes-arm.h", |
+ "src/compiler/arm/instruction-selector-arm.cc", |
+ "src/compiler/arm/linkage-arm.cc", |
] |
} else if (v8_target_arch == "arm64") { |
sources += [ |
@@ -912,6 +1013,10 @@ source_set("v8_base") { |
"src/arm64/stub-cache-arm64.cc", |
"src/arm64/utils-arm64.cc", |
"src/arm64/utils-arm64.h", |
+ "src/compiler/arm64/code-generator-arm64.cc", |
+ "src/compiler/arm64/instruction-codes-arm64.h", |
+ "src/compiler/arm64/instruction-selector-arm64.cc", |
+ "src/compiler/arm64/linkage-arm64.cc", |
] |
} else if (v8_target_arch == "mipsel") { |
sources += [ |