summaryrefslogtreecommitdiff
path: root/deps/v8/BUILD.gn
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-09-12 11:34:59 +0200
committerAnna Henningsen <anna@addaleax.net>2017-09-13 16:15:18 +0200
commitd82e1075dbc2cec2d6598ade10c1f43805f690fd (patch)
treeccd242b9b491dfc341d1099fe11b0ef528839877 /deps/v8/BUILD.gn
parentb4b7ac6ae811b2b5a3082468115dfb5a5246fe3f (diff)
downloadandroid-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.gz
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.bz2
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.zip
deps: update V8 to 6.1.534.36
PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/BUILD.gn')
-rw-r--r--deps/v8/BUILD.gn315
1 files changed, 107 insertions, 208 deletions
diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn
index b60425df45..494ba22f29 100644
--- a/deps/v8/BUILD.gn
+++ b/deps/v8/BUILD.gn
@@ -24,9 +24,6 @@ declare_args() {
# Sets -DV8_ENABLE_FUTURE.
v8_enable_future = false
- # Sets -DV8_DISABLE_TURBO.
- v8_disable_turbo = false
-
# Sets -DVERIFY_HEAP.
v8_enable_verify_heap = ""
@@ -82,6 +79,10 @@ declare_args() {
# Sets -dV8_CONCURRENT_MARKING
v8_enable_concurrent_marking = false
+ # Build the snapshot with unwinding information for perf.
+ # Sets -dV8_USE_SNAPSHOT_WITH_UNWINDING_INFO.
+ v8_perf_prof_unwinding_info = false
+
# With post mortem support enabled, metadata is embedded into libv8 that
# describes various parameters of the VM for use by debuggers. See
# tools/gen-postmortem-metadata.py for details.
@@ -111,9 +112,13 @@ declare_args() {
v8_experimental_extra_library_files =
[ "//test/cctest/test-experimental-extra.js" ]
- v8_enable_gdbjit = ((v8_current_cpu == "x86" || v8_current_cpu == "x64" ||
- v8_current_cpu == "x87") && (is_linux || is_mac)) ||
- (v8_current_cpu == "ppc64" && is_linux)
+ v8_enable_gdbjit =
+ ((v8_current_cpu == "x86" || v8_current_cpu == "x64") &&
+ (is_linux || is_mac)) || (v8_current_cpu == "ppc64" && is_linux)
+
+ # Temporary flag to allow embedders to update their microtasks scopes
+ # while rolling in a new version of V8.
+ v8_check_microtasks_scopes_consistency = ""
}
# Derived defaults.
@@ -132,6 +137,9 @@ if (v8_enable_trace_maps == "") {
if (v8_enable_v8_checks == "") {
v8_enable_v8_checks = is_debug
}
+if (v8_check_microtasks_scopes_consistency == "") {
+ v8_check_microtasks_scopes_consistency = is_debug || dcheck_always_on
+}
# Specifies if the target build is a simulator build. Comparing target cpu
# with v8 target cpu to not affect simulator builds for making cross-compile
@@ -219,9 +227,6 @@ config("features") {
if (v8_enable_future) {
defines += [ "V8_ENABLE_FUTURE" ]
}
- if (v8_disable_turbo) {
- defines += [ "V8_DISABLE_TURBO" ]
- }
if (v8_enable_gdbjit) {
defines += [ "ENABLE_GDB_JIT_INTERFACE" ]
}
@@ -263,6 +268,9 @@ config("features") {
}
if (v8_use_snapshot) {
defines += [ "V8_USE_SNAPSHOT" ]
+ if (v8_perf_prof_unwinding_info) {
+ defines += [ "V8_USE_SNAPSHOT_WITH_UNWINDING_INFO" ]
+ }
}
if (v8_use_external_startup_data) {
defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
@@ -270,6 +278,9 @@ config("features") {
if (v8_enable_concurrent_marking) {
defines += [ "V8_CONCURRENT_MARKING" ]
}
+ if (v8_check_microtasks_scopes_consistency) {
+ defines += [ "V8_CHECK_MICROTASKS_SCOPES_CONSISTENCY" ]
+ }
}
config("toolchain") {
@@ -320,8 +331,7 @@ config("toolchain") {
defines += [ "_MIPS_TARGET_SIMULATOR" ]
}
- # TODO(jochen): Add support for mips.
- if (v8_current_cpu == "mipsel") {
+ if (v8_current_cpu == "mipsel" || v8_current_cpu == "mips") {
defines += [ "V8_TARGET_ARCH_MIPS" ]
if (v8_can_use_fpu_instructions) {
defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
@@ -355,15 +365,17 @@ config("toolchain") {
# TODO(jochen): Add support for mips_arch_variant rx and loongson.
}
- # TODO(jochen): Add support for mips64.
- if (v8_current_cpu == "mips64el") {
+ if (v8_current_cpu == "mips64el" || v8_current_cpu == "mips64") {
defines += [ "V8_TARGET_ARCH_MIPS64" ]
if (v8_can_use_fpu_instructions) {
defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
}
- # TODO(jochen): Add support for big endian host byteorder.
- defines += [ "V8_TARGET_ARCH_MIPS64_LE" ]
+ if (host_byteorder == "little") {
+ defines += [ "V8_TARGET_ARCH_MIPS64_LE" ]
+ } else if (host_byteorder == "big") {
+ defines += [ "V8_TARGET_ARCH_MIPS64_BE" ]
+ }
if (v8_use_mips_abi_hardfloat) {
defines += [
"__mips_hard_float=1",
@@ -496,6 +508,19 @@ config("toolchain") {
}
}
+# Configs for code coverage with gcov. Separate configs for cflags and ldflags
+# to selectively influde cflags in non-test targets only.
+config("v8_gcov_coverage_cflags") {
+ cflags = [
+ "-fprofile-arcs",
+ "-ftest-coverage",
+ ]
+}
+
+config("v8_gcov_coverage_ldflags") {
+ ldflags = [ "-fprofile-arcs" ]
+}
+
###############################################################################
# Actions
#
@@ -523,8 +548,6 @@ action("js2c") {
"src/js/typedarray.js",
"src/js/collection.js",
"src/js/weak-collection.js",
- "src/js/collection-iterator.js",
- "src/js/promise.js",
"src/js/messages.js",
"src/js/templates.js",
"src/js/spread.js",
@@ -703,6 +726,12 @@ action("postmortem-metadata") {
"src/objects-inl.h",
"src/objects/map.h",
"src/objects/map-inl.h",
+ "src/objects/script.h",
+ "src/objects/script-inl.h",
+ "src/objects/shared-function-info.h",
+ "src/objects/shared-function-info-inl.h",
+ "src/objects/string.h",
+ "src/objects/string-inl.h",
]
outputs = [
@@ -750,6 +779,10 @@ action("run_mksnapshot") {
]
}
+ if (v8_perf_prof_unwinding_info) {
+ args += [ "--perf-prof-unwinding-info" ]
+ }
+
if (v8_use_external_startup_data) {
outputs += [ "$root_out_dir/snapshot_blob.bin" ]
args += [
@@ -769,6 +802,7 @@ action("v8_dump_build_config") {
outputs = [
"$root_out_dir/v8_build_config.json",
]
+ is_gcov_coverage = v8_code_coverage && !is_clang
args = [
rebase_path("$root_out_dir/v8_build_config.json", root_build_dir),
"current_cpu=\"$current_cpu\"",
@@ -777,6 +811,7 @@ action("v8_dump_build_config") {
"is_cfi=$is_cfi",
"is_component_build=$is_component_build",
"is_debug=$is_debug",
+ "is_gcov_coverage=$is_gcov_coverage",
"is_msan=$is_msan",
"is_tsan=$is_tsan",
"target_cpu=\"$target_cpu\"",
@@ -907,12 +942,16 @@ v8_source_set("v8_builtins_generators") {
"src/builtins/builtins-async-iterator-gen.cc",
"src/builtins/builtins-boolean-gen.cc",
"src/builtins/builtins-call-gen.cc",
+ "src/builtins/builtins-call-gen.h",
+ "src/builtins/builtins-collections-gen.cc",
"src/builtins/builtins-console-gen.cc",
"src/builtins/builtins-constructor-gen.cc",
"src/builtins/builtins-constructor-gen.h",
"src/builtins/builtins-constructor.h",
"src/builtins/builtins-conversion-gen.cc",
+ "src/builtins/builtins-conversion-gen.h",
"src/builtins/builtins-date-gen.cc",
+ "src/builtins/builtins-debug-gen.cc",
"src/builtins/builtins-forin-gen.cc",
"src/builtins/builtins-forin-gen.h",
"src/builtins/builtins-function-gen.cc",
@@ -923,11 +962,14 @@ v8_source_set("v8_builtins_generators") {
"src/builtins/builtins-internal-gen.cc",
"src/builtins/builtins-interpreter-gen.cc",
"src/builtins/builtins-intl-gen.cc",
+ "src/builtins/builtins-iterator-gen.cc",
+ "src/builtins/builtins-iterator-gen.h",
"src/builtins/builtins-math-gen.cc",
"src/builtins/builtins-number-gen.cc",
"src/builtins/builtins-object-gen.cc",
"src/builtins/builtins-promise-gen.cc",
"src/builtins/builtins-promise-gen.h",
+ "src/builtins/builtins-proxy-gen.cc",
"src/builtins/builtins-regexp-gen.cc",
"src/builtins/builtins-regexp-gen.h",
"src/builtins/builtins-sharedarraybuffer-gen.cc",
@@ -994,11 +1036,6 @@ v8_source_set("v8_builtins_generators") {
### gcmole(arch:s390) ###
"src/builtins/s390/builtins-s390.cc",
]
- } else if (v8_current_cpu == "x87") {
- sources += [
- ### gcmole(arch:x87) ###
- "src/builtins/x87/builtins-x87.cc",
- ]
}
if (!v8_enable_i18n_support) {
@@ -1053,6 +1090,9 @@ v8_header_set("v8_headers") {
v8_source_set("v8_base") {
visibility = [ ":*" ] # Only targets in this file can depend on this.
+ # Split static libraries on windows into two.
+ split_count = 2
+
sources = [
"//base/trace_event/common/trace_event_common.h",
@@ -1070,7 +1110,6 @@ v8_source_set("v8_base") {
"src/accessors.h",
"src/address-map.cc",
"src/address-map.h",
- "src/allocation-site-scopes.cc",
"src/allocation-site-scopes.h",
"src/allocation.cc",
"src/allocation.h",
@@ -1105,10 +1144,8 @@ v8_source_set("v8_base") {
"src/ast/ast-function-literal-id-reindexer.h",
"src/ast/ast-numbering.cc",
"src/ast/ast-numbering.h",
+ "src/ast/ast-source-ranges.h",
"src/ast/ast-traversal-visitor.h",
- "src/ast/ast-type-bounds.h",
- "src/ast/ast-types.cc",
- "src/ast/ast-types.h",
"src/ast/ast-value-factory.cc",
"src/ast/ast-value-factory.h",
"src/ast/ast.cc",
@@ -1145,11 +1182,11 @@ v8_source_set("v8_base") {
"src/builtins/builtins-boolean.cc",
"src/builtins/builtins-call.cc",
"src/builtins/builtins-callsite.cc",
+ "src/builtins/builtins-collections.cc",
"src/builtins/builtins-console.cc",
"src/builtins/builtins-constructor.h",
"src/builtins/builtins-dataview.cc",
"src/builtins/builtins-date.cc",
- "src/builtins/builtins-debug.cc",
"src/builtins/builtins-definitions.h",
"src/builtins/builtins-descriptors.h",
"src/builtins/builtins-error.cc",
@@ -1158,11 +1195,12 @@ v8_source_set("v8_base") {
"src/builtins/builtins-internal.cc",
"src/builtins/builtins-interpreter.cc",
"src/builtins/builtins-intl.cc",
+ "src/builtins/builtins-intl.h",
"src/builtins/builtins-json.cc",
"src/builtins/builtins-math.cc",
"src/builtins/builtins-number.cc",
"src/builtins/builtins-object.cc",
- "src/builtins/builtins-proxy.cc",
+ "src/builtins/builtins-promise.cc",
"src/builtins/builtins-reflect.cc",
"src/builtins/builtins-regexp.cc",
"src/builtins/builtins-sharedarraybuffer.cc",
@@ -1186,7 +1224,6 @@ v8_source_set("v8_base") {
"src/code-factory.h",
"src/code-stub-assembler.cc",
"src/code-stub-assembler.h",
- "src/code-stubs-hydrogen.cc",
"src/code-stubs-utils.h",
"src/code-stubs.cc",
"src/code-stubs.h",
@@ -1232,6 +1269,8 @@ v8_source_set("v8_base") {
"src/compiler/bytecode-liveness-map.cc",
"src/compiler/bytecode-liveness-map.h",
"src/compiler/c-linkage.cc",
+ "src/compiler/check-elimination.cc",
+ "src/compiler/check-elimination.h",
"src/compiler/checkpoint-elimination.cc",
"src/compiler/checkpoint-elimination.h",
"src/compiler/code-assembler.cc",
@@ -1324,8 +1363,6 @@ v8_source_set("v8_base") {
"src/compiler/linkage.h",
"src/compiler/live-range-separator.cc",
"src/compiler/live-range-separator.h",
- "src/compiler/liveness-analyzer.cc",
- "src/compiler/liveness-analyzer.h",
"src/compiler/load-elimination.cc",
"src/compiler/load-elimination.h",
"src/compiler/loop-analysis.cc",
@@ -1369,6 +1406,8 @@ v8_source_set("v8_base") {
"src/compiler/pipeline-statistics.h",
"src/compiler/pipeline.cc",
"src/compiler/pipeline.h",
+ "src/compiler/property-access-builder.cc",
+ "src/compiler/property-access-builder.h",
"src/compiler/raw-machine-assembler.cc",
"src/compiler/raw-machine-assembler.h",
"src/compiler/redundancy-elimination.cc",
@@ -1397,8 +1436,6 @@ v8_source_set("v8_base") {
"src/compiler/state-values-utils.h",
"src/compiler/store-store-elimination.cc",
"src/compiler/store-store-elimination.h",
- "src/compiler/tail-call-optimization.cc",
- "src/compiler/tail-call-optimization.h",
"src/compiler/type-cache.cc",
"src/compiler/type-cache.h",
"src/compiler/typed-optimization.cc",
@@ -1426,67 +1463,6 @@ v8_source_set("v8_base") {
"src/counters-inl.h",
"src/counters.cc",
"src/counters.h",
- "src/crankshaft/compilation-phase.cc",
- "src/crankshaft/compilation-phase.h",
- "src/crankshaft/hydrogen-alias-analysis.h",
- "src/crankshaft/hydrogen-bce.cc",
- "src/crankshaft/hydrogen-bce.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-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-inl.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",
@@ -1518,7 +1494,6 @@ v8_source_set("v8_base") {
"src/double.h",
"src/dtoa.cc",
"src/dtoa.h",
- "src/effects.h",
"src/eh-frame.cc",
"src/eh-frame.h",
"src/elements-kind.cc",
@@ -1560,6 +1535,7 @@ v8_source_set("v8_base") {
"src/flag-definitions.h",
"src/flags.cc",
"src/flags.h",
+ "src/float.h",
"src/frames-inl.h",
"src/frames.cc",
"src/frames.h",
@@ -1581,7 +1557,6 @@ v8_source_set("v8_base") {
"src/heap/array-buffer-tracker.h",
"src/heap/code-stats.cc",
"src/heap/code-stats.h",
- "src/heap/concurrent-marking-deque.h",
"src/heap/concurrent-marking.cc",
"src/heap/concurrent-marking.h",
"src/heap/embedder-tracing.cc",
@@ -1599,9 +1574,11 @@ v8_source_set("v8_base") {
"src/heap/incremental-marking.cc",
"src/heap/incremental-marking.h",
"src/heap/item-parallel-job.h",
+ "src/heap/local-allocator.h",
"src/heap/mark-compact-inl.h",
"src/heap/mark-compact.cc",
"src/heap/mark-compact.h",
+ "src/heap/marking.cc",
"src/heap/marking.h",
"src/heap/memory-reducer.cc",
"src/heap/memory-reducer.h",
@@ -1610,7 +1587,6 @@ v8_source_set("v8_base") {
"src/heap/objects-visiting-inl.h",
"src/heap/objects-visiting.cc",
"src/heap/objects-visiting.h",
- "src/heap/page-parallel-job.h",
"src/heap/remembered-set.h",
"src/heap/scavenge-job.cc",
"src/heap/scavenge-job.h",
@@ -1625,7 +1601,7 @@ v8_source_set("v8_base") {
"src/heap/spaces.h",
"src/heap/store-buffer.cc",
"src/heap/store-buffer.h",
- "src/heap/workstealing-marking-deque.h",
+ "src/heap/worklist.h",
"src/ic/access-compiler-data.h",
"src/ic/access-compiler.cc",
"src/ic/access-compiler.h",
@@ -1650,6 +1626,7 @@ v8_source_set("v8_base") {
"src/identity-map.h",
"src/interface-descriptors.cc",
"src/interface-descriptors.h",
+ "src/interpreter/block-coverage-builder.h",
"src/interpreter/bytecode-array-accessor.cc",
"src/interpreter/bytecode-array-accessor.h",
"src/interpreter/bytecode-array-builder.cc",
@@ -1740,10 +1717,15 @@ v8_source_set("v8_base") {
"src/objects-printer.cc",
"src/objects.cc",
"src/objects.h",
+ "src/objects/arguments-inl.h",
+ "src/objects/arguments.h",
"src/objects/code-cache-inl.h",
"src/objects/code-cache.h",
"src/objects/compilation-cache-inl.h",
"src/objects/compilation-cache.h",
+ "src/objects/debug-objects-inl.h",
+ "src/objects/debug-objects.cc",
+ "src/objects/debug-objects.h",
"src/objects/descriptor-array.h",
"src/objects/dictionary.h",
"src/objects/frame-array-inl.h",
@@ -1757,12 +1739,20 @@ v8_source_set("v8_base") {
"src/objects/map-inl.h",
"src/objects/map.h",
"src/objects/module-info.h",
+ "src/objects/name-inl.h",
+ "src/objects/name.h",
"src/objects/object-macros-undef.h",
"src/objects/object-macros.h",
"src/objects/regexp-match-info.h",
"src/objects/scope-info.cc",
"src/objects/scope-info.h",
+ "src/objects/script-inl.h",
+ "src/objects/script.h",
+ "src/objects/shared-function-info-inl.h",
+ "src/objects/shared-function-info.h",
+ "src/objects/string-inl.h",
"src/objects/string-table.h",
+ "src/objects/string.h",
"src/ostreams.cc",
"src/ostreams.h",
"src/parsing/duplicate-finder.h",
@@ -1948,8 +1938,6 @@ v8_source_set("v8_base") {
"src/trap-handler/trap-handler.h",
"src/type-hints.cc",
"src/type-hints.h",
- "src/type-info.cc",
- "src/type-info.h",
"src/unicode-cache-inl.h",
"src/unicode-cache.h",
"src/unicode-decoder.cc",
@@ -1976,6 +1964,8 @@ v8_source_set("v8_base") {
"src/visitors.h",
"src/vm-state-inl.h",
"src/vm-state.h",
+ "src/wasm/compilation-manager.cc",
+ "src/wasm/compilation-manager.h",
"src/wasm/decoder.h",
"src/wasm/function-body-decoder-impl.h",
"src/wasm/function-body-decoder.cc",
@@ -1983,6 +1973,8 @@ v8_source_set("v8_base") {
"src/wasm/leb-helper.h",
"src/wasm/local-decl-encoder.cc",
"src/wasm/local-decl-encoder.h",
+ "src/wasm/module-compiler.cc",
+ "src/wasm/module-compiler.h",
"src/wasm/module-decoder.cc",
"src/wasm/module-decoder.h",
"src/wasm/signature-map.cc",
@@ -2011,6 +2003,7 @@ v8_source_set("v8_base") {
"src/wasm/wasm-result.h",
"src/wasm/wasm-text.cc",
"src/wasm/wasm-text.h",
+ "src/wasm/wasm-value.h",
"src/zone/accounting-allocator.cc",
"src/zone/accounting-allocator.h",
"src/zone/zone-allocator.h",
@@ -2030,12 +2023,6 @@ v8_source_set("v8_base") {
"src/compiler/ia32/instruction-codes-ia32.h",
"src/compiler/ia32/instruction-scheduler-ia32.cc",
"src/compiler/ia32/instruction-selector-ia32.cc",
- "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/debug/ia32/debug-ia32.cc",
"src/full-codegen/ia32/full-codegen-ia32.cc",
"src/ia32/assembler-ia32-inl.h",
@@ -2070,12 +2057,6 @@ v8_source_set("v8_base") {
"src/compiler/x64/instruction-selector-x64.cc",
"src/compiler/x64/unwinding-info-writer-x64.cc",
"src/compiler/x64/unwinding-info-writer-x64.h",
- "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",
@@ -2136,12 +2117,6 @@ v8_source_set("v8_base") {
"src/compiler/arm/instruction-selector-arm.cc",
"src/compiler/arm/unwinding-info-writer-arm.cc",
"src/compiler/arm/unwinding-info-writer-arm.h",
- "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",
@@ -2181,6 +2156,7 @@ v8_source_set("v8_base") {
"src/arm64/macro-assembler-arm64.h",
"src/arm64/simulator-arm64.cc",
"src/arm64/simulator-arm64.h",
+ "src/arm64/simulator-logic-arm64.cc",
"src/arm64/utils-arm64.cc",
"src/arm64/utils-arm64.h",
"src/compiler/arm64/code-generator-arm64.cc",
@@ -2189,15 +2165,6 @@ v8_source_set("v8_base") {
"src/compiler/arm64/instruction-selector-arm64.cc",
"src/compiler/arm64/unwinding-info-writer-arm64.cc",
"src/compiler/arm64/unwinding-info-writer-arm64.h",
- "src/crankshaft/arm64/delayed-masm-arm64-inl.h",
- "src/crankshaft/arm64/delayed-masm-arm64.cc",
- "src/crankshaft/arm64/delayed-masm-arm64.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",
@@ -2212,12 +2179,6 @@ v8_source_set("v8_base") {
"src/compiler/mips/instruction-codes-mips.h",
"src/compiler/mips/instruction-scheduler-mips.cc",
"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",
@@ -2251,12 +2212,6 @@ v8_source_set("v8_base") {
"src/compiler/mips64/instruction-codes-mips64.h",
"src/compiler/mips64/instruction-scheduler-mips64.cc",
"src/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",
@@ -2290,12 +2245,6 @@ v8_source_set("v8_base") {
"src/compiler/ppc/instruction-codes-ppc.h",
"src/compiler/ppc/instruction-scheduler-ppc.cc",
"src/compiler/ppc/instruction-selector-ppc.cc",
- "src/crankshaft/ppc/lithium-codegen-ppc.cc",
- "src/crankshaft/ppc/lithium-codegen-ppc.h",
- "src/crankshaft/ppc/lithium-gap-resolver-ppc.cc",
- "src/crankshaft/ppc/lithium-gap-resolver-ppc.h",
- "src/crankshaft/ppc/lithium-ppc.cc",
- "src/crankshaft/ppc/lithium-ppc.h",
"src/debug/ppc/debug-ppc.cc",
"src/full-codegen/ppc/full-codegen-ppc.cc",
"src/ic/ppc/access-compiler-ppc.cc",
@@ -2329,12 +2278,6 @@ v8_source_set("v8_base") {
"src/compiler/s390/instruction-codes-s390.h",
"src/compiler/s390/instruction-scheduler-s390.cc",
"src/compiler/s390/instruction-selector-s390.cc",
- "src/crankshaft/s390/lithium-codegen-s390.cc",
- "src/crankshaft/s390/lithium-codegen-s390.h",
- "src/crankshaft/s390/lithium-gap-resolver-s390.cc",
- "src/crankshaft/s390/lithium-gap-resolver-s390.h",
- "src/crankshaft/s390/lithium-s390.cc",
- "src/crankshaft/s390/lithium-s390.h",
"src/debug/s390/debug-s390.cc",
"src/full-codegen/s390/full-codegen-s390.cc",
"src/ic/s390/access-compiler-s390.cc",
@@ -2362,43 +2305,6 @@ v8_source_set("v8_base") {
"src/s390/simulator-s390.cc",
"src/s390/simulator-s390.h",
]
- } else if (v8_current_cpu == "x87") {
- sources += [ ### gcmole(arch:x87) ###
- "src/compiler/x87/code-generator-x87.cc",
- "src/compiler/x87/instruction-codes-x87.h",
- "src/compiler/x87/instruction-scheduler-x87.cc",
- "src/compiler/x87/instruction-selector-x87.cc",
- "src/crankshaft/x87/lithium-codegen-x87.cc",
- "src/crankshaft/x87/lithium-codegen-x87.h",
- "src/crankshaft/x87/lithium-gap-resolver-x87.cc",
- "src/crankshaft/x87/lithium-gap-resolver-x87.h",
- "src/crankshaft/x87/lithium-x87.cc",
- "src/crankshaft/x87/lithium-x87.h",
- "src/debug/x87/debug-x87.cc",
- "src/full-codegen/x87/full-codegen-x87.cc",
- "src/ic/x87/access-compiler-x87.cc",
- "src/ic/x87/handler-compiler-x87.cc",
- "src/ic/x87/ic-x87.cc",
- "src/regexp/x87/regexp-macro-assembler-x87.cc",
- "src/regexp/x87/regexp-macro-assembler-x87.h",
- "src/x87/assembler-x87-inl.h",
- "src/x87/assembler-x87.cc",
- "src/x87/assembler-x87.h",
- "src/x87/code-stubs-x87.cc",
- "src/x87/code-stubs-x87.h",
- "src/x87/codegen-x87.cc",
- "src/x87/codegen-x87.h",
- "src/x87/cpu-x87.cc",
- "src/x87/deoptimizer-x87.cc",
- "src/x87/disasm-x87.cc",
- "src/x87/frames-x87.cc",
- "src/x87/frames-x87.h",
- "src/x87/interface-descriptors-x87.cc",
- "src/x87/macro-assembler-x87.cc",
- "src/x87/macro-assembler-x87.h",
- "src/x87/simulator-x87.cc",
- "src/x87/simulator-x87.h",
- ]
}
configs = [ ":internal_config" ]
@@ -2421,6 +2327,8 @@ v8_source_set("v8_base") {
} else {
sources -= [
"src/builtins/builtins-intl.cc",
+ "src/builtins/builtins-intl.h",
+ "src/char-predicates.cc",
"src/intl.cc",
"src/intl.h",
"src/objects/intl-objects.cc",
@@ -2473,6 +2381,7 @@ v8_component("v8_libbase") {
"src/base/macros.h",
"src/base/once.cc",
"src/base/once.h",
+ "src/base/optional.h",
"src/base/platform/condition-variable.cc",
"src/base/platform/condition-variable.h",
"src/base/platform/elapsed-timer.h",
@@ -2490,6 +2399,7 @@ v8_component("v8_libbase") {
"src/base/safe_math_impl.h",
"src/base/sys-info.cc",
"src/base/sys-info.h",
+ "src/base/template-utils.h",
"src/base/timezone-cache.h",
"src/base/utils/random-number-generator.cc",
"src/base/utils/random-number-generator.h",
@@ -2557,6 +2467,11 @@ v8_component("v8_libbase") {
"src/base/platform/platform-linux.cc",
]
}
+ } else if (is_fuchsia) {
+ sources += [
+ "src/base/debug/stack_trace_fuchsia.cc",
+ "src/base/platform/platform-fuchsia.cc",
+ ]
} else if (is_mac) {
sources += [
"src/base/debug/stack_trace_posix.cc",
@@ -2737,7 +2652,7 @@ group("v8_fuzzers") {
":v8_simple_json_fuzzer",
":v8_simple_parser_fuzzer",
":v8_simple_regexp_fuzzer",
- ":v8_simple_wasm_asmjs_fuzzer",
+ ":v8_simple_wasm_async_fuzzer",
":v8_simple_wasm_call_fuzzer",
":v8_simple_wasm_code_fuzzer",
":v8_simple_wasm_compile_fuzzer",
@@ -2758,10 +2673,6 @@ if (is_component_build) {
"src/v8dll-main.cc",
]
- deps = [
- ":v8_dump_build_config",
- ]
-
public_deps = [
":v8_base",
":v8_maybe_snapshot",
@@ -2779,10 +2690,6 @@ if (is_component_build) {
"src/v8dll-main.cc",
]
- deps = [
- ":v8_dump_build_config",
- ]
-
public_deps = [
":v8_base",
":v8_maybe_snapshot",
@@ -2798,10 +2705,6 @@ if (is_component_build) {
}
} else {
group("v8") {
- deps = [
- ":v8_dump_build_config",
- ]
-
public_deps = [
":v8_base",
":v8_maybe_snapshot",
@@ -2813,10 +2716,6 @@ if (is_component_build) {
group("v8_for_testing") {
testonly = true
- deps = [
- ":v8_dump_build_config",
- ]
-
public_deps = [
":v8_base",
":v8_maybe_snapshot",
@@ -3069,9 +2968,9 @@ v8_source_set("wasm_fuzzer") {
v8_fuzzer("wasm_fuzzer") {
}
-v8_source_set("wasm_asmjs_fuzzer") {
+v8_source_set("wasm_async_fuzzer") {
sources = [
- "test/fuzzer/wasm-asmjs.cc",
+ "test/fuzzer/wasm-async.cc",
]
deps = [
@@ -3086,7 +2985,7 @@ v8_source_set("wasm_asmjs_fuzzer") {
]
}
-v8_fuzzer("wasm_asmjs_fuzzer") {
+v8_fuzzer("wasm_async_fuzzer") {
}
v8_source_set("wasm_code_fuzzer") {