diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-03-07 08:54:53 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-03-07 16:48:52 +0100 |
commit | 88786fecff336342a56e6f2e7ff3b286be716e47 (patch) | |
tree | 92e6ba5b8ac8dae1a058988d20c9d27bfa654390 /deps/v8/BUILD.gn | |
parent | 4e86f9b5ab83cbabf43839385bf383e6a7ef7d19 (diff) | |
download | android-node-v8-88786fecff336342a56e6f2e7ff3b286be716e47.tar.gz android-node-v8-88786fecff336342a56e6f2e7ff3b286be716e47.tar.bz2 android-node-v8-88786fecff336342a56e6f2e7ff3b286be716e47.zip |
deps: update V8 to 6.5.254.31
PR-URL: https://github.com/nodejs/node/pull/18453
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'deps/v8/BUILD.gn')
-rw-r--r-- | deps/v8/BUILD.gn | 75 |
1 files changed, 61 insertions, 14 deletions
diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn index 8492cb5f62..4970765972 100644 --- a/deps/v8/BUILD.gn +++ b/deps/v8/BUILD.gn @@ -89,6 +89,9 @@ declare_args() { # Sets -dV8_CONCURRENT_MARKING v8_enable_concurrent_marking = true + # Enables various testing features. + v8_enable_test_features = "" + # Build the snapshot with unwinding information for perf. # Sets -dV8_USE_SNAPSHOT_WITH_UNWINDING_INFO. v8_perf_prof_unwinding_info = false @@ -133,8 +136,6 @@ declare_args() { # while rolling in a new version of V8. v8_check_microtasks_scopes_consistency = "" - v8_monolithic = false - # Enable mitigations for executing untrusted code. v8_untrusted_code_mitigations = true } @@ -152,6 +153,9 @@ if (v8_enable_disassembler == "") { if (v8_enable_trace_maps == "") { v8_enable_trace_maps = is_debug } +if (v8_enable_test_features == "") { + v8_enable_test_features = is_debug || dcheck_always_on +} if (v8_enable_v8_checks == "") { v8_enable_v8_checks = is_debug } @@ -278,6 +282,10 @@ config("features") { if (v8_enable_trace_feedback_updates) { defines += [ "V8_TRACE_FEEDBACK_UPDATES" ] } + if (v8_enable_test_features) { + defines += [ "V8_ENABLE_ALLOCATION_TIMEOUT" ] + defines += [ "V8_ENABLE_FORCE_SLOW_PATH" ] + } if (v8_enable_v8_checks) { defines += [ "V8_ENABLE_CHECKS" ] } @@ -511,6 +519,12 @@ config("toolchain") { # TODO(hans): Remove once http://crbug.com/428099 is resolved. "-Winconsistent-missing-override", ] + + if (v8_current_cpu != "mips" && v8_current_cpu != "mipsel") { + # We exclude MIPS because the IsMipsArchVariant macro causes trouble. + cflags += [ "-Wunreachable-code" ] + } + if (v8_current_cpu == "x64" || v8_current_cpu == "arm64" || v8_current_cpu == "mips64el") { cflags += [ "-Wshorten-64-to-32" ] @@ -575,12 +589,10 @@ action("js2c") { "src/js/macros.py", "src/messages.h", "src/js/prologue.js", - "src/js/v8natives.js", "src/js/array.js", "src/js/typedarray.js", "src/js/messages.js", "src/js/spread.js", - "src/js/proxy.js", "src/debug/mirrors.js", "src/debug/debug.js", "src/debug/liveedit.js", @@ -755,6 +767,10 @@ action("postmortem-metadata") { "src/objects-inl.h", "src/objects/code-inl.h", "src/objects/code.h", + "src/objects/data-handler.h", + "src/objects/data-handler-inl.h", + "src/objects/fixed-array-inl.h", + "src/objects/fixed-array.h", "src/objects/js-array-inl.h", "src/objects/js-array.h", "src/objects/js-regexp-inl.h", @@ -1680,6 +1696,10 @@ v8_source_set("v8_base") { "src/heap/spaces.h", "src/heap/store-buffer.cc", "src/heap/store-buffer.h", + "src/heap/stress-marking-observer.cc", + "src/heap/stress-marking-observer.h", + "src/heap/stress-scavenge-observer.cc", + "src/heap/stress-scavenge-observer.h", "src/heap/sweeper.cc", "src/heap/sweeper.h", "src/heap/worklist.h", @@ -1803,6 +1823,8 @@ v8_source_set("v8_base") { "src/objects/debug-objects.h", "src/objects/descriptor-array.h", "src/objects/dictionary.h", + "src/objects/fixed-array-inl.h", + "src/objects/fixed-array.h", "src/objects/frame-array-inl.h", "src/objects/frame-array.h", "src/objects/hash-table-inl.h", @@ -1811,6 +1833,8 @@ v8_source_set("v8_base") { "src/objects/intl-objects.h", "src/objects/js-array-inl.h", "src/objects/js-array.h", + "src/objects/js-collection-inl.h", + "src/objects/js-collection.h", "src/objects/js-regexp-inl.h", "src/objects/js-regexp.h", "src/objects/literal-objects-inl.h", @@ -1974,6 +1998,8 @@ v8_source_set("v8_base") { "src/safepoint-table.h", "src/setup-isolate.h", "src/signature.h", + "src/simulator-base.cc", + "src/simulator-base.h", "src/simulator.h", "src/snapshot/builtin-deserializer-allocator.cc", "src/snapshot/builtin-deserializer-allocator.h", @@ -2032,6 +2058,7 @@ v8_source_set("v8_base") { "src/string-stream.h", "src/strtod.cc", "src/strtod.h", + "src/third_party/utf8-decoder/utf8-decoder.h", "src/tracing/trace-event.cc", "src/tracing/trace-event.h", "src/tracing/traced-value.cc", @@ -2066,6 +2093,8 @@ v8_source_set("v8_base") { "src/v8threads.h", "src/value-serializer.cc", "src/value-serializer.h", + "src/vector-slot-pair.cc", + "src/vector-slot-pair.h", "src/vector.h", "src/version.cc", "src/version.h", @@ -2073,9 +2102,11 @@ v8_source_set("v8_base") { "src/visitors.h", "src/vm-state-inl.h", "src/vm-state.h", + "src/wasm/baseline/liftoff-assembler-defs.h", "src/wasm/baseline/liftoff-assembler.cc", "src/wasm/baseline/liftoff-assembler.h", "src/wasm/baseline/liftoff-compiler.cc", + "src/wasm/baseline/liftoff-register.h", "src/wasm/compilation-manager.cc", "src/wasm/compilation-manager.h", "src/wasm/decoder.h", @@ -2097,15 +2128,18 @@ v8_source_set("v8_base") { "src/wasm/streaming-decoder.h", "src/wasm/wasm-api.cc", "src/wasm/wasm-api.h", + "src/wasm/wasm-code-manager.cc", + "src/wasm/wasm-code-manager.h", "src/wasm/wasm-code-specialization.cc", "src/wasm/wasm-code-specialization.h", "src/wasm/wasm-code-wrapper.cc", "src/wasm/wasm-code-wrapper.h", + "src/wasm/wasm-constants.h", "src/wasm/wasm-debug.cc", + "src/wasm/wasm-engine.cc", + "src/wasm/wasm-engine.h", "src/wasm/wasm-external-refs.cc", "src/wasm/wasm-external-refs.h", - "src/wasm/wasm-heap.cc", - "src/wasm/wasm-heap.h", "src/wasm/wasm-interpreter.cc", "src/wasm/wasm-interpreter.h", "src/wasm/wasm-js.cc", @@ -2184,7 +2218,6 @@ v8_source_set("v8_base") { "src/ia32/sse-instr.h", "src/regexp/ia32/regexp-macro-assembler-ia32.cc", "src/regexp/ia32/regexp-macro-assembler-ia32.h", - "src/wasm/baseline/ia32/liftoff-assembler-ia32-defs.h", "src/wasm/baseline/ia32/liftoff-assembler-ia32.h", ] } else if (v8_current_cpu == "x64") { @@ -2199,7 +2232,6 @@ v8_source_set("v8_base") { "src/regexp/x64/regexp-macro-assembler-x64.cc", "src/regexp/x64/regexp-macro-assembler-x64.h", "src/third_party/valgrind/valgrind.h", - "src/wasm/baseline/x64/liftoff-assembler-x64-defs.h", "src/wasm/baseline/x64/liftoff-assembler-x64.h", "src/x64/assembler-x64-inl.h", "src/x64/assembler-x64.cc", @@ -2253,7 +2285,6 @@ v8_source_set("v8_base") { "src/debug/arm/debug-arm.cc", "src/regexp/arm/regexp-macro-assembler-arm.cc", "src/regexp/arm/regexp-macro-assembler-arm.h", - "src/wasm/baseline/arm/liftoff-assembler-arm-defs.h", "src/wasm/baseline/arm/liftoff-assembler-arm.h", ] } else if (v8_current_cpu == "arm64") { @@ -2299,7 +2330,6 @@ v8_source_set("v8_base") { "src/debug/arm64/debug-arm64.cc", "src/regexp/arm64/regexp-macro-assembler-arm64.cc", "src/regexp/arm64/regexp-macro-assembler-arm64.h", - "src/wasm/baseline/arm64/liftoff-assembler-arm64-defs.h", "src/wasm/baseline/arm64/liftoff-assembler-arm64.h", ] if (use_jumbo_build) { @@ -2336,7 +2366,6 @@ v8_source_set("v8_base") { "src/mips/simulator-mips.h", "src/regexp/mips/regexp-macro-assembler-mips.cc", "src/regexp/mips/regexp-macro-assembler-mips.h", - "src/wasm/baseline/mips/liftoff-assembler-mips-defs.h", "src/wasm/baseline/mips/liftoff-assembler-mips.h", ] } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") { @@ -2366,7 +2395,6 @@ v8_source_set("v8_base") { "src/mips64/simulator-mips64.h", "src/regexp/mips64/regexp-macro-assembler-mips64.cc", "src/regexp/mips64/regexp-macro-assembler-mips64.h", - "src/wasm/baseline/mips64/liftoff-assembler-mips64-defs.h", "src/wasm/baseline/mips64/liftoff-assembler-mips64.h", ] } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { @@ -2396,7 +2424,6 @@ v8_source_set("v8_base") { "src/ppc/simulator-ppc.h", "src/regexp/ppc/regexp-macro-assembler-ppc.cc", "src/regexp/ppc/regexp-macro-assembler-ppc.h", - "src/wasm/baseline/ppc/liftoff-assembler-ppc-defs.h", "src/wasm/baseline/ppc/liftoff-assembler-ppc.h", ] } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { @@ -2426,7 +2453,6 @@ v8_source_set("v8_base") { "src/s390/macro-assembler-s390.h", "src/s390/simulator-s390.cc", "src/s390/simulator-s390.h", - "src/wasm/baseline/s390/liftoff-assembler-s390-defs.h", "src/wasm/baseline/s390/liftoff-assembler-s390.h", ] } @@ -2506,6 +2532,8 @@ v8_component("v8_libbase") { "src/base/once.cc", "src/base/once.h", "src/base/optional.h", + "src/base/page-allocator.cc", + "src/base/page-allocator.h", "src/base/platform/condition-variable.cc", "src/base/platform/condition-variable.h", "src/base/platform/elapsed-timer.h", @@ -2812,6 +2840,7 @@ group("v8_fuzzers") { testonly = true deps = [ ":v8_simple_json_fuzzer", + ":v8_simple_multi_return_fuzzer", ":v8_simple_parser_fuzzer", ":v8_simple_regexp_fuzzer", ":v8_simple_wasm_async_fuzzer", @@ -3062,6 +3091,24 @@ v8_source_set("json_fuzzer") { v8_fuzzer("json_fuzzer") { } +v8_source_set("multi_return_fuzzer") { + sources = [ + "test/fuzzer/multi-return.cc", + ] + + deps = [ + ":fuzzer_support", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("multi_return_fuzzer") { +} + v8_source_set("parser_fuzzer") { sources = [ "test/fuzzer/parser.cc", |