diff --git a/deps/v8/.git-blame-ignore-revs b/deps/v8/.git-blame-ignore-revs new file mode 100644 index 00000000000000..58d0039ab911f4 --- /dev/null +++ b/deps/v8/.git-blame-ignore-revs @@ -0,0 +1,22 @@ +# git hyper-blame master ignore list. +# +# This file contains a list of git hashes of revisions to be ignored by git +# hyper-blame (in depot_tools). These revisions are considered "unimportant" in +# that they are unlikely to be what you are interested in when blaming. +# +# Instructions: +# - Only large (generally automated) reformatting or renaming CLs should be +# added to this list. Do not put things here just because you feel they are +# trivial or unimportant. If in doubt, do not put it on this list. +# - Precede each revision with a comment containing the first line of its log. +# For bulk work over many commits, place all commits in a block with a single +# comment at the top describing the work done in those commits. +# - Only put full 40-character hashes on this list (not short hashes or any +# other revision reference). +# - Append to the bottom of the file (revisions should be in chronological order +# from oldest to newest). +# - Because you must use a hash, you need to append to this list in a follow-up +# CL to the actual reformatting CL that you are trying to ignore. + +# Update of quotations in DEPS file. +e50b49a0e38b34e2b28e026f4d1c7e0da0c7bb1a diff --git a/deps/v8/.gitignore b/deps/v8/.gitignore index cf459308893968..6861c70994b9cf 100644 --- a/deps/v8/.gitignore +++ b/deps/v8/.gitignore @@ -68,6 +68,7 @@ !/testing/gtest/include/gtest/gtest_prod.h /third_party/* !/third_party/binutils +!/third_party/eu-strip !/third_party/inspector_protocol /tools/clang /tools/gcmole/gcmole-tools @@ -75,9 +76,7 @@ /tools/gyp /tools/jsfunfuzz/jsfunfuzz /tools/jsfunfuzz/jsfunfuzz.tar.gz -/tools/luci-go/linux64/isolate -/tools/luci-go/mac64/isolate -/tools/luci-go/win64/isolate.exe +/tools/luci-go /tools/oom_dump/oom_dump /tools/oom_dump/oom_dump.o /tools/swarming_client diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS index c54cad02b2d15e..be50e6e49964ce 100644 --- a/deps/v8/AUTHORS +++ b/deps/v8/AUTHORS @@ -30,6 +30,7 @@ Yandex LLC <*@yandex-team.ru> StrongLoop, Inc. <*@strongloop.com> Facebook, Inc. <*@fb.com> Facebook, Inc. <*@oculus.com> +Vewd Software AS <*@vewd.com> Aaron Bieber Abdulla Kamar @@ -42,7 +43,7 @@ Alexis Campailla Andreas Anyuru Andrew Paprocki Andrei Kashcha -Anna Henningsen +Anna Henningsen Bangfu Tao Ben Noordhuis Benjamin Tan @@ -135,4 +136,4 @@ Wiktor Garbacz Yu Yin Zac Hansen Zhongping Wang -柳荣一 \ No newline at end of file +柳荣一 diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn index 4d3fcd96488517..daed449c0a500b 100644 --- a/deps/v8/BUILD.gn +++ b/deps/v8/BUILD.gn @@ -87,7 +87,7 @@ declare_args() { v8_enable_concurrent_marking = false # Sets -dV8_CSA_WRITE_BARRIER - v8_enable_csa_write_barrier = false + v8_enable_csa_write_barrier = true # Build the snapshot with unwinding information for perf. # Sets -dV8_USE_SNAPSHOT_WITH_UNWINDING_INFO. @@ -110,6 +110,9 @@ declare_args() { # Similar to the ARM hard float ABI but on MIPS. v8_use_mips_abi_hardfloat = true + # Controls the threshold for on-heap/off-heap Typed Arrays. + v8_typed_array_max_size_in_heap = 64 + # List of extra files to snapshot. They will be snapshotted in order so # if files export symbols used by later files, they should go first. # @@ -205,8 +208,12 @@ config("libsampler_config") { # This config should only be applied to code using V8 and not any V8 code # itself. config("external_config") { + defines = [] if (is_component_build) { - defines = [ "USING_V8_SHARED" ] + defines += [ "USING_V8_SHARED" ] + } + if (v8_enable_v8_checks) { + defines += [ "V8_ENABLE_CHECKS" ] # Used in "include/v8.h". } include_dirs = [ "include", @@ -237,6 +244,8 @@ config("features") { defines += [ "V8_PROMISE_INTERNAL_FIELD_COUNT=${v8_promise_internal_field_count}" ] } + defines += + [ "V8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=${v8_typed_array_max_size_in_heap}" ] if (v8_enable_future) { defines += [ "V8_ENABLE_FUTURE" ] } @@ -557,14 +566,12 @@ action("js2c") { "src/js/macros.py", "src/messages.h", "src/js/prologue.js", - "src/js/max-min.js", "src/js/v8natives.js", "src/js/array.js", "src/js/string.js", "src/js/typedarray.js", "src/js/weak-collection.js", "src/js/messages.js", - "src/js/templates.js", "src/js/spread.js", "src/js/proxy.js", "src/debug/mirrors.js", @@ -859,7 +866,7 @@ source_set("v8_maybe_snapshot") { } else { # Ignore v8_use_external_startup_data setting if no snapshot is used. public_deps = [ - ":v8_builtins_setup", + ":v8_init", ":v8_nosnapshot", ] } @@ -959,7 +966,7 @@ if (v8_use_external_startup_data) { } } -v8_source_set("v8_builtins_generators") { +v8_source_set("v8_initializers") { visibility = [ ":*", "test/cctest:*", @@ -990,8 +997,6 @@ v8_source_set("v8_builtins_generators") { "src/builtins/builtins-conversion-gen.cc", "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", "src/builtins/builtins-generator-gen.cc", "src/builtins/builtins-global-gen.cc", @@ -1009,8 +1014,6 @@ v8_source_set("v8_builtins_generators") { "src/builtins/builtins-promise-gen.h", "src/builtins/builtins-proxy-gen.cc", "src/builtins/builtins-proxy-gen.h", - "src/builtins/builtins-proxy-helpers-gen.cc", - "src/builtins/builtins-proxy-helpers-gen.h", "src/builtins/builtins-regexp-gen.cc", "src/builtins/builtins-regexp-gen.h", "src/builtins/builtins-sharedarraybuffer-gen.cc", @@ -1021,6 +1024,7 @@ v8_source_set("v8_builtins_generators") { "src/builtins/builtins-utils-gen.h", "src/builtins/builtins-wasm-gen.cc", "src/builtins/setup-builtins-internal.cc", + "src/heap/setup-heap-internal.cc", "src/ic/accessor-assembler.cc", "src/ic/accessor-assembler.h", "src/ic/binary-op-assembler.cc", @@ -1042,6 +1046,10 @@ v8_source_set("v8_builtins_generators") { # TODO(mostynb@opera.com): don't exclude these http://crbug.com/752428 "src/builtins/builtins-async-iterator-gen.cc", "src/builtins/builtins-async-generator-gen.cc", + + # This source file takes an unusually large amount of time to + # compile. Build it separately to avoid bottlenecks. + "src/builtins/builtins-regexp-gen.cc", ] } @@ -1094,11 +1102,11 @@ v8_source_set("v8_builtins_generators") { configs = [ ":internal_config" ] } -v8_source_set("v8_builtins_setup") { +v8_source_set("v8_init") { visibility = [ ":*" ] # Only targets in this file can depend on this. deps = [ - ":v8_builtins_generators", + ":v8_initializers", ] sources = [ @@ -1229,6 +1237,7 @@ v8_source_set("v8_base") { "src/builtins/builtins-api.cc", "src/builtins/builtins-array.cc", "src/builtins/builtins-arraybuffer.cc", + "src/builtins/builtins-bigint.cc", "src/builtins/builtins-boolean.cc", "src/builtins/builtins-call.cc", "src/builtins/builtins-callsite.cc", @@ -1423,10 +1432,6 @@ v8_source_set("v8_base") { "src/compiler/memory-optimizer.h", "src/compiler/move-optimizer.cc", "src/compiler/move-optimizer.h", - "src/compiler/new-escape-analysis-reducer.cc", - "src/compiler/new-escape-analysis-reducer.h", - "src/compiler/new-escape-analysis.cc", - "src/compiler/new-escape-analysis.h", "src/compiler/node-aux-data.h", "src/compiler/node-cache.cc", "src/compiler/node-cache.h", @@ -1528,6 +1533,8 @@ v8_source_set("v8_base") { "src/debug/debug-scopes.h", "src/debug/debug-stack-trace-iterator.cc", "src/debug/debug-stack-trace-iterator.h", + "src/debug/debug-type-profile.cc", + "src/debug/debug-type-profile.h", "src/debug/debug.cc", "src/debug/debug.h", "src/debug/interface-types.h", @@ -1537,6 +1544,7 @@ v8_source_set("v8_base") { "src/deoptimize-reason.h", "src/deoptimizer.cc", "src/deoptimizer.h", + "src/detachable-vector.h", "src/disasm.h", "src/disassembler.cc", "src/disassembler.h", @@ -1567,6 +1575,7 @@ v8_source_set("v8_base") { "src/extensions/trigger-failure-extension.h", "src/external-reference-table.cc", "src/external-reference-table.h", + "src/factory-inl.h", "src/factory.cc", "src/factory.h", "src/fast-dtoa.cc", @@ -1574,13 +1583,10 @@ v8_source_set("v8_base") { "src/feedback-vector-inl.h", "src/feedback-vector.cc", "src/feedback-vector.h", - "src/ffi/ffi-compiler.cc", - "src/ffi/ffi-compiler.h", "src/field-index-inl.h", "src/field-index.h", "src/field-type.cc", "src/field-type.h", - "src/find-and-replace-pattern.h", "src/fixed-dtoa.cc", "src/fixed-dtoa.h", "src/flag-definitions.h", @@ -1604,6 +1610,7 @@ v8_source_set("v8_base") { "src/heap/array-buffer-tracker-inl.h", "src/heap/array-buffer-tracker.cc", "src/heap/array-buffer-tracker.h", + "src/heap/barrier.h", "src/heap/code-stats.cc", "src/heap/code-stats.h", "src/heap/concurrent-marking.cc", @@ -1645,8 +1652,6 @@ v8_source_set("v8_base") { "src/heap/scavenger-inl.h", "src/heap/scavenger.cc", "src/heap/scavenger.h", - "src/heap/sequential-marking-deque.cc", - "src/heap/sequential-marking-deque.h", "src/heap/slot-set.h", "src/heap/spaces-inl.h", "src/heap/spaces.cc", @@ -1737,8 +1742,6 @@ v8_source_set("v8_base") { "src/layout-descriptor-inl.h", "src/layout-descriptor.cc", "src/layout-descriptor.h", - "src/list-inl.h", - "src/list.h", "src/locked-queue-inl.h", "src/locked-queue.h", "src/log-inl.h", @@ -1770,8 +1773,9 @@ v8_source_set("v8_base") { "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/bigint-inl.h", + "src/objects/bigint.cc", + "src/objects/bigint.h", "src/objects/compilation-cache-inl.h", "src/objects/compilation-cache.h", "src/objects/debug-objects-inl.h", @@ -1796,6 +1800,8 @@ v8_source_set("v8_base") { "src/objects/name.h", "src/objects/object-macros-undef.h", "src/objects/object-macros.h", + "src/objects/property-descriptor-object-inl.h", + "src/objects/property-descriptor-object.h", "src/objects/regexp-match-info.h", "src/objects/scope-info.cc", "src/objects/scope-info.h", @@ -1806,6 +1812,8 @@ v8_source_set("v8_base") { "src/objects/string-inl.h", "src/objects/string-table.h", "src/objects/string.h", + "src/objects/template-objects.cc", + "src/objects/template-objects.h", "src/ostreams.cc", "src/ostreams.h", "src/parsing/duplicate-finder.h", @@ -1902,6 +1910,7 @@ v8_source_set("v8_base") { "src/runtime-profiler.h", "src/runtime/runtime-array.cc", "src/runtime/runtime-atomics.cc", + "src/runtime/runtime-bigint.cc", "src/runtime/runtime-classes.cc", "src/runtime/runtime-collections.cc", "src/runtime/runtime-compiler.cc", @@ -1939,9 +1948,14 @@ v8_source_set("v8_base") { "src/setup-isolate.h", "src/signature.h", "src/simulator.h", - "src/small-pointer-list.h", + "src/snapshot/builtin-deserializer.cc", + "src/snapshot/builtin-deserializer.h", + "src/snapshot/builtin-serializer.cc", + "src/snapshot/builtin-serializer.h", "src/snapshot/code-serializer.cc", "src/snapshot/code-serializer.h", + "src/snapshot/default-serializer-allocator.cc", + "src/snapshot/default-serializer-allocator.h", "src/snapshot/deserializer.cc", "src/snapshot/deserializer.h", "src/snapshot/natives-common.cc", @@ -2033,6 +2047,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/memory-tracing.cc", + "src/wasm/memory-tracing.h", "src/wasm/module-compiler.cc", "src/wasm/module-compiler.h", "src/wasm/module-decoder.cc", @@ -2048,15 +2064,20 @@ v8_source_set("v8_base") { "src/wasm/wasm-debug.cc", "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", "src/wasm/wasm-js.h", "src/wasm/wasm-limits.h", + "src/wasm/wasm-memory.cc", + "src/wasm/wasm-memory.h", "src/wasm/wasm-module-builder.cc", "src/wasm/wasm-module-builder.h", "src/wasm/wasm-module.cc", "src/wasm/wasm-module.h", + "src/wasm/wasm-objects-inl.h", "src/wasm/wasm-objects.cc", "src/wasm/wasm-objects.h", "src/wasm/wasm-opcodes.cc", @@ -2073,6 +2094,7 @@ v8_source_set("v8_base") { "src/zone/zone-chunk-list.h", "src/zone/zone-containers.h", "src/zone/zone-handle-set.h", + "src/zone/zone-list-inl.h", "src/zone/zone-segment.cc", "src/zone/zone-segment.h", "src/zone/zone.cc", @@ -2083,8 +2105,15 @@ v8_source_set("v8_base") { jumbo_excluded_sources = [ # TODO(mostynb@opera.com): don't exclude these http://crbug.com/752428 "src/profiler/heap-snapshot-generator.cc", # Macro clash in mman-linux.h - "src/compiler/escape-analysis.cc", # Symbol clashes with new-escape-analysis.cc - "src/compiler/escape-analysis-reducer.cc", # Symbol clashes with new-escape-analysis-reducer.cc + + # These source files take an unusually large amount of time to + # compile. Build them separately to avoid bottlenecks. + "src/api.cc", + "src/code-stub-assembler.cc", + "src/elements.cc", + "src/heap/heap.cc", + "src/objects.cc", + "src/parsing/parser.cc", ] } @@ -2210,6 +2239,7 @@ v8_source_set("v8_base") { "src/arm64/eh-frame-arm64.cc", "src/arm64/frame-constants-arm64.cc", "src/arm64/frame-constants-arm64.h", + "src/arm64/instructions-arm64-constants.cc", "src/arm64/instructions-arm64.cc", "src/arm64/instructions-arm64.h", "src/arm64/instrument-arm64.cc", @@ -2236,6 +2266,13 @@ v8_source_set("v8_base") { "src/regexp/arm64/regexp-macro-assembler-arm64.cc", "src/regexp/arm64/regexp-macro-assembler-arm64.h", ] + if (use_jumbo_build) { + jumbo_excluded_sources += [ + # TODO(mostynb@opera.com): fix this code so it doesn't need + # to be excluded, see the comments inside. + "src/arm64/instructions-arm64-constants.cc", + ] + } } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { sources += [ ### gcmole(arch:mipsel) ### "src/compiler/mips/code-generator-mips.cc", @@ -2456,6 +2493,7 @@ v8_component("v8_libbase") { "src/base/sys-info.h", "src/base/template-utils.h", "src/base/timezone-cache.h", + "src/base/tsan.h", "src/base/utils/random-number-generator.cc", "src/base/utils/random-number-generator.h", ] @@ -2638,7 +2676,7 @@ if (current_toolchain == v8_snapshot_toolchain) { deps = [ ":v8_base", - ":v8_builtins_setup", + ":v8_init", ":v8_libbase", ":v8_libplatform", ":v8_nosnapshot", @@ -2751,7 +2789,7 @@ if (is_component_build) { ] if (v8_use_snapshot) { - public_deps += [ ":v8_builtins_generators" ] + public_deps += [ ":v8_initializers" ] } configs = [ ":internal_config" ] @@ -2777,7 +2815,7 @@ if (is_component_build) { ] if (v8_use_snapshot) { - public_deps += [ ":v8_builtins_generators" ] + public_deps += [ ":v8_initializers" ] } public_configs = [ ":external_config" ] diff --git a/deps/v8/ChangeLog b/deps/v8/ChangeLog index ffd5fb388dfab5..bed8ed97705a4b 100644 --- a/deps/v8/ChangeLog +++ b/deps/v8/ChangeLog @@ -1,3 +1,1598 @@ +2017-10-10: Version 6.3.292 + + Performance and stability improvements on all platforms. + + +2017-10-10: Version 6.3.291 + + Performance and stability improvements on all platforms. + + +2017-10-10: Version 6.3.290 + + Performance and stability improvements on all platforms. + + +2017-10-10: Version 6.3.289 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.288 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.287 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.286 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.285 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.284 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.283 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.282 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.281 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.280 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.279 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.278 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.277 + + Performance and stability improvements on all platforms. + + +2017-10-09: Version 6.3.276 + + Performance and stability improvements on all platforms. + + +2017-10-08: Version 6.3.275 + + Performance and stability improvements on all platforms. + + +2017-10-07: Version 6.3.274 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.273 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.272 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.271 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.270 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.269 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.268 + + Performance and stability improvements on all platforms. + + +2017-10-06: Version 6.3.267 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.266 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.265 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.264 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.263 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.262 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.261 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.260 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.259 + + Performance and stability improvements on all platforms. + + +2017-10-05: Version 6.3.258 + + Performance and stability improvements on all platforms. + + +2017-10-04: Version 6.3.257 + + Performance and stability improvements on all platforms. + + +2017-10-04: Version 6.3.256 + + Performance and stability improvements on all platforms. + + +2017-10-04: Version 6.3.255 + + Performance and stability improvements on all platforms. + + +2017-10-04: Version 6.3.254 + + Performance and stability improvements on all platforms. + + +2017-10-04: Version 6.3.253 + + Performance and stability improvements on all platforms. + + +2017-10-03: Version 6.3.252 + + Performance and stability improvements on all platforms. + + +2017-10-03: Version 6.3.251 + + Performance and stability improvements on all platforms. + + +2017-10-03: Version 6.3.250 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.249 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.248 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.247 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.246 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.245 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.244 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.243 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.242 + + Performance and stability improvements on all platforms. + + +2017-10-02: Version 6.3.241 + + Performance and stability improvements on all platforms. + + +2017-10-01: Version 6.3.240 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.239 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.238 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.237 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.236 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.235 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.234 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.233 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.232 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.231 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.230 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.229 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.228 + + Performance and stability improvements on all platforms. + + +2017-09-29: Version 6.3.227 + + Performance and stability improvements on all platforms. + + +2017-09-28: Version 6.3.226 + + Performance and stability improvements on all platforms. + + +2017-09-28: Version 6.3.225 + + Performance and stability improvements on all platforms. + + +2017-09-28: Version 6.3.224 + + Performance and stability improvements on all platforms. + + +2017-09-28: Version 6.3.223 + + Performance and stability improvements on all platforms. + + +2017-09-28: Version 6.3.222 + + Performance and stability improvements on all platforms. + + +2017-09-27: Version 6.3.221 + + Performance and stability improvements on all platforms. + + +2017-09-27: Version 6.3.220 + + Performance and stability improvements on all platforms. + + +2017-09-27: Version 6.3.219 + + Performance and stability improvements on all platforms. + + +2017-09-27: Version 6.3.218 + + Performance and stability improvements on all platforms. + + +2017-09-27: Version 6.3.217 + + Performance and stability improvements on all platforms. + + +2017-09-26: Version 6.3.216 + + Performance and stability improvements on all platforms. + + +2017-09-26: Version 6.3.215 + + Performance and stability improvements on all platforms. + + +2017-09-26: Version 6.3.214 + + Performance and stability improvements on all platforms. + + +2017-09-26: Version 6.3.213 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.212 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.211 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.210 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.209 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.208 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.207 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.206 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.205 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.204 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.203 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.202 + + Performance and stability improvements on all platforms. + + +2017-09-25: Version 6.3.201 + + Performance and stability improvements on all platforms. + + +2017-09-24: Version 6.3.200 + + Performance and stability improvements on all platforms. + + +2017-09-24: Version 6.3.199 + + Performance and stability improvements on all platforms. + + +2017-09-22: Version 6.3.198 + + Performance and stability improvements on all platforms. + + +2017-09-22: Version 6.3.197 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.196 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.195 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.194 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.193 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.192 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.191 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.190 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.189 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.188 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.187 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.186 + + Performance and stability improvements on all platforms. + + +2017-09-21: Version 6.3.185 + + Performance and stability improvements on all platforms. + + +2017-09-20: Version 6.3.184 + + Performance and stability improvements on all platforms. + + +2017-09-20: Version 6.3.183 + + Performance and stability improvements on all platforms. + + +2017-09-20: Version 6.3.182 + + Performance and stability improvements on all platforms. + + +2017-09-19: Version 6.3.181 + + Performance and stability improvements on all platforms. + + +2017-09-19: Version 6.3.180 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.179 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.178 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.177 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.176 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.175 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.174 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.173 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.172 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.171 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.170 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.169 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.168 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.167 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.166 + + Performance and stability improvements on all platforms. + + +2017-09-18: Version 6.3.165 + + Performance and stability improvements on all platforms. + + +2017-09-17: Version 6.3.164 + + Performance and stability improvements on all platforms. + + +2017-09-16: Version 6.3.163 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.162 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.161 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.160 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.159 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.158 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.157 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.156 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.155 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.154 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.153 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.152 + + Performance and stability improvements on all platforms. + + +2017-09-15: Version 6.3.151 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.150 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.149 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.148 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.147 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.146 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.145 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.144 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.143 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.142 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.141 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.140 + + Performance and stability improvements on all platforms. + + +2017-09-14: Version 6.3.139 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.138 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.137 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.136 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.135 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.134 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.133 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.132 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.131 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.130 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.129 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.128 + + Performance and stability improvements on all platforms. + + +2017-09-13: Version 6.3.127 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.126 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.125 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.124 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.123 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.122 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.121 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.120 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.119 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.118 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.117 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.116 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.115 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.114 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.113 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.112 + + Performance and stability improvements on all platforms. + + +2017-09-12: Version 6.3.111 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.110 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.109 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.108 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.107 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.106 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.105 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.104 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.103 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.102 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.101 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.100 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.99 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.98 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.97 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.96 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.95 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.94 + + Performance and stability improvements on all platforms. + + +2017-09-11: Version 6.3.93 + + Performance and stability improvements on all platforms. + + +2017-09-10: Version 6.3.92 + + Performance and stability improvements on all platforms. + + +2017-09-09: Version 6.3.91 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.90 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.89 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.88 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.87 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.86 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.85 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.84 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.83 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.82 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.81 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.80 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.79 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.78 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.77 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.76 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.75 + + Performance and stability improvements on all platforms. + + +2017-09-08: Version 6.3.74 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.73 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.72 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.71 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.70 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.69 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.68 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.67 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.66 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.65 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.64 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.63 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.62 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.61 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.60 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.59 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.58 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.57 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.56 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.55 + + Performance and stability improvements on all platforms. + + +2017-09-07: Version 6.3.54 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.53 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.52 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.51 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.50 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.49 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.48 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.47 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.46 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.45 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.44 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.43 + + Performance and stability improvements on all platforms. + + +2017-09-06: Version 6.3.42 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.41 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.40 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.39 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.38 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.37 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.36 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.35 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.34 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.33 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.32 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.31 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.30 + + Performance and stability improvements on all platforms. + + +2017-09-05: Version 6.3.29 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.28 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.27 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.26 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.25 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.24 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.23 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.22 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.21 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.20 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.19 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.18 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.17 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.16 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.15 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.14 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.13 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.12 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.11 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.10 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.9 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.8 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.7 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.6 + + Performance and stability improvements on all platforms. + + +2017-09-04: Version 6.3.5 + + Performance and stability improvements on all platforms. + + +2017-09-03: Version 6.3.4 + + Performance and stability improvements on all platforms. + + +2017-09-03: Version 6.3.3 + + Performance and stability improvements on all platforms. + + +2017-09-01: Version 6.3.2 + + Performance and stability improvements on all platforms. + + +2017-09-01: Version 6.3.1 + + Performance and stability improvements on all platforms. + + +2017-08-31: Version 6.2.441 + + Performance and stability improvements on all platforms. + + +2017-08-31: Version 6.2.440 + + Performance and stability improvements on all platforms. + + +2017-08-31: Version 6.2.439 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.438 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.437 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.436 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.435 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.434 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.433 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.432 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.431 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.430 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.429 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.428 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.427 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.426 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.425 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.424 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.423 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.422 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.421 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.420 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.419 + + Performance and stability improvements on all platforms. + + +2017-08-30: Version 6.2.418 + + Performance and stability improvements on all platforms. + + +2017-08-29: Version 6.2.417 + + Performance and stability improvements on all platforms. + + +2017-08-29: Version 6.2.416 + + Performance and stability improvements on all platforms. + + +2017-08-29: Version 6.2.415 + + Performance and stability improvements on all platforms. + + 2017-08-29: Version 6.2.414 Performance and stability improvements on all platforms. diff --git a/deps/v8/DEPS b/deps/v8/DEPS index 4b64895ced3a6e..b675dd830ef9ac 100644 --- a/deps/v8/DEPS +++ b/deps/v8/DEPS @@ -3,72 +3,73 @@ # all paths in here must match this assumption. vars = { - "chromium_url": "https://chromium.googlesource.com", + 'chromium_url': 'https://chromium.googlesource.com', } deps = { - "v8/build": - Var("chromium_url") + "/chromium/src/build.git" + "@" + "48a2b7b39debc7c77c868c9ddb0a360af1ebc367", - "v8/tools/gyp": - Var("chromium_url") + "/external/gyp.git" + "@" + "d61a9397e668fa9843c4aa7da9e79460fe590bfb", - "v8/third_party/icu": - Var("chromium_url") + "/chromium/deps/icu.git" + "@" + "21d33b1a09a77f033478ea4ffffb61e6970f83bd", - "v8/third_party/instrumented_libraries": - Var("chromium_url") + "/chromium/src/third_party/instrumented_libraries.git" + "@" + "644afd349826cb68204226a16c38bde13abe9c3c", - "v8/buildtools": - Var("chromium_url") + "/chromium/buildtools.git" + "@" + "5af0a3a8b89827a8634132080a39ab4b63dee489", - "v8/base/trace_event/common": - Var("chromium_url") + "/chromium/src/base/trace_event/common.git" + "@" + "65d1d42a5df6c0a563a6fdfa58a135679185e5d9", - "v8/third_party/jinja2": - Var("chromium_url") + "/chromium/src/third_party/jinja2.git" + "@" + "d34383206fa42d52faa10bb9931d6d538f3a57e0", - "v8/third_party/markupsafe": - Var("chromium_url") + "/chromium/src/third_party/markupsafe.git" + "@" + "8f45f5cfa0009d2a70589bcda0349b8cb2b72783", - "v8/tools/swarming_client": - Var('chromium_url') + '/external/swarming.client.git' + '@' + "42721e128da760b345ab60d7cf34e300269112d7", - "v8/testing/gtest": - Var("chromium_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87", - "v8/testing/gmock": - Var("chromium_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be", - "v8/test/benchmarks/data": - Var("chromium_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f", - "v8/test/mozilla/data": - Var("chromium_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be", - "v8/test/test262/data": - Var("chromium_url") + "/external/github.com/tc39/test262.git" + "@" + "1b911a8f8abf4cb63882cfbe72dcd4c82bb8ad91", - "v8/test/test262/harness": - Var("chromium_url") + "/external/github.com/test262-utils/test262-harness-py.git" + "@" + "0f2acdd882c84cff43b9d60df7574a1901e2cdcd", - "v8/tools/clang": - Var("chromium_url") + "/chromium/src/tools/clang.git" + "@" + "40f69660bf3cd407e72b8ae240fdd6c513dddbfe", - "v8/test/wasm-js": - Var("chromium_url") + "/external/github.com/WebAssembly/spec.git" + "@" + "17b4a4d98c80b1ec736649d5a73496a0e6d12d4c", -} - -deps_os = { - "android": { - "v8/third_party/android_tools": - Var("chromium_url") + "/android_tools.git" + "@" + "e9d4018e149d50172ed462a7c21137aa915940ec", - "v8/third_party/catapult": - Var('chromium_url') + "/external/github.com/catapult-project/catapult.git" + "@" + "7149cbfdfd26a5dd8e5d96cbb1da9356e2813a5d", + 'v8/build': + Var('chromium_url') + '/chromium/src/build.git' + '@' + 'adaf9e56105b814105e2d49bc4fa63e2cd4795f5', + 'v8/tools/gyp': + Var('chromium_url') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', + 'v8/third_party/icu': + Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '21d33b1a09a77f033478ea4ffffb61e6970f83bd', + 'v8/third_party/instrumented_libraries': + Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + '644afd349826cb68204226a16c38bde13abe9c3c', + 'v8/buildtools': + Var('chromium_url') + '/chromium/buildtools.git' + '@' + 'f6d165d9d842ddd29056c127a5f3a3c5d8e0d2e3', + 'v8/base/trace_event/common': + Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + 'abcc4153b783b5e2c2dafcfbf658017ecb56989a', + 'v8/third_party/android_tools': { + 'url': Var('chromium_url') + '/android_tools.git' + '@' + 'ca9dc7245b888c75307f0619e4a39fb46a82de66', + 'condition': 'checkout_android', + }, + 'v8/third_party/catapult': { + 'url': Var('chromium_url') + '/catapult.git' + '@' + 'a48a6afde0ff7eeb1c847744192977e412107d6a', + 'condition': 'checkout_android', }, + 'v8/third_party/jinja2': + Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + 'd34383206fa42d52faa10bb9931d6d538f3a57e0', + 'v8/third_party/markupsafe': + Var('chromium_url') + '/chromium/src/third_party/markupsafe.git' + '@' + '8f45f5cfa0009d2a70589bcda0349b8cb2b72783', + 'v8/tools/swarming_client': + Var('chromium_url') + '/infra/luci/client-py.git' + '@' + '5e8001d9a710121ce7a68efd0804430a34b4f9e4', + 'v8/testing/gtest': + Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87', + 'v8/testing/gmock': + Var('chromium_url') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', + 'v8/test/benchmarks/data': + Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f', + 'v8/test/mozilla/data': + Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be', + 'v8/test/test262/data': + Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '290799bbeeba86245a355894b6ff2bb33d946d9e', + 'v8/test/test262/harness': + Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '0f2acdd882c84cff43b9d60df7574a1901e2cdcd', + 'v8/tools/clang': + Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + 'b3169f97cc1a9daa1a9fbae15752588079792098', + 'v8/tools/luci-go': + Var('chromium_url') + '/chromium/src/tools/luci-go.git' + '@' + '9f54aa9fe06499b6bac378ae1f045be2158cf2cc', + 'v8/test/wasm-js': + Var('chromium_url') + '/external/github.com/WebAssembly/spec.git' + '@' + '89573ee3eabc690637deeb1b8dadec13a963ec30', } recursedeps = [ - "v8/buildtools", - "v8/third_party/android_tools", + 'v8/buildtools', + 'v8/third_party/android_tools', ] include_rules = [ # Everybody can use some things. - "+include", - "+unicode", - "+third_party/fdlibm", + '+include', + '+unicode', + '+third_party/fdlibm', ] # checkdeps.py shouldn't check for includes in these directories: skip_child_includes = [ - "build", - "gypfiles", - "third_party", + 'build', + 'gypfiles', + 'third_party', ] hooks = [ @@ -85,41 +86,45 @@ hooks = [ }, # Pull clang-format binaries using checked-in hashes. { - "name": "clang_format_win", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", "chromium-clang-format", - "-s", "v8/buildtools/win/clang-format.exe.sha1", + 'name': 'clang_format_win', + 'pattern': '.', + 'condition': 'host_os == "win"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=win32', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'v8/buildtools/win/clang-format.exe.sha1', ], }, { - "name": "clang_format_mac", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", "chromium-clang-format", - "-s", "v8/buildtools/mac/clang-format.sha1", + 'name': 'clang_format_mac', + 'pattern': '.', + 'condition': 'host_os == "mac"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=darwin', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'v8/buildtools/mac/clang-format.sha1', ], }, { - "name": "clang_format_linux", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", "chromium-clang-format", - "-s", "v8/buildtools/linux64/clang-format.sha1", + 'name': 'clang_format_linux', + 'pattern': '.', + 'condition': 'host_os == "linux"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=linux*', + '--no_auth', + '--bucket', 'chromium-clang-format', + '-s', 'v8/buildtools/linux64/clang-format.sha1', ], }, { 'name': 'gcmole', 'pattern': '.', + # TODO(machenbach): Insert condition and remove GYP_DEFINES dependency. 'action': [ 'python', 'v8/tools/gcmole/download_gcmole_tools.py', @@ -128,6 +133,7 @@ hooks = [ { 'name': 'jsfunfuzz', 'pattern': '.', + # TODO(machenbach): Insert condition and remove GYP_DEFINES dependency. 'action': [ 'python', 'v8/tools/jsfunfuzz/download_jsfunfuzz.py', @@ -137,6 +143,7 @@ hooks = [ { 'name': 'luci-go_win', 'pattern': '.', + 'condition': 'host_os == "win"', 'action': [ 'download_from_google_storage', '--no_resume', '--platform=win32', @@ -148,6 +155,7 @@ hooks = [ { 'name': 'luci-go_mac', 'pattern': '.', + 'condition': 'host_os == "mac"', 'action': [ 'download_from_google_storage', '--no_resume', '--platform=darwin', @@ -159,6 +167,7 @@ hooks = [ { 'name': 'luci-go_linux', 'pattern': '.', + 'condition': 'host_os == "linux"', 'action': [ 'download_from_google_storage', '--no_resume', '--platform=linux*', @@ -169,58 +178,61 @@ hooks = [ }, # Pull GN using checked-in hashes. { - "name": "gn_win", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", "chromium-gn", - "-s", "v8/buildtools/win/gn.exe.sha1", + 'name': 'gn_win', + 'pattern': '.', + 'condition': 'host_os == "win"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=win32', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'v8/buildtools/win/gn.exe.sha1', ], }, { - "name": "gn_mac", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", "chromium-gn", - "-s", "v8/buildtools/mac/gn.sha1", + 'name': 'gn_mac', + 'pattern': '.', + 'condition': 'host_os == "mac"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=darwin', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'v8/buildtools/mac/gn.sha1', ], }, { - "name": "gn_linux", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", "chromium-gn", - "-s", "v8/buildtools/linux64/gn.sha1", + 'name': 'gn_linux', + 'pattern': '.', + 'condition': 'host_os == "linux"', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--platform=linux*', + '--no_auth', + '--bucket', 'chromium-gn', + '-s', 'v8/buildtools/linux64/gn.sha1', ], }, { - "name": "wasm_spec_tests", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--no_auth", - "-u", - "--bucket", "v8-wasm-spec-tests", - "-s", "v8/test/wasm-spec-tests/tests.tar.gz.sha1", + 'name': 'wasm_spec_tests', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--no_auth', + '-u', + '--bucket', 'v8-wasm-spec-tests', + '-s', 'v8/test/wasm-spec-tests/tests.tar.gz.sha1', ], }, { - "name": "closure_compiler", - "pattern": ".", - "action": [ "download_from_google_storage", - "--no_resume", - "--no_auth", - "-u", - "--bucket", "chromium-v8-closure-compiler", - "-s", "v8/src/inspector/build/closure-compiler.tar.gz.sha1", + 'name': 'closure_compiler', + 'pattern': '.', + 'action': [ 'download_from_google_storage', + '--no_resume', + '--no_auth', + '-u', + '--bucket', 'chromium-v8-closure-compiler', + '-s', 'v8/src/inspector/build/closure-compiler.tar.gz.sha1', ], }, { @@ -240,6 +252,7 @@ hooks = [ # GYP_DEFINES. 'name': 'instrumented_libraries', 'pattern': '\\.sha1', + # TODO(machenbach): Insert condition and remove GYP_DEFINES dependency. 'action': [ 'python', 'v8/third_party/instrumented_libraries/scripts/download_binaries.py', @@ -249,6 +262,7 @@ hooks = [ # Update the Windows toolchain if necessary. 'name': 'win_toolchain', 'pattern': '.', + 'condition': 'checkout_win', 'action': ['python', 'v8/build/vs_toolchain.py', 'update'], }, # Pull binutils for linux, enabled debug fission for faster linking / @@ -257,21 +271,21 @@ hooks = [ { 'name': 'binutils', 'pattern': 'v8/third_party/binutils', + 'condition': 'host_os == "linux"', 'action': [ 'python', 'v8/third_party/binutils/download.py', ], }, { - # Pull clang if needed or requested via GYP_DEFINES. # Note: On Win, this should run after win_toolchain, as it may use it. 'name': 'clang', 'pattern': '.', - 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'], + 'action': ['python', 'v8/tools/clang/scripts/update.py'], }, { # A change to a .gyp, .gypi, or to GYP itself should run the generator. - "pattern": ".", - "action": ["python", "v8/gypfiles/gyp_v8", "--running-as-hook"], + 'pattern': '.', + 'action': ['python', 'v8/gypfiles/gyp_v8', '--running-as-hook'], }, ] diff --git a/deps/v8/PRESUBMIT.py b/deps/v8/PRESUBMIT.py index 2d79ae682ce16f..1ef291f6fa632e 100644 --- a/deps/v8/PRESUBMIT.py +++ b/deps/v8/PRESUBMIT.py @@ -153,16 +153,17 @@ def _CheckUnwantedDependencies(input_api, output_api): return results +# TODO(mstarzinger): Similar checking should be made available as part of +# tools/presubmit.py (note that tools/check-inline-includes.sh exists). def _CheckNoInlineHeaderIncludesInNormalHeaders(input_api, output_api): """Attempts to prevent inclusion of inline headers into normal header files. This tries to establish a layering where inline headers can be included by other inline headers or compilation units only.""" file_inclusion_pattern = r'(?!.+-inl\.h).+\.h' include_directive_pattern = input_api.re.compile(r'#include ".+-inl.h"') - include_warning = ( - 'You might be including an inline header (e.g. foo-inl.h) within a\n' - 'normal header (e.g. bar.h) file. Can you avoid introducing the\n' - '#include? The commit queue will not block on this warning.') + include_error = ( + 'You are including an inline header (e.g. foo-inl.h) within a normal\n' + 'header (e.g. bar.h) file. This violates layering of dependencies.') def FilterFile(affected_file): black_list = (_EXCLUDED_PATHS + @@ -181,7 +182,7 @@ def FilterFile(affected_file): '%s:%d\n %s' % (local_path, line_number, line.strip())) if problems: - return [output_api.PresubmitPromptOrNotify(include_warning, problems)] + return [output_api.PresubmitError(include_error, problems)] else: return [] @@ -279,6 +280,7 @@ def _CommonChecks(input_api, output_api): _CheckNoInlineHeaderIncludesInNormalHeaders(input_api, output_api)) results.extend(_CheckMissingFiles(input_api, output_api)) results.extend(_CheckJSONFiles(input_api, output_api)) + results.extend(_CheckMacroUndefs(input_api, output_api)) return results @@ -337,6 +339,66 @@ def FilterFile(affected_file): return [output_api.PresubmitError(r) for r in results] +def _CheckMacroUndefs(input_api, output_api): + """ + Checks that each #define in a .cc file is eventually followed by an #undef. + + TODO(clemensh): This check should eventually be enabled for all cc files via + tools/presubmit.py (https://crbug.com/v8/6811). + """ + def FilterFile(affected_file): + # Skip header files, as they often define type lists which are used in + # other files. + white_list = (r'.+\.cc',r'.+\.cpp',r'.+\.c') + return input_api.FilterSourceFile(affected_file, white_list=white_list) + + def TouchesMacros(f): + for line in f.GenerateScmDiff().splitlines(): + if not line.startswith('+') and not line.startswith('-'): + continue + if define_pattern.match(line[1:]) or undef_pattern.match(line[1:]): + return True + return False + + define_pattern = input_api.re.compile(r'#define (\w+)') + undef_pattern = input_api.re.compile(r'#undef (\w+)') + errors = [] + for f in input_api.AffectedFiles( + file_filter=FilterFile, include_deletes=False): + if not TouchesMacros(f): + continue + + defined_macros = dict() + with open(f.LocalPath()) as fh: + line_nr = 0 + for line in fh: + line_nr += 1 + + define_match = define_pattern.match(line) + if define_match: + name = define_match.group(1) + defined_macros[name] = line_nr + + undef_match = undef_pattern.match(line) + if undef_match: + name = undef_match.group(1) + if not name in defined_macros: + errors.append('{}:{}: Macro named \'{}\' was not defined before.' + .format(f.LocalPath(), line_nr, name)) + else: + del defined_macros[name] + for name, line_nr in sorted(defined_macros.items(), key=lambda e: e[1]): + errors.append('{}:{}: Macro missing #undef: {}' + .format(f.LocalPath(), line_nr, name)) + + if errors: + return [output_api.PresubmitPromptOrNotify( + 'Detected mismatches in #define / #undef in the file(s) where you ' + 'modified preprocessor macros.', + errors)] + return [] + + def CheckChangeOnUpload(input_api, output_api): results = [] results.extend(_CommonChecks(input_api, output_api)) diff --git a/deps/v8/base/trace_event/common/trace_event_common.h b/deps/v8/base/trace_event/common/trace_event_common.h index bdc450d56824cd..132a4ea66fc060 100644 --- a/deps/v8/base/trace_event/common/trace_event_common.h +++ b/deps/v8/base/trace_event/common/trace_event_common.h @@ -783,13 +783,22 @@ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ TRACE_EVENT_PHASE_NESTABLE_ASYNC_BEGIN, category_group, name, id, \ TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_NONE) - #define TRACE_EVENT_NESTABLE_ASYNC_END_WITH_TIMESTAMP0(category_group, name, \ id, timestamp) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, category_group, name, id, \ TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_NONE) - +#define TRACE_EVENT_NESTABLE_ASYNC_END_WITH_TIMESTAMP1( \ + category_group, name, id, timestamp, arg1_name, arg1_val) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ + TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, category_group, name, id, \ + TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_NONE, \ + arg1_name, arg1_val) +#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT_WITH_TIMESTAMP0( \ + category_group, name, id, timestamp) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ + TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, category_group, name, id, \ + TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_NONE) #define TRACE_EVENT_COPY_NESTABLE_ASYNC_BEGIN_WITH_TIMESTAMP0( \ category_group, name, id, timestamp) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ diff --git a/deps/v8/gni/isolate.gni b/deps/v8/gni/isolate.gni index f5453e560653e6..4bdf0c0fad2947 100644 --- a/deps/v8/gni/isolate.gni +++ b/deps/v8/gni/isolate.gni @@ -176,7 +176,7 @@ template("v8_isolate_run") { if (is_win) { args += [ "--config-variable", - "msvs_version=2015", + "msvs_version=2017", ] } else { args += [ diff --git a/deps/v8/gypfiles/features.gypi b/deps/v8/gypfiles/features.gypi index 6b0b293db69d8e..1d3f67daee3738 100644 --- a/deps/v8/gypfiles/features.gypi +++ b/deps/v8/gypfiles/features.gypi @@ -86,6 +86,9 @@ # Enable concurrent marking. 'v8_enable_concurrent_marking%': 0, + + # Controls the threshold for on-heap/off-heap Typed Arrays. + 'v8_typed_array_max_size_in_heap%': 64, }, 'target_defaults': { 'conditions': [ @@ -166,6 +169,7 @@ }, # configurations 'defines': [ 'V8_GYP_BUILD', + 'V8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=<(v8_typed_array_max_size_in_heap)', ], # defines }, # target_defaults } diff --git a/deps/v8/gypfiles/gyp_environment.py b/deps/v8/gypfiles/gyp_environment.py index 76ae841ffb6a08..fe6b51f28abbdf 100644 --- a/deps/v8/gypfiles/gyp_environment.py +++ b/deps/v8/gypfiles/gyp_environment.py @@ -10,7 +10,6 @@ import os import sys -import vs_toolchain SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) V8_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) @@ -56,5 +55,3 @@ def set_environment(): if not os.environ.get('GYP_GENERATORS'): # Default to ninja on all platforms. os.environ['GYP_GENERATORS'] = 'ninja' - - vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs() diff --git a/deps/v8/gypfiles/gyp_v8 b/deps/v8/gypfiles/gyp_v8 index b8b5f742b1e27d..e419b5e89e78c0 100755 --- a/deps/v8/gypfiles/gyp_v8 +++ b/deps/v8/gypfiles/gyp_v8 @@ -38,7 +38,6 @@ import platform import shlex import subprocess import sys -import vs_toolchain script_dir = os.path.dirname(os.path.realpath(__file__)) v8_root = os.path.abspath(os.path.join(script_dir, os.pardir)) @@ -101,16 +100,7 @@ def additional_include_files(args=[]): def run_gyp(args): - rc = gyp.main(args) - - vs2013_runtime_dll_dirs = vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs() - if vs2013_runtime_dll_dirs: - x64_runtime, x86_runtime = vs2013_runtime_dll_dirs - vs_toolchain.CopyVsRuntimeDlls( - os.path.join(v8_root, GetOutputDirectory()), - (x86_runtime, x64_runtime)) - - if rc != 0: + if gyp.main(args) != 0: print 'Error running GYP' sys.exit(rc) diff --git a/deps/v8/gypfiles/vs_toolchain.py b/deps/v8/gypfiles/vs_toolchain.py deleted file mode 100644 index d7676c8da0c9ea..00000000000000 --- a/deps/v8/gypfiles/vs_toolchain.py +++ /dev/null @@ -1,371 +0,0 @@ -#!/usr/bin/env python -# Copyright 2015 the V8 project authors. All rights reserved. -# Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -import glob -import json -import os -import pipes -import shutil -import subprocess -import sys - - -script_dir = os.path.dirname(os.path.realpath(__file__)) -chrome_src = os.path.abspath(os.path.join(script_dir, os.pardir)) -SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -sys.path.insert(1, os.path.join(chrome_src, 'tools')) -sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib')) -json_data_file = os.path.join(script_dir, 'win_toolchain.json') - - -import gyp - - -# Use MSVS2013 as the default toolchain. -CURRENT_DEFAULT_TOOLCHAIN_VERSION = '2013' - - -def SetEnvironmentAndGetRuntimeDllDirs(): - """Sets up os.environ to use the depot_tools VS toolchain with gyp, and - returns the location of the VS runtime DLLs so they can be copied into - the output directory after gyp generation. - """ - vs_runtime_dll_dirs = None - depot_tools_win_toolchain = \ - bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1'))) - # When running on a non-Windows host, only do this if the SDK has explicitly - # been downloaded before (in which case json_data_file will exist). - if ((sys.platform in ('win32', 'cygwin') or os.path.exists(json_data_file)) - and depot_tools_win_toolchain): - if ShouldUpdateToolchain(): - Update() - with open(json_data_file, 'r') as tempf: - toolchain_data = json.load(tempf) - - toolchain = toolchain_data['path'] - version = toolchain_data['version'] - win_sdk = toolchain_data.get('win_sdk') - if not win_sdk: - win_sdk = toolchain_data['win8sdk'] - wdk = toolchain_data['wdk'] - # TODO(scottmg): The order unfortunately matters in these. They should be - # split into separate keys for x86 and x64. (See CopyVsRuntimeDlls call - # below). http://crbug.com/345992 - vs_runtime_dll_dirs = toolchain_data['runtime_dirs'] - - os.environ['GYP_MSVS_OVERRIDE_PATH'] = toolchain - os.environ['GYP_MSVS_VERSION'] = version - # We need to make sure windows_sdk_path is set to the automated - # toolchain values in GYP_DEFINES, but don't want to override any - # otheroptions.express - # values there. - gyp_defines_dict = gyp.NameValueListToDict(gyp.ShlexEnv('GYP_DEFINES')) - gyp_defines_dict['windows_sdk_path'] = win_sdk - os.environ['GYP_DEFINES'] = ' '.join('%s=%s' % (k, pipes.quote(str(v))) - for k, v in gyp_defines_dict.iteritems()) - os.environ['WINDOWSSDKDIR'] = win_sdk - os.environ['WDK_DIR'] = wdk - # Include the VS runtime in the PATH in case it's not machine-installed. - runtime_path = os.path.pathsep.join(vs_runtime_dll_dirs) - os.environ['PATH'] = runtime_path + os.path.pathsep + os.environ['PATH'] - elif sys.platform == 'win32' and not depot_tools_win_toolchain: - if not 'GYP_MSVS_OVERRIDE_PATH' in os.environ: - os.environ['GYP_MSVS_OVERRIDE_PATH'] = DetectVisualStudioPath() - if not 'GYP_MSVS_VERSION' in os.environ: - os.environ['GYP_MSVS_VERSION'] = GetVisualStudioVersion() - - return vs_runtime_dll_dirs - - -def _RegistryGetValueUsingWinReg(key, value): - """Use the _winreg module to obtain the value of a registry key. - - Args: - key: The registry key. - value: The particular registry value to read. - Return: - contents of the registry key's value, or None on failure. Throws - ImportError if _winreg is unavailable. - """ - import _winreg - try: - root, subkey = key.split('\\', 1) - assert root == 'HKLM' # Only need HKLM for now. - with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey: - return _winreg.QueryValueEx(hkey, value)[0] - except WindowsError: - return None - - -def _RegistryGetValue(key, value): - try: - return _RegistryGetValueUsingWinReg(key, value) - except ImportError: - raise Exception('The python library _winreg not found.') - - -def GetVisualStudioVersion(): - """Return GYP_MSVS_VERSION of Visual Studio. - """ - return os.environ.get('GYP_MSVS_VERSION', CURRENT_DEFAULT_TOOLCHAIN_VERSION) - - -def DetectVisualStudioPath(): - """Return path to the GYP_MSVS_VERSION of Visual Studio. - """ - - # Note that this code is used from - # build/toolchain/win/setup_toolchain.py as well. - version_as_year = GetVisualStudioVersion() - year_to_version = { - '2013': '12.0', - '2015': '14.0', - } - if version_as_year not in year_to_version: - raise Exception(('Visual Studio version %s (from GYP_MSVS_VERSION)' - ' not supported. Supported versions are: %s') % ( - version_as_year, ', '.join(year_to_version.keys()))) - version = year_to_version[version_as_year] - keys = [r'HKLM\Software\Microsoft\VisualStudio\%s' % version, - r'HKLM\Software\Wow6432Node\Microsoft\VisualStudio\%s' % version] - for key in keys: - path = _RegistryGetValue(key, 'InstallDir') - if not path: - continue - path = os.path.normpath(os.path.join(path, '..', '..')) - return path - - raise Exception(('Visual Studio Version %s (from GYP_MSVS_VERSION)' - ' not found.') % (version_as_year)) - - -def _VersionNumber(): - """Gets the standard version number ('120', '140', etc.) based on - GYP_MSVS_VERSION.""" - vs_version = GetVisualStudioVersion() - if vs_version == '2013': - return '120' - elif vs_version == '2015': - return '140' - else: - raise ValueError('Unexpected GYP_MSVS_VERSION') - - -def _CopyRuntimeImpl(target, source, verbose=True): - """Copy |source| to |target| if it doesn't already exist or if it - needs to be updated. - """ - if (os.path.isdir(os.path.dirname(target)) and - (not os.path.isfile(target) or - os.stat(target).st_mtime != os.stat(source).st_mtime)): - if verbose: - print 'Copying %s to %s...' % (source, target) - if os.path.exists(target): - os.unlink(target) - shutil.copy2(source, target) - - -def _CopyRuntime2013(target_dir, source_dir, dll_pattern): - """Copy both the msvcr and msvcp runtime DLLs, only if the target doesn't - exist, but the target directory does exist.""" - for file_part in ('p', 'r'): - dll = dll_pattern % file_part - target = os.path.join(target_dir, dll) - source = os.path.join(source_dir, dll) - _CopyRuntimeImpl(target, source) - - -def _CopyRuntime2015(target_dir, source_dir, dll_pattern, suffix): - """Copy both the msvcp and vccorlib runtime DLLs, only if the target doesn't - exist, but the target directory does exist.""" - for file_part in ('msvcp', 'vccorlib', 'vcruntime'): - dll = dll_pattern % file_part - target = os.path.join(target_dir, dll) - source = os.path.join(source_dir, dll) - _CopyRuntimeImpl(target, source) - ucrt_src_dir = os.path.join(source_dir, 'api-ms-win-*.dll') - print 'Copying %s to %s...' % (ucrt_src_dir, target_dir) - for ucrt_src_file in glob.glob(ucrt_src_dir): - file_part = os.path.basename(ucrt_src_file) - ucrt_dst_file = os.path.join(target_dir, file_part) - _CopyRuntimeImpl(ucrt_dst_file, ucrt_src_file, False) - _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix), - os.path.join(source_dir, 'ucrtbase' + suffix)) - - -def _CopyRuntime(target_dir, source_dir, target_cpu, debug): - """Copy the VS runtime DLLs, only if the target doesn't exist, but the target - directory does exist. Handles VS 2013 and VS 2015.""" - suffix = "d.dll" if debug else ".dll" - if GetVisualStudioVersion() == '2015': - _CopyRuntime2015(target_dir, source_dir, '%s140' + suffix, suffix) - else: - _CopyRuntime2013(target_dir, source_dir, 'msvc%s120' + suffix) - - # Copy the PGO runtime library to the release directories. - if not debug and os.environ.get('GYP_MSVS_OVERRIDE_PATH'): - pgo_x86_runtime_dir = os.path.join(os.environ.get('GYP_MSVS_OVERRIDE_PATH'), - 'VC', 'bin') - pgo_x64_runtime_dir = os.path.join(pgo_x86_runtime_dir, 'amd64') - pgo_runtime_dll = 'pgort' + _VersionNumber() + '.dll' - if target_cpu == "x86": - source_x86 = os.path.join(pgo_x86_runtime_dir, pgo_runtime_dll) - if os.path.exists(source_x86): - _CopyRuntimeImpl(os.path.join(target_dir, pgo_runtime_dll), source_x86) - elif target_cpu == "x64": - source_x64 = os.path.join(pgo_x64_runtime_dir, pgo_runtime_dll) - if os.path.exists(source_x64): - _CopyRuntimeImpl(os.path.join(target_dir, pgo_runtime_dll), - source_x64) - else: - raise NotImplementedError("Unexpected target_cpu value:" + target_cpu) - - -def CopyVsRuntimeDlls(output_dir, runtime_dirs): - """Copies the VS runtime DLLs from the given |runtime_dirs| to the output - directory so that even if not system-installed, built binaries are likely to - be able to run. - - This needs to be run after gyp has been run so that the expected target - output directories are already created. - - This is used for the GYP build and gclient runhooks. - """ - x86, x64 = runtime_dirs - out_debug = os.path.join(output_dir, 'Debug') - out_release = os.path.join(output_dir, 'Release') - out_debug_x64 = os.path.join(output_dir, 'Debug_x64') - out_release_x64 = os.path.join(output_dir, 'Release_x64') - - _CopyRuntime(out_debug, x86, "x86", debug=True) - _CopyRuntime(out_release, x86, "x86", debug=False) - _CopyRuntime(out_debug_x64, x64, "x64", debug=True) - _CopyRuntime(out_release_x64, x64, "x64", debug=False) - - -def CopyDlls(target_dir, configuration, target_cpu): - """Copy the VS runtime DLLs into the requested directory as needed. - - configuration is one of 'Debug' or 'Release'. - target_cpu is one of 'x86' or 'x64'. - - The debug configuration gets both the debug and release DLLs; the - release config only the latter. - - This is used for the GN build. - """ - vs_runtime_dll_dirs = SetEnvironmentAndGetRuntimeDllDirs() - if not vs_runtime_dll_dirs: - return - - x64_runtime, x86_runtime = vs_runtime_dll_dirs - runtime_dir = x64_runtime if target_cpu == 'x64' else x86_runtime - _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False) - if configuration == 'Debug': - _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=True) - - -def _GetDesiredVsToolchainHashes(): - """Load a list of SHA1s corresponding to the toolchains that we want installed - to build with.""" - if GetVisualStudioVersion() == '2015': - # Update 2. - return ['95ddda401ec5678f15eeed01d2bee08fcbc5ee97'] - else: - return ['03a4e939cd325d6bc5216af41b92d02dda1366a6'] - - -def ShouldUpdateToolchain(): - """Check if the toolchain should be upgraded.""" - if not os.path.exists(json_data_file): - return True - with open(json_data_file, 'r') as tempf: - toolchain_data = json.load(tempf) - version = toolchain_data['version'] - env_version = GetVisualStudioVersion() - # If there's a mismatch between the version set in the environment and the one - # in the json file then the toolchain should be updated. - return version != env_version - - -def Update(force=False): - """Requests an update of the toolchain to the specific hashes we have at - this revision. The update outputs a .json of the various configuration - information required to pass to gyp which we use in |GetToolchainDir()|. - """ - if force != False and force != '--force': - print >>sys.stderr, 'Unknown parameter "%s"' % force - return 1 - if force == '--force' or os.path.exists(json_data_file): - force = True - - depot_tools_win_toolchain = \ - bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1'))) - if ((sys.platform in ('win32', 'cygwin') or force) and - depot_tools_win_toolchain): - import find_depot_tools - depot_tools_path = find_depot_tools.add_depot_tools_to_path() - # Necessary so that get_toolchain_if_necessary.py will put the VS toolkit - # in the correct directory. - os.environ['GYP_MSVS_VERSION'] = GetVisualStudioVersion() - get_toolchain_args = [ - sys.executable, - os.path.join(depot_tools_path, - 'win_toolchain', - 'get_toolchain_if_necessary.py'), - '--output-json', json_data_file, - ] + _GetDesiredVsToolchainHashes() - if force: - get_toolchain_args.append('--force') - subprocess.check_call(get_toolchain_args) - - return 0 - - -def NormalizePath(path): - while path.endswith("\\"): - path = path[:-1] - return path - - -def GetToolchainDir(): - """Gets location information about the current toolchain (must have been - previously updated by 'update'). This is used for the GN build.""" - runtime_dll_dirs = SetEnvironmentAndGetRuntimeDllDirs() - - # If WINDOWSSDKDIR is not set, search the default SDK path and set it. - if not 'WINDOWSSDKDIR' in os.environ: - default_sdk_path = 'C:\\Program Files (x86)\\Windows Kits\\10' - if os.path.isdir(default_sdk_path): - os.environ['WINDOWSSDKDIR'] = default_sdk_path - - print '''vs_path = "%s" -sdk_path = "%s" -vs_version = "%s" -wdk_dir = "%s" -runtime_dirs = "%s" -''' % ( - NormalizePath(os.environ['GYP_MSVS_OVERRIDE_PATH']), - NormalizePath(os.environ['WINDOWSSDKDIR']), - GetVisualStudioVersion(), - NormalizePath(os.environ.get('WDK_DIR', '')), - os.path.pathsep.join(runtime_dll_dirs or ['None'])) - - -def main(): - commands = { - 'update': Update, - 'get_toolchain_dir': GetToolchainDir, - 'copy_dlls': CopyDlls, - } - if len(sys.argv) < 2 or sys.argv[1] not in commands: - print >>sys.stderr, 'Expected one of: %s' % ', '.join(commands) - return 1 - return commands[sys.argv[1]](*sys.argv[2:]) - - -if __name__ == '__main__': - sys.exit(main()) diff --git a/deps/v8/gypfiles/win/msvs_dependencies.isolate b/deps/v8/gypfiles/win/msvs_dependencies.isolate index 79ae11a1ae9596..285912665916e8 100644 --- a/deps/v8/gypfiles/win/msvs_dependencies.isolate +++ b/deps/v8/gypfiles/win/msvs_dependencies.isolate @@ -25,8 +25,8 @@ ], }, }], - # VS2015 runtimes - ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', { + # VS2015/2017 runtimes + ['OS=="win" and (msvs_version==2015 or msvs_version==2017) and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', { 'variables': { 'files': [ '<(PRODUCT_DIR)/msvcp140d.dll', @@ -36,7 +36,7 @@ ], }, }], - ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', { + ['OS=="win" and (msvs_version==2015 or msvs_version==2017) and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', { 'variables': { 'files': [ '<(PRODUCT_DIR)/msvcp140.dll', @@ -46,7 +46,7 @@ ], }, }], - ['OS=="win" and msvs_version==2015 and component=="shared_library"', { + ['OS=="win" and (msvs_version==2015 or msvs_version==2017) and component=="shared_library"', { # Windows 10 Universal C Runtime binaries. 'variables': { 'files': [ diff --git a/deps/v8/include/v8-platform.h b/deps/v8/include/v8-platform.h index 6c3c4292c5c3c8..74630b6f19d475 100644 --- a/deps/v8/include/v8-platform.h +++ b/deps/v8/include/v8-platform.h @@ -36,51 +36,6 @@ class IdleTask { virtual void Run(double deadline_in_seconds) = 0; }; -/** - * A TaskRunner allows scheduling of tasks. The TaskRunner may still be used to - * post tasks after the isolate gets destructed, but these tasks may not get - * executed anymore. All tasks posted to a given TaskRunner will be invoked in - * sequence. Tasks can be posted from any thread. - */ -class TaskRunner { - public: - /** - * Schedules a task to be invoked by this TaskRunner. The TaskRunner - * implementation takes ownership of |task|. - */ - virtual void PostTask(std::unique_ptr task) = 0; - - /** - * Schedules a task to be invoked by this TaskRunner. The task is scheduled - * after the given number of seconds |delay_in_seconds|. The TaskRunner - * implementation takes ownership of |task|. - */ - virtual void PostDelayedTask(std::unique_ptr task, - double delay_in_seconds) = 0; - - /** - * Schedules an idle task to be invoked by this TaskRunner. The task is - * scheduled when the embedder is idle. Requires that - * TaskRunner::SupportsIdleTasks(isolate) is true. Idle tasks may be reordered - * relative to other task types and may be starved for an arbitrarily long - * time if no idle time is available. The TaskRunner implementation takes - * ownership of |task|. - */ - virtual void PostIdleTask(std::unique_ptr task) = 0; - - /** - * Returns true if idle tasks are enabled for this TaskRunner. - */ - virtual bool IdleTasksEnabled() = 0; - - TaskRunner() = default; - virtual ~TaskRunner() = default; - - private: - TaskRunner(const TaskRunner&) = delete; - TaskRunner& operator=(const TaskRunner&) = delete; -}; - /** * The interface represents complex arguments to trace events. */ @@ -195,28 +150,6 @@ class Platform { */ virtual size_t NumberOfAvailableBackgroundThreads() { return 0; } - /** - * Returns a TaskRunner which can be used to post a task on the foreground. - * This function should only be called from a foreground thread. - */ - virtual std::shared_ptr GetForegroundTaskRunner( - Isolate* isolate) { - // TODO(ahaas): Make this function abstract after it got implemented on all - // platforms. - return {}; - } - - /** - * Returns a TaskRunner which can be used to post a task on a background. - * This function should only be called from a foreground thread. - */ - virtual std::shared_ptr GetBackgroundTaskRunner( - Isolate* isolate) { - // TODO(ahaas): Make this function abstract after it got implemented on all - // platforms. - return {}; - } - /** * Schedules a task to be invoked on a background thread. |expected_runtime| * indicates that the task will run a long time. The Platform implementation @@ -276,10 +209,7 @@ class Platform { * Current wall-clock time in milliseconds since epoch. * This function is expected to return at least millisecond-precision values. */ - virtual double CurrentClockTimeMillis() { - // TODO(dats): Make pure virtual after V8 roll in Chromium. - return 0.0; - } + virtual double CurrentClockTimeMillis() = 0; typedef void (*StackTracePrinter)(); diff --git a/deps/v8/include/v8-version.h b/deps/v8/include/v8-version.h index 2760fe3f297be8..46bb92f650695d 100644 --- a/deps/v8/include/v8-version.h +++ b/deps/v8/include/v8-version.h @@ -9,8 +9,8 @@ // NOTE these macros are used by some of the tool scripts and the build // system so their names cannot be changed without changing the scripts. #define V8_MAJOR_VERSION 6 -#define V8_MINOR_VERSION 2 -#define V8_BUILD_NUMBER 414 +#define V8_MINOR_VERSION 3 +#define V8_BUILD_NUMBER 292 #define V8_PATCH_LEVEL 46 // Use 1 for candidates and 0 otherwise. diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index ecabe2aa6d9f59..f1001533649a1a 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -150,6 +150,10 @@ template class CustomArguments; class PropertyCallbackArguments; class FunctionCallbackArguments; class GlobalHandles; + +namespace wasm { +class StreamingDecoder; +} // namespace wasm } // namespace internal namespace debug { @@ -986,7 +990,7 @@ class V8_EXPORT Data { * A container type that holds relevant metadata for module loading. * * This is passed back to the embedder as part of - * HostImportDynamicallyCallback for module loading. + * HostImportModuleDynamicallyCallback for module loading. */ class V8_EXPORT ScriptOrModule { public: @@ -1011,7 +1015,7 @@ class V8_EXPORT ScriptOrModule { * pass host defined options to the ScriptOptions during compilation. * * This is passed back to the embedder as part of - * HostImportDynamicallyCallback for module loading. + * HostImportModuleDynamicallyCallback for module loading. * */ class V8_EXPORT PrimitiveArray { @@ -1432,6 +1436,7 @@ class V8_EXPORT ScriptCompiler { kProduceParserCache, kConsumeParserCache, kProduceCodeCache, + kProduceFullCodeCache, kConsumeCodeCache }; @@ -1829,7 +1834,7 @@ class V8_EXPORT JSON { * \return The corresponding string if successfully stringified. */ static V8_WARN_UNUSED_RESULT MaybeLocal Stringify( - Local context, Local json_object, + Local context, Local json_object, Local gap = Local()); }; @@ -4264,6 +4269,7 @@ class V8_EXPORT WasmModuleObjectBuilderStreaming final { #endif std::vector received_buffers_; size_t total_size_ = 0; + std::shared_ptr streaming_decoder_; }; class V8_EXPORT WasmModuleObjectBuilder final { @@ -5176,6 +5182,8 @@ typedef void (*NamedPropertyDeleterCallback)( /** * Returns an array containing the names of the properties the named * property getter intercepts. + * + * Note: The values in the array must be of type v8::Name. */ typedef void (*NamedPropertyEnumeratorCallback)( const PropertyCallbackInfo& info); @@ -5299,6 +5307,8 @@ typedef void (*GenericNamedPropertyDeleterCallback)( /** * Returns an array containing the names of the properties the named * property getter intercepts. + * + * Note: The values in the array must be of type v8::Name. */ typedef void (*GenericNamedPropertyEnumeratorCallback)( const PropertyCallbackInfo& info); @@ -5379,7 +5389,10 @@ typedef void (*IndexedPropertyDeleterCallback)( const PropertyCallbackInfo& info); /** - * See `v8::GenericNamedPropertyEnumeratorCallback`. + * Returns an array containing the indices of the properties the indexed + * property getter intercepts. + * + * Note: The values in the array must be uint32_t. */ typedef void (*IndexedPropertyEnumeratorCallback)( const PropertyCallbackInfo& info); @@ -6182,6 +6195,9 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message); typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom); +typedef void (*DcheckErrorCallback)(const char* file, int line, + const char* message); + typedef void (*MessageCallback)(Local message, Local data); // --- Tracing --- @@ -6252,7 +6268,7 @@ typedef void (*CallCompletedCallback)(Isolate*); typedef void (*DeprecatedCallCompletedCallback)(); /** - * HostImportDynamicallyCallback is called when we require the + * HostImportModuleDynamicallyCallback is called when we require the * embedder to load a module. This is used as part of the dynamic * import syntax. * @@ -7032,6 +7048,7 @@ class V8_EXPORT Isolate { kPromiseConstructorReturnedUndefined = 38, kConstructorNonUndefinedPrimitiveReturn = 39, kLabeledExpressionStatement = 40, + kLineOrParagraphSeparatorAsLineTerminator = 41, // If you add new values here, you'll also need to update Chromium's: // UseCounter.h, V8PerIsolateData.cpp, histograms.xml @@ -7887,6 +7904,9 @@ class V8_EXPORT V8 { static StartupData WarmUpSnapshotDataBlob(StartupData cold_startup_blob, const char* warmup_source); + /** Set the callback to invoke in case of Dcheck failures. */ + static void SetDcheckErrorHandler(DcheckErrorCallback that); + /** * Adds a message listener. * @@ -7956,9 +7976,8 @@ class V8_EXPORT V8 { * This function removes callback which was installed by * AddGCPrologueCallback function. */ - V8_INLINE static V8_DEPRECATED( - "Use isolate version", - void RemoveGCPrologueCallback(GCCallback callback)); + static V8_DEPRECATED("Use isolate version", + void RemoveGCPrologueCallback(GCCallback callback)); /** * Enables the host application to receive a notification after a @@ -7979,9 +7998,8 @@ class V8_EXPORT V8 { * This function removes callback which was installed by * AddGCEpilogueCallback function. */ - V8_INLINE static V8_DEPRECATED( - "Use isolate version", - void RemoveGCEpilogueCallback(GCCallback callback)); + static V8_DEPRECATED("Use isolate version", + void RemoveGCEpilogueCallback(GCCallback callback)); /** * Initializes V8. This function needs to be called before the first Isolate @@ -9069,11 +9087,11 @@ class Internals { static const int kNodeIsIndependentShift = 3; static const int kNodeIsActiveShift = 4; - static const int kJSApiObjectType = 0xbd; - static const int kJSObjectType = 0xbe; static const int kFirstNonstringType = 0x80; - static const int kOddballType = 0x82; - static const int kForeignType = 0x86; + static const int kOddballType = 0x83; + static const int kForeignType = 0x87; + static const int kJSApiObjectType = 0xbf; + static const int kJSObjectType = 0xc0; static const int kUndefinedOddballKind = 5; static const int kNullOddballKind = 3; @@ -10365,19 +10383,6 @@ void V8::SetFatalErrorHandler(FatalErrorCallback callback) { isolate->SetFatalErrorHandler(callback); } -void V8::RemoveGCPrologueCallback(GCCallback callback) { - Isolate* isolate = Isolate::GetCurrent(); - isolate->RemoveGCPrologueCallback( - reinterpret_cast(callback)); -} - - -void V8::RemoveGCEpilogueCallback(GCCallback callback) { - Isolate* isolate = Isolate::GetCurrent(); - isolate->RemoveGCEpilogueCallback( - reinterpret_cast(callback)); -} - void V8::TerminateExecution(Isolate* isolate) { isolate->TerminateExecution(); } diff --git a/deps/v8/infra/mb/mb_config.pyl b/deps/v8/infra/mb/mb_config.pyl index 62bae4bfdca483..3cbcddc0737be3 100644 --- a/deps/v8/infra/mb/mb_config.pyl +++ b/deps/v8/infra/mb/mb_config.pyl @@ -104,7 +104,7 @@ 'V8 Linux - predictable': 'gn_release_x86_predictable', 'V8 Linux - full debug': 'gn_full_debug_x86', 'V8 Linux - interpreted regexp': 'gn_release_x86_interpreted_regexp', - 'V8 Random Deopt Fuzzer - debug': 'gn_debug_x86', + 'V8 Random Deopt Fuzzer - debug': 'gn_debug_x64', }, 'client.v8.clusterfuzz': { 'V8 Mac64 ASAN - release builder': diff --git a/deps/v8/samples/hello-world.cc b/deps/v8/samples/hello-world.cc index 8a2122c96bfbf0..9d8058da417edc 100644 --- a/deps/v8/samples/hello-world.cc +++ b/deps/v8/samples/hello-world.cc @@ -9,53 +9,53 @@ #include "include/libplatform/libplatform.h" #include "include/v8.h" -using namespace v8; - int main(int argc, char* argv[]) { // Initialize V8. - V8::InitializeICUDefaultLocation(argv[0]); - V8::InitializeExternalStartupData(argv[0]); - Platform* platform = platform::CreateDefaultPlatform(); - V8::InitializePlatform(platform); - V8::Initialize(); + v8::V8::InitializeICUDefaultLocation(argv[0]); + v8::V8::InitializeExternalStartupData(argv[0]); + v8::Platform* platform = v8::platform::CreateDefaultPlatform(); + v8::V8::InitializePlatform(platform); + v8::V8::Initialize(); // Create a new Isolate and make it the current one. - Isolate::CreateParams create_params; + v8::Isolate::CreateParams create_params; create_params.array_buffer_allocator = v8::ArrayBuffer::Allocator::NewDefaultAllocator(); - Isolate* isolate = Isolate::New(create_params); + v8::Isolate* isolate = v8::Isolate::New(create_params); { - Isolate::Scope isolate_scope(isolate); + v8::Isolate::Scope isolate_scope(isolate); // Create a stack-allocated handle scope. - HandleScope handle_scope(isolate); + v8::HandleScope handle_scope(isolate); // Create a new context. - Local context = Context::New(isolate); + v8::Local context = v8::Context::New(isolate); // Enter the context for compiling and running the hello world script. - Context::Scope context_scope(context); + v8::Context::Scope context_scope(context); // Create a string containing the JavaScript source code. - Local source = - String::NewFromUtf8(isolate, "'Hello' + ', World!'", - NewStringType::kNormal).ToLocalChecked(); + v8::Local source = + v8::String::NewFromUtf8(isolate, "'Hello' + ', World!'", + v8::NewStringType::kNormal) + .ToLocalChecked(); // Compile the source code. - Local