Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: BUILD.gn

Issue 1405363003: Move Hydrogen and Lithium to src/crankshaft/ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/arm/lithium-arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index f5e6f5c01b9eb0dd4082b7d39f1a30cefbd72b33..03f738d7adbc3fc0d8fdcf0e8effa8032a2ff194 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -864,6 +864,68 @@ source_set("v8_base") {
"src/conversions.h",
"src/counters.cc",
"src/counters.h",
+ "src/crankshaft/hydrogen-alias-analysis.h",
+ "src/crankshaft/hydrogen-bce.cc",
+ "src/crankshaft/hydrogen-bce.h",
+ "src/crankshaft/hydrogen-bch.cc",
+ "src/crankshaft/hydrogen-bch.h",
+ "src/crankshaft/hydrogen-canonicalize.cc",
+ "src/crankshaft/hydrogen-canonicalize.h",
+ "src/crankshaft/hydrogen-check-elimination.cc",
+ "src/crankshaft/hydrogen-check-elimination.h",
+ "src/crankshaft/hydrogen-dce.cc",
+ "src/crankshaft/hydrogen-dce.h",
+ "src/crankshaft/hydrogen-dehoist.cc",
+ "src/crankshaft/hydrogen-dehoist.h",
+ "src/crankshaft/hydrogen-environment-liveness.cc",
+ "src/crankshaft/hydrogen-environment-liveness.h",
+ "src/crankshaft/hydrogen-escape-analysis.cc",
+ "src/crankshaft/hydrogen-escape-analysis.h",
+ "src/crankshaft/hydrogen-flow-engine.h",
+ "src/crankshaft/hydrogen-gvn.cc",
+ "src/crankshaft/hydrogen-gvn.h",
+ "src/crankshaft/hydrogen-infer-representation.cc",
+ "src/crankshaft/hydrogen-infer-representation.h",
+ "src/crankshaft/hydrogen-infer-types.cc",
+ "src/crankshaft/hydrogen-infer-types.h",
+ "src/crankshaft/hydrogen-instructions.cc",
+ "src/crankshaft/hydrogen-instructions.h",
+ "src/crankshaft/hydrogen-load-elimination.cc",
+ "src/crankshaft/hydrogen-load-elimination.h",
+ "src/crankshaft/hydrogen-mark-deoptimize.cc",
+ "src/crankshaft/hydrogen-mark-deoptimize.h",
+ "src/crankshaft/hydrogen-mark-unreachable.cc",
+ "src/crankshaft/hydrogen-mark-unreachable.h",
+ "src/crankshaft/hydrogen-osr.cc",
+ "src/crankshaft/hydrogen-osr.h",
+ "src/crankshaft/hydrogen-range-analysis.cc",
+ "src/crankshaft/hydrogen-range-analysis.h",
+ "src/crankshaft/hydrogen-redundant-phi.cc",
+ "src/crankshaft/hydrogen-redundant-phi.h",
+ "src/crankshaft/hydrogen-removable-simulates.cc",
+ "src/crankshaft/hydrogen-removable-simulates.h",
+ "src/crankshaft/hydrogen-representation-changes.cc",
+ "src/crankshaft/hydrogen-representation-changes.h",
+ "src/crankshaft/hydrogen-sce.cc",
+ "src/crankshaft/hydrogen-sce.h",
+ "src/crankshaft/hydrogen-store-elimination.cc",
+ "src/crankshaft/hydrogen-store-elimination.h",
+ "src/crankshaft/hydrogen-types.cc",
+ "src/crankshaft/hydrogen-types.h",
+ "src/crankshaft/hydrogen-uint32-analysis.cc",
+ "src/crankshaft/hydrogen-uint32-analysis.h",
+ "src/crankshaft/hydrogen.cc",
+ "src/crankshaft/hydrogen.h",
+ "src/crankshaft/lithium-allocator-inl.h",
+ "src/crankshaft/lithium-allocator.cc",
+ "src/crankshaft/lithium-allocator.h",
+ "src/crankshaft/lithium-codegen.cc",
+ "src/crankshaft/lithium-codegen.h",
+ "src/crankshaft/lithium.cc",
+ "src/crankshaft/lithium.h",
+ "src/crankshaft/typing.cc",
+ "src/crankshaft/typing.h",
+ "src/crankshaft/unique.h",
"src/date.cc",
"src/date.h",
"src/dateparser-inl.h",
@@ -972,58 +1034,6 @@ source_set("v8_base") {
"src/heap/store-buffer-inl.h",
"src/heap/store-buffer.cc",
"src/heap/store-buffer.h",
- "src/hydrogen-alias-analysis.h",
- "src/hydrogen-bce.cc",
- "src/hydrogen-bce.h",
- "src/hydrogen-bch.cc",
- "src/hydrogen-bch.h",
- "src/hydrogen-canonicalize.cc",
- "src/hydrogen-canonicalize.h",
- "src/hydrogen-check-elimination.cc",
- "src/hydrogen-check-elimination.h",
- "src/hydrogen-dce.cc",
- "src/hydrogen-dce.h",
- "src/hydrogen-dehoist.cc",
- "src/hydrogen-dehoist.h",
- "src/hydrogen-environment-liveness.cc",
- "src/hydrogen-environment-liveness.h",
- "src/hydrogen-escape-analysis.cc",
- "src/hydrogen-escape-analysis.h",
- "src/hydrogen-flow-engine.h",
- "src/hydrogen-instructions.cc",
- "src/hydrogen-instructions.h",
- "src/hydrogen.cc",
- "src/hydrogen.h",
- "src/hydrogen-gvn.cc",
- "src/hydrogen-gvn.h",
- "src/hydrogen-infer-representation.cc",
- "src/hydrogen-infer-representation.h",
- "src/hydrogen-infer-types.cc",
- "src/hydrogen-infer-types.h",
- "src/hydrogen-load-elimination.cc",
- "src/hydrogen-load-elimination.h",
- "src/hydrogen-mark-deoptimize.cc",
- "src/hydrogen-mark-deoptimize.h",
- "src/hydrogen-mark-unreachable.cc",
- "src/hydrogen-mark-unreachable.h",
- "src/hydrogen-osr.cc",
- "src/hydrogen-osr.h",
- "src/hydrogen-range-analysis.cc",
- "src/hydrogen-range-analysis.h",
- "src/hydrogen-redundant-phi.cc",
- "src/hydrogen-redundant-phi.h",
- "src/hydrogen-removable-simulates.cc",
- "src/hydrogen-removable-simulates.h",
- "src/hydrogen-representation-changes.cc",
- "src/hydrogen-representation-changes.h",
- "src/hydrogen-sce.cc",
- "src/hydrogen-sce.h",
- "src/hydrogen-store-elimination.cc",
- "src/hydrogen-store-elimination.h",
- "src/hydrogen-types.cc",
- "src/hydrogen-types.h",
- "src/hydrogen-uint32-analysis.cc",
- "src/hydrogen-uint32-analysis.h",
"src/i18n.cc",
"src/i18n.h",
"src/icu_util.cc",
@@ -1070,13 +1080,6 @@ source_set("v8_base") {
"src/layout-descriptor.h",
"src/list-inl.h",
"src/list.h",
- "src/lithium-allocator-inl.h",
- "src/lithium-allocator.cc",
- "src/lithium-allocator.h",
- "src/lithium-codegen.cc",
- "src/lithium-codegen.h",
- "src/lithium.cc",
- "src/lithium.h",
"src/log-inl.h",
"src/log-utils.cc",
"src/log-utils.h",
@@ -1242,8 +1245,6 @@ source_set("v8_base") {
"src/typing-asm.h",
"src/typing-reset.cc",
"src/typing-reset.h",
- "src/typing.cc",
- "src/typing.h",
"src/unicode-inl.h",
"src/unicode.cc",
"src/unicode.h",
@@ -1251,7 +1252,6 @@ source_set("v8_base") {
"src/unicode-cache.h",
"src/unicode-decoder.cc",
"src/unicode-decoder.h",
- "src/unique.h",
"src/utils.cc",
"src/utils.h",
"src/v8.cc",
@@ -1276,6 +1276,17 @@ source_set("v8_base") {
if (v8_target_arch == "x86") {
sources += [
+ "src/crankshaft/ia32/lithium-codegen-ia32.cc",
+ "src/crankshaft/ia32/lithium-codegen-ia32.h",
+ "src/crankshaft/ia32/lithium-gap-resolver-ia32.cc",
+ "src/crankshaft/ia32/lithium-gap-resolver-ia32.h",
+ "src/crankshaft/ia32/lithium-ia32.cc",
+ "src/crankshaft/ia32/lithium-ia32.h",
+ "src/compiler/ia32/code-generator-ia32.cc",
+ "src/compiler/ia32/instruction-codes-ia32.h",
+ "src/compiler/ia32/instruction-selector-ia32.cc",
+ "src/debug/ia32/debug-ia32.cc",
+ "src/full-codegen/ia32/full-codegen-ia32.cc",
"src/ia32/assembler-ia32-inl.h",
"src/ia32/assembler-ia32.cc",
"src/ia32/assembler-ia32.h",
@@ -1290,19 +1301,8 @@ source_set("v8_base") {
"src/ia32/frames-ia32.cc",
"src/ia32/frames-ia32.h",
"src/ia32/interface-descriptors-ia32.cc",
- "src/ia32/lithium-codegen-ia32.cc",
- "src/ia32/lithium-codegen-ia32.h",
- "src/ia32/lithium-gap-resolver-ia32.cc",
- "src/ia32/lithium-gap-resolver-ia32.h",
- "src/ia32/lithium-ia32.cc",
- "src/ia32/lithium-ia32.h",
"src/ia32/macro-assembler-ia32.cc",
"src/ia32/macro-assembler-ia32.h",
- "src/compiler/ia32/code-generator-ia32.cc",
- "src/compiler/ia32/instruction-codes-ia32.h",
- "src/compiler/ia32/instruction-selector-ia32.cc",
- "src/debug/ia32/debug-ia32.cc",
- "src/full-codegen/ia32/full-codegen-ia32.cc",
"src/ic/ia32/access-compiler-ia32.cc",
"src/ic/ia32/handler-compiler-ia32.cc",
"src/ic/ia32/ic-ia32.cc",
@@ -1313,6 +1313,24 @@ source_set("v8_base") {
]
} else if (v8_target_arch == "x64") {
sources += [
+ "src/compiler/x64/code-generator-x64.cc",
+ "src/compiler/x64/instruction-codes-x64.h",
+ "src/compiler/x64/instruction-selector-x64.cc",
+ "src/crankshaft/x64/lithium-codegen-x64.cc",
+ "src/crankshaft/x64/lithium-codegen-x64.h",
+ "src/crankshaft/x64/lithium-gap-resolver-x64.cc",
+ "src/crankshaft/x64/lithium-gap-resolver-x64.h",
+ "src/crankshaft/x64/lithium-x64.cc",
+ "src/crankshaft/x64/lithium-x64.h",
+ "src/debug/x64/debug-x64.cc",
+ "src/full-codegen/x64/full-codegen-x64.cc",
+ "src/ic/x64/access-compiler-x64.cc",
+ "src/ic/x64/handler-compiler-x64.cc",
+ "src/ic/x64/ic-x64.cc",
+ "src/ic/x64/ic-compiler-x64.cc",
+ "src/ic/x64/stub-cache-x64.cc",
+ "src/regexp/x64/regexp-macro-assembler-x64.cc",
+ "src/regexp/x64/regexp-macro-assembler-x64.h",
"src/x64/assembler-x64-inl.h",
"src/x64/assembler-x64.cc",
"src/x64/assembler-x64.h",
@@ -1327,26 +1345,8 @@ source_set("v8_base") {
"src/x64/frames-x64.cc",
"src/x64/frames-x64.h",
"src/x64/interface-descriptors-x64.cc",
- "src/x64/lithium-codegen-x64.cc",
- "src/x64/lithium-codegen-x64.h",
- "src/x64/lithium-gap-resolver-x64.cc",
- "src/x64/lithium-gap-resolver-x64.h",
- "src/x64/lithium-x64.cc",
- "src/x64/lithium-x64.h",
"src/x64/macro-assembler-x64.cc",
"src/x64/macro-assembler-x64.h",
- "src/compiler/x64/code-generator-x64.cc",
- "src/compiler/x64/instruction-codes-x64.h",
- "src/compiler/x64/instruction-selector-x64.cc",
- "src/debug/x64/debug-x64.cc",
- "src/full-codegen/x64/full-codegen-x64.cc",
- "src/ic/x64/access-compiler-x64.cc",
- "src/ic/x64/handler-compiler-x64.cc",
- "src/ic/x64/ic-x64.cc",
- "src/ic/x64/ic-compiler-x64.cc",
- "src/ic/x64/stub-cache-x64.cc",
- "src/regexp/x64/regexp-macro-assembler-x64.cc",
- "src/regexp/x64/regexp-macro-assembler-x64.h",
]
} else if (v8_target_arch == "arm") {
sources += [
@@ -1367,12 +1367,6 @@ source_set("v8_base") {
"src/arm/frames-arm.h",
"src/arm/interface-descriptors-arm.cc",
"src/arm/interface-descriptors-arm.h",
- "src/arm/lithium-arm.cc",
- "src/arm/lithium-arm.h",
- "src/arm/lithium-codegen-arm.cc",
- "src/arm/lithium-codegen-arm.h",
- "src/arm/lithium-gap-resolver-arm.cc",
- "src/arm/lithium-gap-resolver-arm.h",
"src/arm/macro-assembler-arm.cc",
"src/arm/macro-assembler-arm.h",
"src/arm/simulator-arm.cc",
@@ -1380,6 +1374,12 @@ source_set("v8_base") {
"src/compiler/arm/code-generator-arm.cc",
"src/compiler/arm/instruction-codes-arm.h",
"src/compiler/arm/instruction-selector-arm.cc",
+ "src/crankshaft/arm/lithium-arm.cc",
+ "src/crankshaft/arm/lithium-arm.h",
+ "src/crankshaft/arm/lithium-codegen-arm.cc",
+ "src/crankshaft/arm/lithium-codegen-arm.h",
+ "src/crankshaft/arm/lithium-gap-resolver-arm.cc",
+ "src/crankshaft/arm/lithium-gap-resolver-arm.h",
"src/debug/arm/debug-arm.cc",
"src/full-codegen/arm/full-codegen-arm.cc",
"src/ic/arm/access-compiler-arm.cc",
@@ -1405,9 +1405,6 @@ source_set("v8_base") {
"src/arm64/decoder-arm64.cc",
"src/arm64/decoder-arm64.h",
"src/arm64/decoder-arm64-inl.h",
- "src/arm64/delayed-masm-arm64.cc",
- "src/arm64/delayed-masm-arm64.h",
- "src/arm64/delayed-masm-arm64-inl.h",
"src/arm64/deoptimizer-arm64.cc",
"src/arm64/disasm-arm64.cc",
"src/arm64/disasm-arm64.h",
@@ -1419,12 +1416,6 @@ source_set("v8_base") {
"src/arm64/instrument-arm64.h",
"src/arm64/interface-descriptors-arm64.cc",
"src/arm64/interface-descriptors-arm64.h",
- "src/arm64/lithium-arm64.cc",
- "src/arm64/lithium-arm64.h",
- "src/arm64/lithium-codegen-arm64.cc",
- "src/arm64/lithium-codegen-arm64.h",
- "src/arm64/lithium-gap-resolver-arm64.cc",
- "src/arm64/lithium-gap-resolver-arm64.h",
"src/arm64/macro-assembler-arm64.cc",
"src/arm64/macro-assembler-arm64.h",
"src/arm64/macro-assembler-arm64-inl.h",
@@ -1435,6 +1426,15 @@ source_set("v8_base") {
"src/compiler/arm64/code-generator-arm64.cc",
"src/compiler/arm64/instruction-codes-arm64.h",
"src/compiler/arm64/instruction-selector-arm64.cc",
+ "src/crankshaft/arm64/delayed-masm-arm64.cc",
+ "src/crankshaft/arm64/delayed-masm-arm64.h",
+ "src/crankshaft/arm64/delayed-masm-arm64-inl.h",
+ "src/crankshaft/arm64/lithium-arm64.cc",
+ "src/crankshaft/arm64/lithium-arm64.h",
+ "src/crankshaft/arm64/lithium-codegen-arm64.cc",
+ "src/crankshaft/arm64/lithium-codegen-arm64.h",
+ "src/crankshaft/arm64/lithium-gap-resolver-arm64.cc",
+ "src/crankshaft/arm64/lithium-gap-resolver-arm64.h",
"src/debug/arm64/debug-arm64.cc",
"src/full-codegen/arm64/full-codegen-arm64.cc",
"src/ic/arm64/access-compiler-arm64.cc",
@@ -1447,6 +1447,22 @@ source_set("v8_base") {
]
} else if (v8_target_arch == "mipsel") {
sources += [
+ "src/compiler/mips/code-generator-mips.cc",
+ "src/compiler/mips/instruction-codes-mips.h",
+ "src/compiler/mips/instruction-selector-mips.cc",
+ "src/crankshaft/mips/lithium-codegen-mips.cc",
+ "src/crankshaft/mips/lithium-codegen-mips.h",
+ "src/crankshaft/mips/lithium-gap-resolver-mips.cc",
+ "src/crankshaft/mips/lithium-gap-resolver-mips.h",
+ "src/crankshaft/mips/lithium-mips.cc",
+ "src/crankshaft/mips/lithium-mips.h",
+ "src/debug/mips/debug-mips.cc",
+ "src/full-codegen/mips/full-codegen-mips.cc",
+ "src/ic/mips/access-compiler-mips.cc",
+ "src/ic/mips/handler-compiler-mips.cc",
+ "src/ic/mips/ic-mips.cc",
+ "src/ic/mips/ic-compiler-mips.cc",
+ "src/ic/mips/stub-cache-mips.cc",
"src/mips/assembler-mips.cc",
"src/mips/assembler-mips.h",
"src/mips/assembler-mips-inl.h",
@@ -1463,31 +1479,31 @@ source_set("v8_base") {
"src/mips/frames-mips.cc",
"src/mips/frames-mips.h",
"src/mips/interface-descriptors-mips.cc",
- "src/mips/lithium-codegen-mips.cc",
- "src/mips/lithium-codegen-mips.h",
- "src/mips/lithium-gap-resolver-mips.cc",
- "src/mips/lithium-gap-resolver-mips.h",
- "src/mips/lithium-mips.cc",
- "src/mips/lithium-mips.h",
"src/mips/macro-assembler-mips.cc",
"src/mips/macro-assembler-mips.h",
"src/mips/simulator-mips.cc",
"src/mips/simulator-mips.h",
- "src/compiler/mips/code-generator-mips.cc",
- "src/compiler/mips/instruction-codes-mips.h",
- "src/compiler/mips/instruction-selector-mips.cc",
- "src/debug/mips/debug-mips.cc",
- "src/full-codegen/mips/full-codegen-mips.cc",
- "src/ic/mips/access-compiler-mips.cc",
- "src/ic/mips/handler-compiler-mips.cc",
- "src/ic/mips/ic-mips.cc",
- "src/ic/mips/ic-compiler-mips.cc",
- "src/ic/mips/stub-cache-mips.cc",
"src/regexp/mips/regexp-macro-assembler-mips.cc",
"src/regexp/mips/regexp-macro-assembler-mips.h",
]
} else if (v8_target_arch == "mips64el") {
sources += [
+ "compiler/mips64/code-generator-mips64.cc",
+ "compiler/mips64/instruction-codes-mips64.h",
+ "compiler/mips64/instruction-selector-mips64.cc",
+ "src/crankshaft/mips64/lithium-codegen-mips64.cc",
+ "src/crankshaft/mips64/lithium-codegen-mips64.h",
+ "src/crankshaft/mips64/lithium-gap-resolver-mips64.cc",
+ "src/crankshaft/mips64/lithium-gap-resolver-mips64.h",
+ "src/crankshaft/mips64/lithium-mips64.cc",
+ "src/crankshaft/mips64/lithium-mips64.h",
+ "src/debug/mips64/debug-mips64.cc",
+ "src/full-codegen/mips64/full-codegen-mips64.cc",
+ "src/ic/mips64/access-compiler-mips64.cc",
+ "src/ic/mips64/handler-compiler-mips64.cc",
+ "src/ic/mips64/ic-mips64.cc",
+ "src/ic/mips64/ic-compiler-mips64.cc",
+ "src/ic/mips64/stub-cache-mips64.cc",
"src/mips64/assembler-mips64.cc",
"src/mips64/assembler-mips64.h",
"src/mips64/assembler-mips64-inl.h",
@@ -1504,23 +1520,10 @@ source_set("v8_base") {
"src/mips64/frames-mips64.cc",
"src/mips64/frames-mips64.h",
"src/mips64/interface-descriptors-mips64.cc",
- "src/mips64/lithium-codegen-mips64.cc",
- "src/mips64/lithium-codegen-mips64.h",
- "src/mips64/lithium-gap-resolver-mips64.cc",
- "src/mips64/lithium-gap-resolver-mips64.h",
- "src/mips64/lithium-mips64.cc",
- "src/mips64/lithium-mips64.h",
"src/mips64/macro-assembler-mips64.cc",
"src/mips64/macro-assembler-mips64.h",
"src/mips64/simulator-mips64.cc",
"src/mips64/simulator-mips64.h",
- "src/debug/mips64/debug-mips64.cc",
- "src/full-codegen/mips64/full-codegen-mips64.cc",
- "src/ic/mips64/access-compiler-mips64.cc",
- "src/ic/mips64/handler-compiler-mips64.cc",
- "src/ic/mips64/ic-mips64.cc",
- "src/ic/mips64/ic-compiler-mips64.cc",
- "src/ic/mips64/stub-cache-mips64.cc",
"src/regexp/mips64/regexp-macro-assembler-mips64.cc",
"src/regexp/mips64/regexp-macro-assembler-mips64.h",
]
« no previous file with comments | « no previous file | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698