From 2739185b790e040c3b044c577327f5d44bffad4a Mon Sep 17 00:00:00 2001 From: Michaƫl Zasso Date: Fri, 23 Dec 2016 16:30:57 +0100 Subject: deps: update V8 to 5.5.372.40 PR-URL: https://github.com/nodejs/node/pull/9618 Reviewed-By: Ali Ijaz Sheikh Reviewed-By: Ben Noordhuis --- deps/v8/.gitignore | 7 +- deps/v8/.gn | 5 +- deps/v8/AUTHORS | 4 + deps/v8/BUILD.gn | 468 ++- deps/v8/ChangeLog | 1984 +++++++++ deps/v8/DEPS | 84 +- deps/v8/OWNERS | 1 - deps/v8/PRESUBMIT.py | 33 + .../base/trace_event/common/trace_event_common.h | 97 +- deps/v8/build_overrides/build.gni | 8 + deps/v8/build_overrides/v8.gni | 16 +- .../gypfiles/config/win/msvs_dependencies.isolate | 77 - deps/v8/gypfiles/get_landmines.py | 2 + deps/v8/gypfiles/gyp_v8 | 14 +- deps/v8/gypfiles/standalone.gypi | 6 +- deps/v8/include/DEPS | 4 + deps/v8/include/OWNERS | 5 + deps/v8/include/libplatform/v8-tracing.h | 62 +- deps/v8/include/v8-inspector-protocol.h | 13 + deps/v8/include/v8-inspector.h | 267 ++ deps/v8/include/v8-platform.h | 66 +- deps/v8/include/v8-profiler.h | 28 + deps/v8/include/v8-util.h | 17 +- deps/v8/include/v8-version.h | 6 +- deps/v8/include/v8.h | 983 ++++- deps/v8/infra/mb/mb_config.pyl | 254 +- deps/v8/src/address-map.cc | 2 +- deps/v8/src/address-map.h | 4 +- deps/v8/src/allocation.h | 6 +- deps/v8/src/api-arguments-inl.h | 41 +- deps/v8/src/api-arguments.cc | 4 - deps/v8/src/api-arguments.h | 7 + deps/v8/src/api-natives.cc | 92 +- deps/v8/src/api.cc | 603 ++- deps/v8/src/api.h | 8 +- deps/v8/src/arguments.h | 7 +- deps/v8/src/arm/OWNERS | 1 - deps/v8/src/arm/assembler-arm-inl.h | 2 +- deps/v8/src/arm/assembler-arm.cc | 576 ++- deps/v8/src/arm/assembler-arm.h | 27 +- deps/v8/src/arm/code-stubs-arm.cc | 375 +- deps/v8/src/arm/codegen-arm.cc | 2 + deps/v8/src/arm/constants-arm.h | 24 +- deps/v8/src/arm/deoptimizer-arm.cc | 25 +- deps/v8/src/arm/disasm-arm.cc | 86 +- deps/v8/src/arm/interface-descriptors-arm.cc | 26 +- deps/v8/src/arm/macro-assembler-arm.cc | 185 +- deps/v8/src/arm/macro-assembler-arm.h | 52 +- deps/v8/src/arm/simulator-arm.cc | 170 +- deps/v8/src/arm/simulator-arm.h | 19 +- deps/v8/src/arm64/OWNERS | 1 - deps/v8/src/arm64/code-stubs-arm64.cc | 405 +- deps/v8/src/arm64/interface-descriptors-arm64.cc | 26 +- deps/v8/src/arm64/macro-assembler-arm64.cc | 9 +- deps/v8/src/arm64/macro-assembler-arm64.h | 12 + deps/v8/src/arm64/simulator-arm64.cc | 3 +- deps/v8/src/arm64/simulator-arm64.h | 5 +- deps/v8/src/asmjs/asm-js.cc | 54 +- deps/v8/src/asmjs/asm-js.h | 19 +- deps/v8/src/asmjs/asm-typer.cc | 69 +- deps/v8/src/asmjs/asm-typer.h | 26 +- deps/v8/src/asmjs/asm-types.h | 4 +- deps/v8/src/asmjs/asm-wasm-builder.cc | 448 +- deps/v8/src/asmjs/asm-wasm-builder.h | 7 +- deps/v8/src/assembler.cc | 49 +- deps/v8/src/assembler.h | 19 +- deps/v8/src/assert-scope.h | 8 +- deps/v8/src/ast/OWNERS | 1 + deps/v8/src/ast/ast-expression-rewriter.cc | 9 +- deps/v8/src/ast/ast-expression-rewriter.h | 4 +- deps/v8/src/ast/ast-literal-reindexer.cc | 9 +- deps/v8/src/ast/ast-literal-reindexer.h | 2 +- deps/v8/src/ast/ast-numbering.cc | 63 +- deps/v8/src/ast/ast-traversal-visitor.h | 4 +- deps/v8/src/ast/ast-type-bounds.h | 14 +- deps/v8/src/ast/ast-types.cc | 1270 ++++++ deps/v8/src/ast/ast-types.h | 1024 +++++ deps/v8/src/ast/ast-value-factory.cc | 68 +- deps/v8/src/ast/ast-value-factory.h | 27 +- deps/v8/src/ast/ast.cc | 142 +- deps/v8/src/ast/ast.h | 653 +-- deps/v8/src/ast/compile-time-value.cc | 56 + deps/v8/src/ast/compile-time-value.h | 45 + deps/v8/src/ast/context-slot-cache.cc | 7 + deps/v8/src/ast/context-slot-cache.h | 1 - deps/v8/src/ast/modules.cc | 248 +- deps/v8/src/ast/modules.h | 124 +- deps/v8/src/ast/prettyprinter.cc | 75 +- deps/v8/src/ast/prettyprinter.h | 3 +- deps/v8/src/ast/scopeinfo.cc | 666 +-- deps/v8/src/ast/scopeinfo.h | 18 - deps/v8/src/ast/scopes.cc | 1351 +++--- deps/v8/src/ast/scopes.h | 372 +- deps/v8/src/ast/variables.cc | 45 +- deps/v8/src/ast/variables.h | 124 +- deps/v8/src/background-parsing-task.cc | 16 +- deps/v8/src/background-parsing-task.h | 14 +- deps/v8/src/bailout-reason.h | 11 +- deps/v8/src/base.isolate | 8 - deps/v8/src/base/accounting-allocator.cc | 44 - deps/v8/src/base/accounting-allocator.h | 36 - deps/v8/src/base/atomic-utils.h | 16 + deps/v8/src/base/build_config.h | 17 +- deps/v8/src/base/hashmap-entry.h | 54 + deps/v8/src/base/hashmap.h | 351 +- deps/v8/src/base/macros.h | 6 - deps/v8/src/base/platform/platform-macos.cc | 5 +- deps/v8/src/basic-block-profiler.h | 8 +- deps/v8/src/bit-vector.h | 2 +- deps/v8/src/bootstrapper.cc | 194 +- deps/v8/src/builtins/arm/builtins-arm.cc | 226 +- deps/v8/src/builtins/arm64/builtins-arm64.cc | 275 +- deps/v8/src/builtins/builtins-array.cc | 322 +- deps/v8/src/builtins/builtins-callsite.cc | 150 +- deps/v8/src/builtins/builtins-conversion.cc | 174 +- deps/v8/src/builtins/builtins-dataview.cc | 204 + deps/v8/src/builtins/builtins-date.cc | 135 +- deps/v8/src/builtins/builtins-global.cc | 109 + deps/v8/src/builtins/builtins-handler.cc | 21 +- deps/v8/src/builtins/builtins-internal.cc | 19 +- deps/v8/src/builtins/builtins-interpreter.cc | 22 + deps/v8/src/builtins/builtins-iterator.cc | 17 + deps/v8/src/builtins/builtins-number.cc | 138 + deps/v8/src/builtins/builtins-object.cc | 31 +- deps/v8/src/builtins/builtins-regexp.cc | 441 ++ deps/v8/src/builtins/builtins-sharedarraybuffer.cc | 8 +- deps/v8/src/builtins/builtins-string.cc | 1063 ++++- deps/v8/src/builtins/builtins-utils.h | 51 +- deps/v8/src/builtins/builtins.h | 158 +- deps/v8/src/builtins/ia32/builtins-ia32.cc | 380 +- deps/v8/src/builtins/mips/builtins-mips.cc | 260 +- deps/v8/src/builtins/mips64/builtins-mips64.cc | 258 +- deps/v8/src/builtins/ppc/builtins-ppc.cc | 221 +- deps/v8/src/builtins/s390/builtins-s390.cc | 218 +- deps/v8/src/builtins/x64/builtins-x64.cc | 271 +- deps/v8/src/builtins/x87/builtins-x87.cc | 381 +- deps/v8/src/checks.h | 5 +- deps/v8/src/code-events.h | 7 +- deps/v8/src/code-factory.cc | 64 +- deps/v8/src/code-factory.h | 6 +- deps/v8/src/code-stub-assembler.cc | 3105 +++++++++++--- deps/v8/src/code-stub-assembler.h | 433 +- deps/v8/src/code-stubs-hydrogen.cc | 534 +-- deps/v8/src/code-stubs.cc | 1377 ++++--- deps/v8/src/code-stubs.h | 505 +-- deps/v8/src/codegen.cc | 6 +- deps/v8/src/collector.h | 2 +- deps/v8/src/compilation-dependencies.cc | 2 +- deps/v8/src/compilation-info.cc | 214 + deps/v8/src/compilation-info.h | 400 ++ .../compiler-dispatcher/compiler-dispatcher-job.cc | 161 +- .../compiler-dispatcher/compiler-dispatcher-job.h | 32 +- .../optimizing-compile-dispatcher.cc | 2 + deps/v8/src/compiler.cc | 653 ++- deps/v8/src/compiler.h | 450 +- deps/v8/src/compiler/access-builder.cc | 169 +- deps/v8/src/compiler/access-builder.h | 21 +- deps/v8/src/compiler/access-info.cc | 118 +- deps/v8/src/compiler/access-info.h | 22 +- deps/v8/src/compiler/all-nodes.cc | 23 +- deps/v8/src/compiler/all-nodes.h | 14 +- deps/v8/src/compiler/arm/code-generator-arm.cc | 279 +- .../src/compiler/arm/instruction-selector-arm.cc | 28 +- deps/v8/src/compiler/arm64/code-generator-arm64.cc | 38 +- .../compiler/arm64/instruction-selector-arm64.cc | 129 +- deps/v8/src/compiler/ast-graph-builder.cc | 256 +- deps/v8/src/compiler/ast-graph-builder.h | 20 +- .../src/compiler/ast-loop-assignment-analyzer.cc | 6 +- .../v8/src/compiler/ast-loop-assignment-analyzer.h | 2 +- deps/v8/src/compiler/basic-block-instrumentor.cc | 3 +- deps/v8/src/compiler/bytecode-graph-builder.cc | 582 ++- deps/v8/src/compiler/bytecode-graph-builder.h | 53 +- deps/v8/src/compiler/bytecode-loop-analysis.h | 2 +- deps/v8/src/compiler/c-linkage.cc | 2 +- deps/v8/src/compiler/code-assembler.cc | 85 +- deps/v8/src/compiler/code-assembler.h | 41 +- deps/v8/src/compiler/code-generator-impl.h | 6 +- deps/v8/src/compiler/code-generator.cc | 38 +- deps/v8/src/compiler/code-generator.h | 9 +- deps/v8/src/compiler/common-operator-reducer.cc | 8 +- deps/v8/src/compiler/common-operator.cc | 2 +- deps/v8/src/compiler/common-operator.h | 4 +- deps/v8/src/compiler/control-equivalence.h | 2 +- deps/v8/src/compiler/control-flow-optimizer.h | 2 +- deps/v8/src/compiler/effect-control-linearizer.cc | 584 ++- deps/v8/src/compiler/effect-control-linearizer.h | 33 +- deps/v8/src/compiler/escape-analysis-reducer.cc | 36 +- deps/v8/src/compiler/escape-analysis.cc | 44 +- deps/v8/src/compiler/escape-analysis.h | 2 + deps/v8/src/compiler/graph-reducer.h | 2 +- deps/v8/src/compiler/graph-visualizer.cc | 12 +- deps/v8/src/compiler/graph.h | 4 +- deps/v8/src/compiler/ia32/code-generator-ia32.cc | 14 +- .../compiler/ia32/instruction-scheduler-ia32.cc | 8 +- .../src/compiler/ia32/instruction-selector-ia32.cc | 6 +- deps/v8/src/compiler/instruction-codes.h | 1 - deps/v8/src/compiler/instruction-scheduler.cc | 30 +- deps/v8/src/compiler/instruction-scheduler.h | 33 +- deps/v8/src/compiler/instruction-selector-impl.h | 6 + deps/v8/src/compiler/instruction-selector.cc | 223 +- deps/v8/src/compiler/instruction-selector.h | 44 +- deps/v8/src/compiler/instruction.cc | 108 +- deps/v8/src/compiler/instruction.h | 98 +- deps/v8/src/compiler/int64-lowering.cc | 14 +- deps/v8/src/compiler/int64-lowering.h | 2 +- deps/v8/src/compiler/js-builtin-reducer.cc | 397 +- deps/v8/src/compiler/js-builtin-reducer.h | 14 +- deps/v8/src/compiler/js-call-reducer.cc | 53 +- deps/v8/src/compiler/js-call-reducer.h | 12 +- deps/v8/src/compiler/js-create-lowering.cc | 101 +- deps/v8/src/compiler/js-create-lowering.h | 6 +- deps/v8/src/compiler/js-generic-lowering.cc | 45 +- .../compiler/js-global-object-specialization.cc | 62 +- .../src/compiler/js-global-object-specialization.h | 4 +- deps/v8/src/compiler/js-inlining-heuristic.cc | 302 +- deps/v8/src/compiler/js-inlining-heuristic.h | 21 +- deps/v8/src/compiler/js-inlining.cc | 216 +- deps/v8/src/compiler/js-inlining.h | 4 +- deps/v8/src/compiler/js-intrinsic-lowering.cc | 8 +- .../compiler/js-native-context-specialization.cc | 336 +- .../compiler/js-native-context-specialization.h | 7 +- deps/v8/src/compiler/js-operator.cc | 79 +- deps/v8/src/compiler/js-operator.h | 71 +- deps/v8/src/compiler/js-typed-lowering.cc | 727 ++-- deps/v8/src/compiler/js-typed-lowering.h | 18 +- deps/v8/src/compiler/linkage.cc | 83 +- deps/v8/src/compiler/linkage.h | 2 +- deps/v8/src/compiler/live-range-separator.cc | 16 + deps/v8/src/compiler/live-range-separator.h | 3 +- deps/v8/src/compiler/liveness-analyzer.h | 2 +- deps/v8/src/compiler/load-elimination.cc | 344 +- deps/v8/src/compiler/load-elimination.h | 49 + deps/v8/src/compiler/loop-analysis.cc | 4 +- deps/v8/src/compiler/loop-analysis.h | 2 +- deps/v8/src/compiler/loop-peeling.cc | 6 +- deps/v8/src/compiler/loop-variable-optimizer.cc | 13 +- deps/v8/src/compiler/loop-variable-optimizer.h | 4 +- deps/v8/src/compiler/machine-graph-verifier.cc | 667 +++ deps/v8/src/compiler/machine-graph-verifier.h | 31 + deps/v8/src/compiler/machine-operator-reducer.cc | 87 +- deps/v8/src/compiler/machine-operator-reducer.h | 2 + deps/v8/src/compiler/machine-operator.cc | 645 +-- deps/v8/src/compiler/machine-operator.h | 18 +- deps/v8/src/compiler/memory-optimizer.cc | 42 +- deps/v8/src/compiler/memory-optimizer.h | 2 +- deps/v8/src/compiler/mips/code-generator-mips.cc | 62 +- deps/v8/src/compiler/mips/instruction-codes-mips.h | 12 +- .../src/compiler/mips/instruction-selector-mips.cc | 130 +- .../src/compiler/mips64/code-generator-mips64.cc | 61 +- .../src/compiler/mips64/instruction-codes-mips64.h | 12 +- .../compiler/mips64/instruction-selector-mips64.cc | 134 +- deps/v8/src/compiler/move-optimizer.cc | 2 +- deps/v8/src/compiler/move-optimizer.h | 2 +- deps/v8/src/compiler/node-aux-data.h | 2 +- deps/v8/src/compiler/node-cache.cc | 4 +- deps/v8/src/compiler/node-matchers.h | 12 + deps/v8/src/compiler/node-properties.h | 2 +- deps/v8/src/compiler/node.h | 4 +- deps/v8/src/compiler/opcodes.h | 226 +- deps/v8/src/compiler/operation-typer.cc | 14 +- deps/v8/src/compiler/operation-typer.h | 6 +- deps/v8/src/compiler/operator-properties.cc | 1 + deps/v8/src/compiler/operator.h | 2 +- deps/v8/src/compiler/osr.cc | 18 +- deps/v8/src/compiler/osr.h | 2 +- deps/v8/src/compiler/pipeline-statistics.cc | 3 +- deps/v8/src/compiler/pipeline.cc | 114 +- deps/v8/src/compiler/ppc/code-generator-ppc.cc | 14 +- .../src/compiler/ppc/instruction-selector-ppc.cc | 4 + deps/v8/src/compiler/raw-machine-assembler.cc | 24 + deps/v8/src/compiler/raw-machine-assembler.h | 14 + deps/v8/src/compiler/redundancy-elimination.cc | 4 +- deps/v8/src/compiler/register-allocator-verifier.h | 2 +- deps/v8/src/compiler/register-allocator.cc | 27 +- deps/v8/src/compiler/register-allocator.h | 4 +- deps/v8/src/compiler/representation-change.cc | 264 +- deps/v8/src/compiler/representation-change.h | 23 +- deps/v8/src/compiler/s390/code-generator-s390.cc | 14 +- .../src/compiler/s390/instruction-selector-s390.cc | 7 +- deps/v8/src/compiler/schedule.h | 2 +- deps/v8/src/compiler/scheduler.cc | 4 +- deps/v8/src/compiler/scheduler.h | 2 +- deps/v8/src/compiler/simplified-lowering.cc | 792 ++-- deps/v8/src/compiler/simplified-lowering.h | 9 +- .../v8/src/compiler/simplified-operator-reducer.cc | 24 +- deps/v8/src/compiler/simplified-operator.cc | 106 +- deps/v8/src/compiler/simplified-operator.h | 23 +- deps/v8/src/compiler/state-values-utils.h | 2 +- deps/v8/src/compiler/store-store-elimination.cc | 20 +- deps/v8/src/compiler/store-store-elimination.h | 2 +- deps/v8/src/compiler/type-cache.cc | 24 + deps/v8/src/compiler/type-cache.h | 157 + deps/v8/src/compiler/type-hint-analyzer.cc | 26 +- deps/v8/src/compiler/type-hint-analyzer.h | 6 +- deps/v8/src/compiler/type-hints.cc | 91 - deps/v8/src/compiler/type-hints.h | 73 - deps/v8/src/compiler/typed-optimization.cc | 253 ++ deps/v8/src/compiler/typed-optimization.h | 73 + deps/v8/src/compiler/typer.cc | 845 +--- deps/v8/src/compiler/typer.h | 7 +- deps/v8/src/compiler/types.cc | 961 +++++ deps/v8/src/compiler/types.h | 607 +++ deps/v8/src/compiler/verifier.cc | 247 +- deps/v8/src/compiler/wasm-compiler.cc | 402 +- deps/v8/src/compiler/wasm-compiler.h | 27 +- deps/v8/src/compiler/wasm-linkage.cc | 4 +- deps/v8/src/compiler/x64/code-generator-x64.cc | 82 +- deps/v8/src/compiler/x64/instruction-codes-x64.h | 8 +- .../src/compiler/x64/instruction-scheduler-x64.cc | 15 +- .../src/compiler/x64/instruction-selector-x64.cc | 107 +- deps/v8/src/compiler/x87/code-generator-x87.cc | 14 +- .../src/compiler/x87/instruction-selector-x87.cc | 6 +- deps/v8/src/compiler/zone-pool.cc | 2 +- deps/v8/src/compiler/zone-pool.h | 6 +- deps/v8/src/contexts.cc | 114 +- deps/v8/src/contexts.h | 141 +- deps/v8/src/counters-inl.h | 14 +- deps/v8/src/counters.cc | 49 +- deps/v8/src/counters.h | 109 +- deps/v8/src/crankshaft/arm/lithium-arm.cc | 76 +- deps/v8/src/crankshaft/arm/lithium-arm.h | 57 - deps/v8/src/crankshaft/arm/lithium-codegen-arm.cc | 52 +- deps/v8/src/crankshaft/arm/lithium-codegen-arm.h | 2 - deps/v8/src/crankshaft/arm64/lithium-arm64.cc | 87 +- deps/v8/src/crankshaft/arm64/lithium-arm64.h | 57 - .../src/crankshaft/arm64/lithium-codegen-arm64.cc | 63 +- .../src/crankshaft/arm64/lithium-codegen-arm64.h | 2 - deps/v8/src/crankshaft/compilation-phase.h | 5 +- deps/v8/src/crankshaft/hydrogen-bce.cc | 15 +- deps/v8/src/crankshaft/hydrogen-bce.h | 2 +- deps/v8/src/crankshaft/hydrogen-flow-engine.h | 4 +- deps/v8/src/crankshaft/hydrogen-gvn.h | 4 +- deps/v8/src/crankshaft/hydrogen-instructions.cc | 21 +- deps/v8/src/crankshaft/hydrogen-instructions.h | 103 +- deps/v8/src/crankshaft/hydrogen-osr.h | 2 +- deps/v8/src/crankshaft/hydrogen-types.cc | 20 +- deps/v8/src/crankshaft/hydrogen-types.h | 4 +- deps/v8/src/crankshaft/hydrogen.cc | 509 +-- deps/v8/src/crankshaft/hydrogen.h | 67 +- .../v8/src/crankshaft/ia32/lithium-codegen-ia32.cc | 52 +- deps/v8/src/crankshaft/ia32/lithium-codegen-ia32.h | 2 - deps/v8/src/crankshaft/ia32/lithium-ia32.cc | 77 +- deps/v8/src/crankshaft/ia32/lithium-ia32.h | 56 - deps/v8/src/crankshaft/lithium-allocator.h | 2 +- deps/v8/src/crankshaft/lithium-codegen.cc | 2 + deps/v8/src/crankshaft/lithium-codegen.h | 4 +- deps/v8/src/crankshaft/lithium.h | 2 +- .../v8/src/crankshaft/mips/lithium-codegen-mips.cc | 54 +- deps/v8/src/crankshaft/mips/lithium-codegen-mips.h | 2 - deps/v8/src/crankshaft/mips/lithium-mips.cc | 76 +- deps/v8/src/crankshaft/mips/lithium-mips.h | 57 - .../crankshaft/mips64/lithium-codegen-mips64.cc | 54 +- .../src/crankshaft/mips64/lithium-codegen-mips64.h | 2 - deps/v8/src/crankshaft/mips64/lithium-mips64.cc | 76 +- deps/v8/src/crankshaft/mips64/lithium-mips64.h | 57 - deps/v8/src/crankshaft/ppc/lithium-codegen-ppc.cc | 56 +- deps/v8/src/crankshaft/ppc/lithium-codegen-ppc.h | 2 - deps/v8/src/crankshaft/ppc/lithium-ppc.cc | 75 +- deps/v8/src/crankshaft/ppc/lithium-ppc.h | 57 - .../v8/src/crankshaft/s390/lithium-codegen-s390.cc | 101 +- deps/v8/src/crankshaft/s390/lithium-codegen-s390.h | 2 - deps/v8/src/crankshaft/s390/lithium-s390.cc | 71 +- deps/v8/src/crankshaft/s390/lithium-s390.h | 55 - deps/v8/src/crankshaft/typing.cc | 167 +- deps/v8/src/crankshaft/typing.h | 24 +- deps/v8/src/crankshaft/unique.h | 2 +- deps/v8/src/crankshaft/x64/lithium-codegen-x64.cc | 52 +- deps/v8/src/crankshaft/x64/lithium-codegen-x64.h | 2 - deps/v8/src/crankshaft/x64/lithium-x64.cc | 76 +- deps/v8/src/crankshaft/x64/lithium-x64.h | 57 - deps/v8/src/crankshaft/x87/lithium-codegen-x87.cc | 56 +- deps/v8/src/crankshaft/x87/lithium-codegen-x87.h | 2 - deps/v8/src/crankshaft/x87/lithium-x87.cc | 77 +- deps/v8/src/crankshaft/x87/lithium-x87.h | 56 - deps/v8/src/d8.cc | 285 +- deps/v8/src/d8.gyp | 20 +- deps/v8/src/d8.h | 43 +- deps/v8/src/dateparser.h | 2 +- deps/v8/src/debug/arm/debug-arm.cc | 4 +- deps/v8/src/debug/arm64/debug-arm64.cc | 4 +- deps/v8/src/debug/debug-evaluate.cc | 15 +- deps/v8/src/debug/debug-scopes.cc | 19 +- deps/v8/src/debug/debug-scopes.h | 2 + deps/v8/src/debug/debug.cc | 40 +- deps/v8/src/debug/debug.h | 11 +- deps/v8/src/debug/ia32/debug-ia32.cc | 4 +- deps/v8/src/debug/liveedit.cc | 60 +- deps/v8/src/debug/liveedit.h | 14 - deps/v8/src/debug/mips/debug-mips.cc | 4 +- deps/v8/src/debug/mips64/debug-mips64.cc | 4 +- deps/v8/src/debug/ppc/debug-ppc.cc | 4 +- deps/v8/src/debug/s390/debug-s390.cc | 4 +- deps/v8/src/debug/x64/debug-x64.cc | 5 +- deps/v8/src/debug/x87/debug-x87.cc | 4 +- deps/v8/src/deoptimize-reason.cc | 2 +- deps/v8/src/deoptimize-reason.h | 4 +- deps/v8/src/deoptimizer.cc | 286 +- deps/v8/src/deoptimizer.h | 22 +- deps/v8/src/effects.h | 24 +- deps/v8/src/elements.cc | 58 +- deps/v8/src/elements.h | 3 + deps/v8/src/execution.cc | 27 - deps/v8/src/execution.h | 13 +- deps/v8/src/extensions/statistics-extension.cc | 18 +- deps/v8/src/external-reference-table.cc | 4 - deps/v8/src/factory.cc | 158 +- deps/v8/src/factory.h | 75 +- deps/v8/src/fast-accessor-assembler.cc | 42 +- deps/v8/src/field-type.cc | 10 +- deps/v8/src/field-type.h | 3 +- deps/v8/src/flag-definitions.h | 137 +- deps/v8/src/frames-inl.h | 2 + deps/v8/src/frames.cc | 15 +- deps/v8/src/frames.h | 9 +- deps/v8/src/full-codegen/arm/full-codegen-arm.cc | 176 +- .../src/full-codegen/arm64/full-codegen-arm64.cc | 180 +- deps/v8/src/full-codegen/full-codegen.cc | 171 +- deps/v8/src/full-codegen/full-codegen.h | 60 +- deps/v8/src/full-codegen/ia32/full-codegen-ia32.cc | 176 +- deps/v8/src/full-codegen/mips/full-codegen-mips.cc | 177 +- .../src/full-codegen/mips64/full-codegen-mips64.cc | 177 +- deps/v8/src/full-codegen/ppc/full-codegen-ppc.cc | 177 +- deps/v8/src/full-codegen/s390/full-codegen-s390.cc | 174 +- deps/v8/src/full-codegen/x64/full-codegen-x64.cc | 174 +- deps/v8/src/full-codegen/x87/full-codegen-x87.cc | 176 +- deps/v8/src/gdb-jit.cc | 3 +- deps/v8/src/globals.h | 201 +- deps/v8/src/handles.h | 26 +- deps/v8/src/heap-symbols.h | 36 +- deps/v8/src/heap/gc-tracer.cc | 245 +- deps/v8/src/heap/gc-tracer.h | 99 +- deps/v8/src/heap/heap-inl.h | 167 +- deps/v8/src/heap/heap.cc | 912 ++-- deps/v8/src/heap/heap.h | 625 ++- deps/v8/src/heap/incremental-marking-inl.h | 10 + deps/v8/src/heap/incremental-marking-job.cc | 130 +- deps/v8/src/heap/incremental-marking-job.h | 53 +- deps/v8/src/heap/incremental-marking.cc | 518 +-- deps/v8/src/heap/incremental-marking.h | 117 +- deps/v8/src/heap/mark-compact-inl.h | 4 +- deps/v8/src/heap/mark-compact.cc | 160 +- deps/v8/src/heap/mark-compact.h | 18 +- deps/v8/src/heap/memory-reducer.cc | 11 +- deps/v8/src/heap/object-stats.cc | 74 +- deps/v8/src/heap/object-stats.h | 1 + deps/v8/src/heap/objects-visiting-inl.h | 97 +- deps/v8/src/heap/objects-visiting.cc | 2 +- deps/v8/src/heap/objects-visiting.h | 10 +- deps/v8/src/heap/remembered-set.cc | 32 +- deps/v8/src/heap/remembered-set.h | 36 +- deps/v8/src/heap/scavenge-job.cc | 2 +- deps/v8/src/heap/slot-set.h | 267 +- deps/v8/src/heap/spaces-inl.h | 8 - deps/v8/src/heap/spaces.cc | 211 +- deps/v8/src/heap/spaces.h | 406 +- deps/v8/src/i18n.cc | 12 +- deps/v8/src/ia32/code-stubs-ia32.cc | 522 +-- deps/v8/src/ia32/interface-descriptors-ia32.cc | 30 +- deps/v8/src/ia32/macro-assembler-ia32.cc | 7 +- deps/v8/src/ia32/macro-assembler-ia32.h | 18 + deps/v8/src/ic/arm/handler-compiler-arm.cc | 44 +- deps/v8/src/ic/arm/ic-arm.cc | 14 +- deps/v8/src/ic/arm64/handler-compiler-arm64.cc | 45 +- deps/v8/src/ic/arm64/ic-arm64.cc | 15 +- deps/v8/src/ic/handler-compiler.cc | 103 +- deps/v8/src/ic/handler-compiler.h | 22 +- deps/v8/src/ic/ia32/handler-compiler-ia32.cc | 107 +- deps/v8/src/ic/ia32/ic-compiler-ia32.cc | 21 +- deps/v8/src/ic/ia32/ic-ia32.cc | 95 +- deps/v8/src/ic/ia32/stub-cache-ia32.cc | 29 +- deps/v8/src/ic/ic-inl.h | 1 - deps/v8/src/ic/ic-state.cc | 44 +- deps/v8/src/ic/ic-state.h | 13 +- deps/v8/src/ic/ic.cc | 208 +- deps/v8/src/ic/ic.h | 7 +- deps/v8/src/ic/mips/handler-compiler-mips.cc | 46 +- deps/v8/src/ic/mips/ic-mips.cc | 27 +- deps/v8/src/ic/mips64/handler-compiler-mips64.cc | 46 +- deps/v8/src/ic/mips64/ic-mips64.cc | 27 +- deps/v8/src/ic/ppc/handler-compiler-ppc.cc | 44 +- deps/v8/src/ic/ppc/ic-ppc.cc | 14 +- deps/v8/src/ic/s390/handler-compiler-s390.cc | 42 +- deps/v8/src/ic/s390/ic-s390.cc | 15 +- deps/v8/src/ic/stub-cache.cc | 1 + deps/v8/src/ic/stub-cache.h | 1 + deps/v8/src/ic/x64/handler-compiler-x64.cc | 56 +- deps/v8/src/ic/x64/ic-x64.cc | 24 +- deps/v8/src/ic/x87/handler-compiler-x87.cc | 107 +- deps/v8/src/ic/x87/ic-compiler-x87.cc | 21 +- deps/v8/src/ic/x87/ic-x87.cc | 95 +- deps/v8/src/ic/x87/stub-cache-x87.cc | 29 +- deps/v8/src/identity-map.cc | 2 +- deps/v8/src/inspector/BUILD.gn | 228 +- deps/v8/src/inspector/DEPS | 8 + deps/v8/src/inspector/OWNERS | 15 + deps/v8/src/inspector/PRESUBMIT.py | 55 + .../build/check_injected_script_source.py | 88 + .../inspector/build/closure-compiler.tar.gz.sha1 | 1 + deps/v8/src/inspector/build/compile-scripts.py | 169 + .../inspector/build/generate_protocol_externs.py | 246 ++ deps/v8/src/inspector/build/rjsmin.py | 295 ++ deps/v8/src/inspector/build/xxd.py | 28 + deps/v8/src/inspector/debugger-script.js | 712 ++++ deps/v8/src/inspector/debugger_script_externs.js | 522 +++ deps/v8/src/inspector/injected-script-native.cc | 89 + deps/v8/src/inspector/injected-script-native.h | 47 + deps/v8/src/inspector/injected-script-source.js | 1076 +++++ deps/v8/src/inspector/injected-script.cc | 581 +++ deps/v8/src/inspector/injected-script.h | 207 + deps/v8/src/inspector/injected_script_externs.js | 66 + deps/v8/src/inspector/inspected-context.cc | 88 + deps/v8/src/inspector/inspected-context.h | 64 + deps/v8/src/inspector/inspector.gyp | 174 +- deps/v8/src/inspector/inspector.gypi | 95 + .../src/inspector/inspector_protocol_config.json | 25 + deps/v8/src/inspector/java-script-call-frame.cc | 162 + deps/v8/src/inspector/java-script-call-frame.h | 82 + deps/v8/src/inspector/js_protocol-1.2.json | 997 +++++ deps/v8/src/inspector/js_protocol.json | 306 +- deps/v8/src/inspector/protocol-platform.h | 21 + deps/v8/src/inspector/remote-object-id.cc | 76 + deps/v8/src/inspector/remote-object-id.h | 58 + deps/v8/src/inspector/script-breakpoint.h | 52 + deps/v8/src/inspector/search-util.cc | 164 + deps/v8/src/inspector/search-util.h | 24 + deps/v8/src/inspector/string-16.cc | 518 +++ deps/v8/src/inspector/string-16.h | 133 + deps/v8/src/inspector/string-util.cc | 218 + deps/v8/src/inspector/string-util.h | 75 + deps/v8/src/inspector/v8-console-agent-impl.cc | 79 + deps/v8/src/inspector/v8-console-agent-impl.h | 48 + deps/v8/src/inspector/v8-console-message.cc | 485 +++ deps/v8/src/inspector/v8-console-message.h | 120 + deps/v8/src/inspector/v8-console.cc | 922 +++++ deps/v8/src/inspector/v8-console.h | 119 + deps/v8/src/inspector/v8-debugger-agent-impl.cc | 1255 ++++++ deps/v8/src/inspector/v8-debugger-agent-impl.h | 224 + deps/v8/src/inspector/v8-debugger-script.cc | 140 + deps/v8/src/inspector/v8-debugger-script.h | 87 + deps/v8/src/inspector/v8-debugger.cc | 1002 +++++ deps/v8/src/inspector/v8-debugger.h | 160 + deps/v8/src/inspector/v8-function-call.cc | 111 + deps/v8/src/inspector/v8-function-call.h | 65 + .../src/inspector/v8-heap-profiler-agent-impl.cc | 407 ++ .../v8/src/inspector/v8-heap-profiler-agent-impl.h | 73 + deps/v8/src/inspector/v8-injected-script-host.cc | 216 + deps/v8/src/inspector/v8-injected-script-host.h | 46 + deps/v8/src/inspector/v8-inspector-impl.cc | 376 ++ deps/v8/src/inspector/v8-inspector-impl.h | 150 + deps/v8/src/inspector/v8-inspector-session-impl.cc | 417 ++ deps/v8/src/inspector/v8-inspector-session-impl.h | 126 + deps/v8/src/inspector/v8-internal-value-type.cc | 77 + deps/v8/src/inspector/v8-internal-value-type.h | 23 + deps/v8/src/inspector/v8-profiler-agent-impl.cc | 321 ++ deps/v8/src/inspector/v8-profiler-agent-impl.h | 74 + deps/v8/src/inspector/v8-regex.cc | 93 + deps/v8/src/inspector/v8-regex.h | 37 + deps/v8/src/inspector/v8-runtime-agent-impl.cc | 738 ++++ deps/v8/src/inspector/v8-runtime-agent-impl.h | 131 + deps/v8/src/inspector/v8-schema-agent-impl.cc | 29 + deps/v8/src/inspector/v8-schema-agent-impl.h | 37 + deps/v8/src/inspector/v8-stack-trace-impl.cc | 281 ++ deps/v8/src/inspector/v8-stack-trace-impl.h | 99 + deps/v8/src/inspector/v8-value-copier.cc | 110 + deps/v8/src/inspector/v8-value-copier.h | 24 + deps/v8/src/interface-descriptors.cc | 766 ++-- deps/v8/src/interface-descriptors.h | 480 +-- deps/v8/src/interpreter/OWNERS | 1 - deps/v8/src/interpreter/bytecode-array-builder.cc | 684 ++- deps/v8/src/interpreter/bytecode-array-builder.h | 233 +- deps/v8/src/interpreter/bytecode-array-iterator.cc | 13 +- deps/v8/src/interpreter/bytecode-array-iterator.h | 1 + deps/v8/src/interpreter/bytecode-array-writer.cc | 148 +- deps/v8/src/interpreter/bytecode-array-writer.h | 4 +- .../interpreter/bytecode-dead-code-optimizer.cc | 6 +- .../src/interpreter/bytecode-dead-code-optimizer.h | 2 +- deps/v8/src/interpreter/bytecode-decoder.cc | 53 +- deps/v8/src/interpreter/bytecode-decoder.h | 6 + deps/v8/src/interpreter/bytecode-flags.cc | 8 + deps/v8/src/interpreter/bytecode-flags.h | 11 + deps/v8/src/interpreter/bytecode-generator.cc | 1254 +++--- deps/v8/src/interpreter/bytecode-generator.h | 56 +- deps/v8/src/interpreter/bytecode-label.h | 2 +- deps/v8/src/interpreter/bytecode-operands.cc | 89 + deps/v8/src/interpreter/bytecode-operands.h | 126 + .../src/interpreter/bytecode-peephole-optimizer.cc | 16 +- .../src/interpreter/bytecode-peephole-optimizer.h | 2 +- deps/v8/src/interpreter/bytecode-pipeline.cc | 56 - deps/v8/src/interpreter/bytecode-pipeline.h | 167 +- .../src/interpreter/bytecode-register-allocator.cc | 210 - .../src/interpreter/bytecode-register-allocator.h | 150 +- .../src/interpreter/bytecode-register-optimizer.cc | 180 +- .../src/interpreter/bytecode-register-optimizer.h | 38 +- deps/v8/src/interpreter/bytecode-register.cc | 2 +- deps/v8/src/interpreter/bytecode-register.h | 36 +- deps/v8/src/interpreter/bytecode-traits.h | 260 +- deps/v8/src/interpreter/bytecodes.cc | 532 +-- deps/v8/src/interpreter/bytecodes.h | 662 +-- deps/v8/src/interpreter/constant-array-builder.cc | 20 +- deps/v8/src/interpreter/constant-array-builder.h | 8 +- deps/v8/src/interpreter/control-flow-builders.cc | 14 +- deps/v8/src/interpreter/control-flow-builders.h | 8 +- deps/v8/src/interpreter/handler-table-builder.h | 2 +- deps/v8/src/interpreter/interpreter-assembler.cc | 365 +- deps/v8/src/interpreter/interpreter-assembler.h | 21 +- deps/v8/src/interpreter/interpreter.cc | 528 ++- deps/v8/src/interpreter/interpreter.h | 44 +- deps/v8/src/interpreter/mkpeephole.cc | 3 + deps/v8/src/isolate-inl.h | 24 +- deps/v8/src/isolate.cc | 490 ++- deps/v8/src/isolate.h | 71 +- deps/v8/src/js/async-await.js | 180 + deps/v8/src/js/collection.js | 10 +- deps/v8/src/js/datetime-format-to-parts.js | 16 + deps/v8/src/js/harmony-async-await.js | 51 - deps/v8/src/js/i18n.js | 79 +- deps/v8/src/js/intl-extra.js | 22 - deps/v8/src/js/iterator-prototype.js | 21 - deps/v8/src/js/prologue.js | 25 +- deps/v8/src/js/promise.js | 275 +- deps/v8/src/js/regexp.js | 340 +- deps/v8/src/js/string-iterator.js | 98 - deps/v8/src/js/string.js | 226 +- deps/v8/src/js/typedarray.js | 73 +- deps/v8/src/js/v8natives.js | 56 - deps/v8/src/json-parser.cc | 2 +- deps/v8/src/libplatform/default-platform.cc | 31 +- deps/v8/src/libplatform/default-platform.h | 20 +- deps/v8/src/libplatform/tracing/trace-object.cc | 21 +- deps/v8/src/libplatform/tracing/trace-writer.cc | 15 +- deps/v8/src/libplatform/tracing/trace-writer.h | 1 + .../src/libplatform/tracing/tracing-controller.cc | 49 +- deps/v8/src/libsampler/sampler.cc | 2 +- deps/v8/src/lookup-cache-inl.h | 40 + deps/v8/src/lookup-cache.cc | 84 + deps/v8/src/lookup-cache.h | 117 + deps/v8/src/lookup.cc | 6 - deps/v8/src/lookup.h | 46 +- deps/v8/src/machine-type.h | 44 +- deps/v8/src/messages.cc | 819 ++-- deps/v8/src/messages.h | 189 +- deps/v8/src/mips/assembler-mips.cc | 38 +- deps/v8/src/mips/assembler-mips.h | 7 + deps/v8/src/mips/code-stubs-mips.cc | 350 +- deps/v8/src/mips/constants-mips.cc | 110 - deps/v8/src/mips/constants-mips.h | 297 +- deps/v8/src/mips/disasm-mips.cc | 29 +- deps/v8/src/mips/interface-descriptors-mips.cc | 26 +- deps/v8/src/mips/macro-assembler-mips.cc | 56 +- deps/v8/src/mips/macro-assembler-mips.h | 12 + deps/v8/src/mips/simulator-mips.cc | 401 +- deps/v8/src/mips/simulator-mips.h | 82 +- deps/v8/src/mips64/assembler-mips64.cc | 39 +- deps/v8/src/mips64/assembler-mips64.h | 7 + deps/v8/src/mips64/code-stubs-mips64.cc | 355 +- deps/v8/src/mips64/constants-mips64.cc | 112 - deps/v8/src/mips64/constants-mips64.h | 304 +- deps/v8/src/mips64/disasm-mips64.cc | 33 +- deps/v8/src/mips64/interface-descriptors-mips64.cc | 26 +- deps/v8/src/mips64/macro-assembler-mips64.cc | 54 +- deps/v8/src/mips64/macro-assembler-mips64.h | 12 + deps/v8/src/mips64/simulator-mips64.cc | 413 +- deps/v8/src/mips64/simulator-mips64.h | 81 +- deps/v8/src/objects-body-descriptors-inl.h | 2 +- deps/v8/src/objects-debug.cc | 44 +- deps/v8/src/objects-inl.h | 142 +- deps/v8/src/objects-printer.cc | 98 +- deps/v8/src/objects.cc | 808 +++- deps/v8/src/objects.h | 639 ++- deps/v8/src/ostreams.h | 3 +- deps/v8/src/parsing/duplicate-finder.cc | 145 + deps/v8/src/parsing/duplicate-finder.h | 64 + deps/v8/src/parsing/expression-classifier.h | 117 +- deps/v8/src/parsing/func-name-inferrer.cc | 8 +- deps/v8/src/parsing/func-name-inferrer.h | 2 +- .../src/parsing/parameter-initializer-rewriter.cc | 4 +- .../src/parsing/parameter-initializer-rewriter.h | 2 +- deps/v8/src/parsing/parse-info.cc | 20 +- deps/v8/src/parsing/parse-info.h | 20 +- deps/v8/src/parsing/parser-base.h | 4060 ++++++++++++------ deps/v8/src/parsing/parser.cc | 4343 +++++++------------- deps/v8/src/parsing/parser.h | 1102 ++--- deps/v8/src/parsing/pattern-rewriter.cc | 40 +- deps/v8/src/parsing/preparser.cc | 1175 +----- deps/v8/src/parsing/preparser.h | 1190 +++--- deps/v8/src/parsing/rewriter.cc | 3 + deps/v8/src/parsing/scanner-character-streams.cc | 971 +++-- deps/v8/src/parsing/scanner-character-streams.h | 184 +- deps/v8/src/parsing/scanner.cc | 375 +- deps/v8/src/parsing/scanner.h | 294 +- deps/v8/src/pending-compilation-error-handler.cc | 1 + deps/v8/src/ppc/code-stubs-ppc.cc | 366 +- deps/v8/src/ppc/interface-descriptors-ppc.cc | 26 +- deps/v8/src/ppc/macro-assembler-ppc.cc | 8 +- deps/v8/src/ppc/macro-assembler-ppc.h | 12 + deps/v8/src/ppc/simulator-ppc.cc | 20 +- deps/v8/src/ppc/simulator-ppc.h | 16 +- deps/v8/src/profiler/OWNERS | 1 + deps/v8/src/profiler/allocation-tracker.cc | 2 +- deps/v8/src/profiler/cpu-profiler.h | 1 - deps/v8/src/profiler/heap-snapshot-generator.cc | 30 +- deps/v8/src/profiler/heap-snapshot-generator.h | 6 +- deps/v8/src/profiler/profile-generator.h | 9 +- deps/v8/src/profiler/profiler-listener.cc | 2 + deps/v8/src/profiler/profiler-listener.h | 2 + deps/v8/src/profiler/sampling-heap-profiler.cc | 4 +- deps/v8/src/profiler/strings-storage.h | 4 +- deps/v8/src/profiler/tracing-cpu-profiler.cc | 25 + deps/v8/src/profiler/tracing-cpu-profiler.h | 26 + deps/v8/src/property-details.h | 1 - deps/v8/src/regexp/jsregexp.cc | 1 - deps/v8/src/regexp/jsregexp.h | 4 +- deps/v8/src/regexp/regexp-ast.h | 4 +- deps/v8/src/regexp/regexp-parser.h | 2 +- deps/v8/src/runtime-profiler.cc | 155 +- deps/v8/src/runtime-profiler.h | 10 +- deps/v8/src/runtime/runtime-array.cc | 8 +- deps/v8/src/runtime/runtime-classes.cc | 155 +- deps/v8/src/runtime/runtime-compiler.cc | 51 +- deps/v8/src/runtime/runtime-debug.cc | 4 +- deps/v8/src/runtime/runtime-forin.cc | 21 - deps/v8/src/runtime/runtime-function.cc | 1 + deps/v8/src/runtime/runtime-generator.cc | 4 +- deps/v8/src/runtime/runtime-i18n.cc | 136 +- deps/v8/src/runtime/runtime-internal.cc | 81 +- deps/v8/src/runtime/runtime-literals.cc | 3 +- deps/v8/src/runtime/runtime-object.cc | 59 + deps/v8/src/runtime/runtime-regexp.cc | 2 +- deps/v8/src/runtime/runtime-scopes.cc | 57 +- deps/v8/src/runtime/runtime-strings.cc | 132 +- deps/v8/src/runtime/runtime-test.cc | 35 +- deps/v8/src/runtime/runtime-typedarray.cc | 214 +- deps/v8/src/runtime/runtime-wasm.cc | 125 +- deps/v8/src/runtime/runtime.cc | 72 +- deps/v8/src/runtime/runtime.h | 104 +- deps/v8/src/s390/code-stubs-s390.cc | 373 +- deps/v8/src/s390/interface-descriptors-s390.cc | 24 +- deps/v8/src/s390/macro-assembler-s390.cc | 9 +- deps/v8/src/s390/macro-assembler-s390.h | 12 + deps/v8/src/s390/simulator-s390.cc | 18 +- deps/v8/src/s390/simulator-s390.h | 16 +- deps/v8/src/safepoint-table.h | 2 +- deps/v8/src/signature.h | 2 +- deps/v8/src/small-pointer-list.h | 2 +- deps/v8/src/snapshot/code-serializer.cc | 4 + deps/v8/src/snapshot/code-serializer.h | 3 + deps/v8/src/snapshot/deserializer.cc | 2 +- deps/v8/src/snapshot/natives.h | 7 + deps/v8/src/snapshot/serializer-common.cc | 2 +- deps/v8/src/snapshot/serializer.cc | 5 +- deps/v8/src/snapshot/serializer.h | 2 +- deps/v8/src/snapshot/snapshot-common.cc | 70 +- deps/v8/src/snapshot/snapshot.h | 16 +- deps/v8/src/snapshot/startup-serializer.h | 3 +- deps/v8/src/source-position-table.h | 2 +- deps/v8/src/tracing/trace-event.cc | 95 +- deps/v8/src/tracing/trace-event.h | 198 +- deps/v8/src/type-cache.cc | 23 - deps/v8/src/type-cache.h | 176 - deps/v8/src/type-feedback-vector-inl.h | 104 +- deps/v8/src/type-feedback-vector.cc | 91 +- deps/v8/src/type-feedback-vector.h | 104 +- deps/v8/src/type-hints.cc | 91 + deps/v8/src/type-hints.h | 72 + deps/v8/src/type-info.cc | 134 +- deps/v8/src/type-info.h | 18 +- deps/v8/src/types.cc | 1279 ------ deps/v8/src/types.h | 982 ----- deps/v8/src/unicode-decoder.h | 3 +- deps/v8/src/unicode.cc | 188 +- deps/v8/src/unicode.h | 7 + deps/v8/src/utils.cc | 7 +- deps/v8/src/utils.h | 19 +- deps/v8/src/v8.gyp | 121 +- deps/v8/src/value-serializer.cc | 890 +++- deps/v8/src/value-serializer.h | 99 +- deps/v8/src/wasm/ast-decoder.cc | 1047 ++--- deps/v8/src/wasm/ast-decoder.h | 202 +- deps/v8/src/wasm/decoder.h | 15 +- deps/v8/src/wasm/encoder.cc | 382 -- deps/v8/src/wasm/encoder.h | 205 - deps/v8/src/wasm/module-decoder.cc | 1079 +++-- deps/v8/src/wasm/module-decoder.h | 15 +- deps/v8/src/wasm/switch-logic.h | 4 +- deps/v8/src/wasm/wasm-debug.cc | 10 +- deps/v8/src/wasm/wasm-external-refs.cc | 3 - deps/v8/src/wasm/wasm-interpreter.cc | 389 +- deps/v8/src/wasm/wasm-interpreter.h | 24 +- deps/v8/src/wasm/wasm-js.cc | 472 ++- deps/v8/src/wasm/wasm-js.h | 19 +- deps/v8/src/wasm/wasm-macro-gen.h | 170 +- deps/v8/src/wasm/wasm-module-builder.cc | 459 +++ deps/v8/src/wasm/wasm-module-builder.h | 271 ++ deps/v8/src/wasm/wasm-module.cc | 2032 +++++---- deps/v8/src/wasm/wasm-module.h | 385 +- deps/v8/src/wasm/wasm-opcodes.cc | 29 +- deps/v8/src/wasm/wasm-opcodes.h | 292 +- deps/v8/src/wasm/wasm-result.cc | 39 +- deps/v8/src/wasm/wasm-result.h | 36 +- deps/v8/src/x64/assembler-x64.cc | 278 +- deps/v8/src/x64/assembler-x64.h | 262 +- deps/v8/src/x64/code-stubs-x64.cc | 371 +- deps/v8/src/x64/disasm-x64.cc | 213 +- deps/v8/src/x64/interface-descriptors-x64.cc | 26 +- deps/v8/src/x64/macro-assembler-x64.cc | 9 +- deps/v8/src/x64/macro-assembler-x64.h | 12 + deps/v8/src/x64/sse-instr.h | 69 + deps/v8/src/x87/code-stubs-x87.cc | 522 +-- deps/v8/src/x87/interface-descriptors-x87.cc | 30 +- deps/v8/src/x87/macro-assembler-x87.cc | 7 +- deps/v8/src/x87/macro-assembler-x87.h | 18 + deps/v8/src/zone-allocator.h | 72 - deps/v8/src/zone-containers.h | 133 - deps/v8/src/zone.cc | 280 -- deps/v8/src/zone.h | 252 -- deps/v8/src/zone/accounting-allocator.cc | 45 + deps/v8/src/zone/accounting-allocator.h | 41 + deps/v8/src/zone/zone-allocator.h | 74 + deps/v8/src/zone/zone-containers.h | 138 + deps/v8/src/zone/zone-segment.cc | 22 + deps/v8/src/zone/zone-segment.h | 61 + deps/v8/src/zone/zone.cc | 224 + deps/v8/src/zone/zone.h | 243 ++ deps/v8/test/BUILD.gn | 5 + deps/v8/test/cctest/BUILD.gn | 305 +- deps/v8/test/cctest/asmjs/test-asm-typer.cc | 6 +- deps/v8/test/cctest/ast-types-fuzz.h | 327 ++ deps/v8/test/cctest/cctest.cc | 74 + deps/v8/test/cctest/cctest.gyp | 39 +- deps/v8/test/cctest/cctest.h | 86 +- deps/v8/test/cctest/cctest.status | 138 +- deps/v8/test/cctest/compiler/codegen-tester.h | 5 +- deps/v8/test/cctest/compiler/function-tester.cc | 211 + deps/v8/test/cctest/compiler/function-tester.h | 199 +- .../v8/test/cctest/compiler/graph-builder-tester.h | 5 +- .../v8/test/cctest/compiler/test-code-assembler.cc | 1 + deps/v8/test/cctest/compiler/test-gap-resolver.cc | 208 +- deps/v8/test/cctest/compiler/test-instruction.cc | 2 +- .../test/cctest/compiler/test-js-constant-cache.cc | 87 +- .../test/cctest/compiler/test-js-typed-lowering.cc | 14 +- .../v8/test/cctest/compiler/test-jump-threading.cc | 2 +- deps/v8/test/cctest/compiler/test-linkage.cc | 8 +- .../compiler/test-loop-assignment-analysis.cc | 4 +- .../compiler/test-machine-operator-reducer.cc | 2 - .../test/cctest/compiler/test-multiple-return.cc | 4 +- deps/v8/test/cctest/compiler/test-node.cc | 36 +- .../cctest/compiler/test-representation-change.cc | 60 +- .../compiler/test-run-bytecode-graph-builder.cc | 101 +- deps/v8/test/cctest/compiler/test-run-inlining.cc | 1 + .../v8/test/cctest/compiler/test-run-intrinsics.cc | 10 +- .../v8/test/cctest/compiler/test-run-jsbranches.cc | 1 + deps/v8/test/cctest/compiler/test-run-jscalls.cc | 4 + .../test/cctest/compiler/test-run-jsexceptions.cc | 1 + deps/v8/test/cctest/compiler/test-run-jsobjects.cc | 10 + deps/v8/test/cctest/compiler/test-run-jsops.cc | 1 + .../test/cctest/compiler/test-run-native-calls.cc | 27 +- .../v8/test/cctest/compiler/test-run-stackcheck.cc | 1 + deps/v8/test/cctest/compiler/test-run-stubs.cc | 2 +- .../cctest/compiler/test-run-unwinding-info.cc | 4 + deps/v8/test/cctest/compiler/test-run-variables.cc | 1 + .../cctest/compiler/test-simplified-lowering.cc | 1756 -------- deps/v8/test/cctest/heap/heap-tester.h | 1 + deps/v8/test/cctest/heap/heap-utils.cc | 52 +- deps/v8/test/cctest/heap/heap-utils.h | 8 +- deps/v8/test/cctest/heap/test-alloc.cc | 9 +- .../test/cctest/heap/test-array-buffer-tracker.cc | 6 +- deps/v8/test/cctest/heap/test-compaction.cc | 20 +- deps/v8/test/cctest/heap/test-heap.cc | 558 +-- .../test/cctest/heap/test-incremental-marking.cc | 105 +- deps/v8/test/cctest/heap/test-lab.cc | 6 +- deps/v8/test/cctest/heap/test-mark-compact.cc | 36 +- deps/v8/test/cctest/heap/test-page-promotion.cc | 15 +- deps/v8/test/cctest/heap/test-spaces.cc | 149 +- .../interpreter/bytecode-expectations-printer.cc | 79 +- .../interpreter/bytecode-expectations-printer.h | 30 +- .../bytecode_expectations/ArrayLiterals.golden | 42 +- .../bytecode_expectations/ArrayLiteralsWide.golden | 518 ++- .../AssignmentsInBinaryExpression.golden | 84 +- .../BasicBlockToBoolean.golden | 20 +- .../bytecode_expectations/BasicLoops.golden | 236 +- .../bytecode_expectations/BreakableBlocks.golden | 74 +- .../bytecode_expectations/CallGlobal.golden | 10 +- .../bytecode_expectations/CallLookupSlot.golden | 24 +- .../bytecode_expectations/CallNew.golden | 20 +- .../bytecode_expectations/CallRuntime.golden | 8 +- .../ClassAndSuperClass.golden | 52 +- .../bytecode_expectations/ClassDeclarations.golden | 66 +- .../CompoundExpressions.golden | 36 +- .../bytecode_expectations/Conditional.golden | 6 +- .../bytecode_expectations/ConstVariable.golden | 8 +- .../ConstVariableContextSlot.golden | 46 +- .../bytecode_expectations/ContextParameters.golden | 30 +- .../bytecode_expectations/ContextVariables.golden | 565 +-- .../bytecode_expectations/CountOperators.golden | 82 +- .../bytecode_expectations/CreateArguments.golden | 18 +- .../CreateRestParameter.golden | 20 +- .../bytecode_expectations/DeadCodeRemoval.golden | 2 - .../bytecode_expectations/DeclareGlobals.golden | 20 +- .../bytecode_expectations/Delete.golden | 22 +- .../DeleteLookupSlotInEval.golden | 6 +- .../bytecode_expectations/DoDebugger.golden | 2 - .../bytecode_expectations/DoExpression.golden | 14 +- .../interpreter/bytecode_expectations/Eval.golden | 18 +- .../interpreter/bytecode_expectations/ForIn.golden | 118 +- .../interpreter/bytecode_expectations/ForOf.golden | 498 +-- .../bytecode_expectations/FunctionLiterals.golden | 12 +- .../bytecode_expectations/Generators.golden | 512 +-- .../GlobalCompoundExpressions.golden | 18 +- .../GlobalCountOperators.golden | 34 +- .../bytecode_expectations/GlobalDelete.golden | 24 +- .../HeapNumberConstants.golden | 526 ++- .../bytecode_expectations/IfConditions.golden | 46 +- .../bytecode_expectations/IntegerConstants.golden | 2 - .../JumpsRequiringConstantWideOperands.golden | 644 ++- .../bytecode_expectations/LetVariable.golden | 11 +- .../LetVariableContextSlot.golden | 50 +- .../bytecode_expectations/LoadGlobal.golden | 270 +- .../LogicalExpressions.golden | 26 +- .../bytecode_expectations/LookupSlot.golden | 201 +- .../bytecode_expectations/LookupSlotInEval.golden | 18 +- .../LookupSlotWideInEval.golden | 2066 +++++----- .../bytecode_expectations/Modules.golden | 896 ++++ .../bytecode_expectations/NewTarget.golden | 8 +- .../bytecode_expectations/ObjectLiterals.golden | 113 +- .../ObjectLiteralsWide.golden | 516 ++- .../OuterContextVariables.golden | 23 +- .../bytecode_expectations/Parameters.golden | 2 - .../PrimitiveExpressions.golden | 24 +- .../PrimitiveReturnStatements.golden | 2 - .../bytecode_expectations/PropertyCall.golden | 286 +- .../bytecode_expectations/PropertyLoads.golden | 542 ++- .../bytecode_expectations/PropertyStores.golden | 1082 +++-- .../bytecode_expectations/RegExpLiterals.golden | 16 +- .../RegExpLiteralsWide.golden | 516 ++- .../RemoveRedundantLdar.golden | 20 +- .../bytecode_expectations/StoreGlobal.golden | 546 ++- .../bytecode_expectations/StringConstants.golden | 10 +- .../bytecode_expectations/Switch.golden | 250 +- .../bytecode_expectations/ThisFunction.golden | 2 - .../interpreter/bytecode_expectations/Throw.golden | 6 +- .../TopLevelObjectLiterals.golden | 14 +- .../bytecode_expectations/TryCatch.golden | 29 +- .../bytecode_expectations/TryFinally.golden | 39 +- .../bytecode_expectations/Typeof.golden | 4 +- .../bytecode_expectations/UnaryOperators.golden | 35 +- .../bytecode_expectations/WideRegisters.golden | 40 +- .../bytecode_expectations/WithStatement.golden | 17 +- .../interpreter/generate-bytecode-expectations.cc | 90 +- .../cctest/interpreter/test-bytecode-generator.cc | 282 +- .../interpreter/test-interpreter-intrinsics.cc | 4 +- .../v8/test/cctest/interpreter/test-interpreter.cc | 315 +- .../cctest/interpreter/test-source-positions.cc | 1 - deps/v8/test/cctest/libplatform/test-tracing.cc | 112 +- deps/v8/test/cctest/libsampler/test-sampler.cc | 1 + .../v8/test/cctest/parsing/test-scanner-streams.cc | 448 ++ deps/v8/test/cctest/parsing/test-scanner.cc | 87 + deps/v8/test/cctest/test-accessors.cc | 2 +- deps/v8/test/cctest/test-api-interceptors.cc | 871 +++- deps/v8/test/cctest/test-api.cc | 798 +++- deps/v8/test/cctest/test-api.h | 1 + deps/v8/test/cctest/test-array-list.cc | 7 + deps/v8/test/cctest/test-assembler-arm.cc | 572 ++- deps/v8/test/cctest/test-assembler-mips.cc | 126 + deps/v8/test/cctest/test-assembler-mips64.cc | 123 + deps/v8/test/cctest/test-ast-types.cc | 1904 +++++++++ deps/v8/test/cctest/test-ast.cc | 43 +- deps/v8/test/cctest/test-bit-vector.cc | 2 +- deps/v8/test/cctest/test-code-cache.cc | 9 + deps/v8/test/cctest/test-code-layout.cc | 9 + deps/v8/test/cctest/test-code-stub-assembler.cc | 50 +- deps/v8/test/cctest/test-compiler.cc | 26 +- deps/v8/test/cctest/test-conversions.cc | 15 +- deps/v8/test/cctest/test-cpu-profiler.cc | 20 +- deps/v8/test/cctest/test-date.cc | 5 +- deps/v8/test/cctest/test-debug.cc | 16 +- deps/v8/test/cctest/test-decls.cc | 23 +- deps/v8/test/cctest/test-deoptimization.cc | 3 +- deps/v8/test/cctest/test-dictionary.cc | 4 +- deps/v8/test/cctest/test-disasm-arm.cc | 53 +- deps/v8/test/cctest/test-disasm-mips.cc | 17 + deps/v8/test/cctest/test-disasm-mips64.cc | 21 + deps/v8/test/cctest/test-disasm-x64.cc | 74 +- deps/v8/test/cctest/test-feedback-vector.cc | 37 +- deps/v8/test/cctest/test-field-type-tracking.cc | 62 +- deps/v8/test/cctest/test-flags.cc | 1 + deps/v8/test/cctest/test-global-handles.cc | 11 +- deps/v8/test/cctest/test-hashmap.cc | 6 +- deps/v8/test/cctest/test-heap-profiler.cc | 57 +- deps/v8/test/cctest/test-identity-map.cc | 20 +- deps/v8/test/cctest/test-javascript-arm64.cc | 1 - deps/v8/test/cctest/test-js-arm64-variables.cc | 1 - deps/v8/test/cctest/test-list.cc | 2 + deps/v8/test/cctest/test-liveedit.cc | 2 +- deps/v8/test/cctest/test-lockers.cc | 1 - deps/v8/test/cctest/test-log.cc | 8 +- deps/v8/test/cctest/test-macro-assembler-mips.cc | 53 + deps/v8/test/cctest/test-macro-assembler-mips64.cc | 64 + deps/v8/test/cctest/test-mementos.cc | 20 +- deps/v8/test/cctest/test-modules.cc | 111 + deps/v8/test/cctest/test-object.cc | 6 +- deps/v8/test/cctest/test-parsing.cc | 1313 +++--- deps/v8/test/cctest/test-profile-generator.cc | 4 +- .../v8/test/cctest/test-random-number-generator.cc | 2 + deps/v8/test/cctest/test-representation.cc | 1 - deps/v8/test/cctest/test-sampler-api.cc | 1 + deps/v8/test/cctest/test-serialize.cc | 37 +- deps/v8/test/cctest/test-simd.cc | 9 + deps/v8/test/cctest/test-slots-buffer.cc | 133 - deps/v8/test/cctest/test-strings.cc | 45 +- deps/v8/test/cctest/test-symbols.cc | 16 +- deps/v8/test/cctest/test-thread-termination.cc | 2 + deps/v8/test/cctest/test-threads.cc | 2 +- deps/v8/test/cctest/test-trace-event.cc | 13 +- deps/v8/test/cctest/test-transitions.cc | 4 + deps/v8/test/cctest/test-types.cc | 883 +--- deps/v8/test/cctest/test-unboxed-doubles.cc | 18 +- deps/v8/test/cctest/test-unique.cc | 7 + deps/v8/test/cctest/test-utils.cc | 1 + deps/v8/test/cctest/test-weakmaps.cc | 27 +- deps/v8/test/cctest/test-weaksets.cc | 25 +- deps/v8/test/cctest/types-fuzz.h | 126 +- deps/v8/test/cctest/wasm/test-run-wasm-64.cc | 67 +- deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc | 48 +- .../test/cctest/wasm/test-run-wasm-interpreter.cc | 85 +- deps/v8/test/cctest/wasm/test-run-wasm-js.cc | 9 +- deps/v8/test/cctest/wasm/test-run-wasm-module.cc | 294 +- .../test/cctest/wasm/test-run-wasm-relocation.cc | 73 +- deps/v8/test/cctest/wasm/test-run-wasm-simd.cc | 49 + deps/v8/test/cctest/wasm/test-run-wasm.cc | 843 ++-- deps/v8/test/cctest/wasm/test-signatures.h | 126 - .../cctest/wasm/test-wasm-function-name-table.cc | 6 +- deps/v8/test/cctest/wasm/test-wasm-stack.cc | 2 +- .../v8/test/cctest/wasm/test-wasm-trap-position.cc | 9 +- deps/v8/test/cctest/wasm/wasm-run-utils.h | 27 +- deps/v8/test/common/DEPS | 3 + deps/v8/test/common/wasm/test-signatures.h | 132 + deps/v8/test/common/wasm/wasm-module-runner.cc | 231 ++ deps/v8/test/common/wasm/wasm-module-runner.h | 66 + deps/v8/test/fuzzer/fuzzer.gyp | 260 +- deps/v8/test/fuzzer/fuzzer.isolate | 16 + deps/v8/test/fuzzer/testcfg.py | 5 +- deps/v8/test/fuzzer/wasm-asmjs.cc | 10 +- deps/v8/test/fuzzer/wasm-code.cc | 104 + deps/v8/test/fuzzer/wasm-data-section.cc | 9 + deps/v8/test/fuzzer/wasm-function-sigs-section.cc | 10 + deps/v8/test/fuzzer/wasm-globals-section.cc | 9 + deps/v8/test/fuzzer/wasm-imports-section.cc | 9 + deps/v8/test/fuzzer/wasm-memory-section.cc | 9 + deps/v8/test/fuzzer/wasm-names-section.cc | 10 + deps/v8/test/fuzzer/wasm-section-fuzzers.cc | 63 + deps/v8/test/fuzzer/wasm-section-fuzzers.h | 16 + deps/v8/test/fuzzer/wasm-types-section.cc | 9 + deps/v8/test/fuzzer/wasm.cc | 9 +- deps/v8/test/fuzzer/wasm.tar.gz.sha1 | 1 + deps/v8/test/fuzzer/wasm/foo.wasm | Bin 47 -> 0 bytes deps/v8/test/fuzzer/wasm_asmjs.tar.gz.sha1 | 1 + deps/v8/test/fuzzer/wasm_asmjs/foo.wasm | Bin 47 -> 0 bytes deps/v8/test/fuzzer/wasm_code/foo | 0 deps/v8/test/fuzzer/wasm_data_section/foo | 0 deps/v8/test/fuzzer/wasm_function_sigs_section/foo | 0 deps/v8/test/fuzzer/wasm_globals_section/foo | 0 deps/v8/test/fuzzer/wasm_imports_section/foo | 0 deps/v8/test/fuzzer/wasm_memory_section/foo | 0 deps/v8/test/fuzzer/wasm_names_section/foo | 0 deps/v8/test/fuzzer/wasm_types_section/foo | 0 deps/v8/test/inspector/BUILD.gn | 39 + deps/v8/test/inspector/DEPS | 10 + deps/v8/test/inspector/OWNERS | 2 + .../console/let-const-with-api-expected.txt | 19 + .../test/inspector/console/let-const-with-api.js | 52 + .../memory-setter-in-strict-mode-expected.txt | 9 + .../console/memory-setter-in-strict-mode.js | 13 + ...le-profile-end-parameterless-crash-expected.txt | 3 + .../console-profile-end-parameterless-crash.js | 46 + .../cpu-profiler/console-profile-expected.txt | 3 + .../test/inspector/cpu-profiler/console-profile.js | 59 + .../cpu-profiler/enable-disable-expected.txt | 8 + .../test/inspector/cpu-profiler/enable-disable.js | 75 + .../cpu-profiler/record-cpu-profile-expected.txt | 7 + .../inspector/cpu-profiler/record-cpu-profile.js | 48 + .../stop-without-preceeding-start-expected.txt | 2 + .../cpu-profiler/stop-without-preceeding-start.js | 12 + .../debugger/access-obsolete-frame-expected.txt | 8 + .../inspector/debugger/access-obsolete-frame.js | 67 + .../async-console-count-doesnt-crash-expected.txt | 1 + .../debugger/async-console-count-doesnt-crash.js | 10 + .../call-frame-function-location-expected.txt | 3 + .../debugger/call-frame-function-location.js | 25 + ...mmand-line-api-with-bound-function-expected.txt | 23 + .../command-line-api-with-bound-function.js | 64 + .../debugger/continue-to-location-expected.txt | 31 + .../inspector/debugger/continue-to-location.js | 114 + .../doesnt-step-into-injected-script-expected.txt | 17 + .../debugger/doesnt-step-into-injected-script.js | 32 + ...ope-skip-variables-with-empty-name-expected.txt | 19 + .../scope-skip-variables-with-empty-name.js | 42 + .../debugger/script-parsed-hash-expected.txt | 3 + .../test/inspector/debugger/script-parsed-hash.js | 31 + .../debugger/set-blackbox-patterns-expected.txt | 25 + .../inspector/debugger/set-blackbox-patterns.js | 59 + .../set-breakpoint-before-enabling-expected.txt | 7 + .../debugger/set-breakpoint-before-enabling.js | 17 + .../debugger/set-script-source-expected.txt | 8 + .../test/inspector/debugger/set-script-source.js | 152 + .../step-over-caught-exception-expected.txt | 4 + .../debugger/step-over-caught-exception.js | 76 + .../stepping-with-blackboxed-ranges-expected.txt | 54 + .../debugger/stepping-with-blackboxed-ranges.js | 126 + .../debugger/update-call-frame-scopes-expected.txt | 7 + .../inspector/debugger/update-call-frame-scopes.js | 63 + deps/v8/test/inspector/inspector-impl.cc | 201 + deps/v8/test/inspector/inspector-impl.h | 79 + deps/v8/test/inspector/inspector-test.cc | 254 ++ deps/v8/test/inspector/inspector.gyp | 41 + deps/v8/test/inspector/inspector.status | 7 + deps/v8/test/inspector/json-parse-expected.txt | 9 + deps/v8/test/inspector/json-parse.js | 14 + deps/v8/test/inspector/protocol-test.js | 210 + .../inspector/runtime/await-promise-expected.txt | 119 + deps/v8/test/inspector/runtime/await-promise.js | 116 + .../runtime/call-function-on-async-expected.txt | 141 + .../inspector/runtime/call-function-on-async.js | 129 + .../runtime/clear-of-command-line-api-expected.txt | 177 + .../inspector/runtime/clear-of-command-line-api.js | 117 + .../inspector/runtime/compile-script-expected.txt | 66 + deps/v8/test/inspector/runtime/compile-script.js | 50 + .../console-api-repeated-in-console-expected.txt | 6 + .../runtime/console-api-repeated-in-console.js | 37 + .../console-deprecated-methods-expected.txt | 5 + .../runtime/console-deprecated-methods.js | 28 + .../runtime/console-line-and-column-expected.txt | 52 + .../inspector/runtime/console-line-and-column.js | 18 + .../console-log-doesnt-run-microtasks-expected.txt | 21 + .../runtime/console-log-doesnt-run-microtasks.js | 26 + .../runtime/console-timestamp-expected.txt | 9 + .../v8/test/inspector/runtime/console-timestamp.js | 23 + .../inspector/runtime/evaluate-async-expected.txt | 95 + .../evaluate-async-with-wrap-error-expected.txt | 8 + .../runtime/evaluate-async-with-wrap-error.js | 15 + deps/v8/test/inspector/runtime/evaluate-async.js | 58 + ...valuate-with-context-id-equal-zero-expected.txt | 9 + .../runtime/evaluate-with-context-id-equal-zero.js | 9 + .../runtime/exception-thrown-expected.txt | 117 + deps/v8/test/inspector/runtime/exception-thrown.js | 12 + .../inspector/runtime/get-properties-expected.txt | 39 + .../runtime/get-properties-on-proxy-expected.txt | 11 + .../inspector/runtime/get-properties-on-proxy.js | 101 + .../runtime/get-properties-preview-expected.txt | 32 + .../inspector/runtime/get-properties-preview.js | 25 + deps/v8/test/inspector/runtime/get-properties.js | 221 + .../runtime/property-on-console-proto-expected.txt | 12 + .../inspector/runtime/property-on-console-proto.js | 25 + ...otocol-works-with-different-locale-expected.txt | 138 + .../protocol-works-with-different-locale.js | 40 + .../runtime/run-script-async-expected.txt | 191 + deps/v8/test/inspector/runtime/run-script-async.js | 110 + .../runtime/set-or-map-entries-expected.txt | 9 + .../test/inspector/runtime/set-or-map-entries.js | 52 + deps/v8/test/inspector/task-runner.cc | 145 + deps/v8/test/inspector/task-runner.h | 80 + deps/v8/test/inspector/testcfg.py | 109 + deps/v8/test/intl/assert.js | 8 + .../test/intl/date-format/date-format-to-parts.js | 20 + deps/v8/test/intl/date-format/parse-MMMdy.js | 59 - .../test/intl/date-format/parse-invalid-input.js | 37 - deps/v8/test/intl/date-format/parse-mdy.js | 53 - deps/v8/test/intl/date-format/parse-mdyhms.js | 65 - deps/v8/test/intl/extra-flag.js | 23 - deps/v8/test/intl/intl.status | 5 + deps/v8/test/intl/no-extra-flag.js | 23 - deps/v8/test/intl/number-format/parse-currency.js | 35 - deps/v8/test/intl/number-format/parse-decimal.js | 52 - .../test/intl/number-format/parse-invalid-input.js | 40 - deps/v8/test/intl/number-format/parse-percent.js | 46 - deps/v8/test/js-perf-test/JSTests.json | 32 +- deps/v8/test/js-perf-test/Object/ObjectTests.json | 6 +- deps/v8/test/js-perf-test/Object/create.js | 70 + deps/v8/test/js-perf-test/Object/run.js | 3 +- deps/v8/test/js-perf-test/StringIterators/run.js | 27 + .../StringIterators/string-iterator.js | 239 ++ deps/v8/test/message/arrow-invalid-rest-2.out | 6 +- deps/v8/test/message/arrow-invalid-rest.out | 6 +- deps/v8/test/message/export-duplicate-as.js | 4 +- deps/v8/test/message/export-duplicate-as.out | 4 +- deps/v8/test/message/export-duplicate-default.js | 1 + deps/v8/test/message/export-duplicate-default.out | 2 +- deps/v8/test/message/export-duplicate.js | 3 +- deps/v8/test/message/export-duplicate.out | 6 +- .../message/syntactic-tail-call-in-binop-lhs.js | 14 - .../message/syntactic-tail-call-in-binop-lhs.out | 4 - .../message/syntactic-tail-call-in-binop-rhs.js | 14 - .../message/syntactic-tail-call-in-binop-rhs.out | 4 - .../test/message/syntactic-tail-call-in-comma.js | 14 - .../test/message/syntactic-tail-call-in-comma.out | 4 - .../test/message/syntactic-tail-call-in-extends.js | 10 - .../message/syntactic-tail-call-in-extends.out | 4 - .../test/message/syntactic-tail-call-in-for-in.js | 16 - .../test/message/syntactic-tail-call-in-for-in.out | 4 - .../test/message/syntactic-tail-call-in-for-of.js | 16 - .../test/message/syntactic-tail-call-in-for-of.out | 4 - .../message/syntactic-tail-call-in-logical-and.js | 14 - .../message/syntactic-tail-call-in-logical-and.out | 4 - .../message/syntactic-tail-call-in-logical-or.js | 14 - .../message/syntactic-tail-call-in-logical-or.out | 4 - .../message/syntactic-tail-call-in-subclass.js | 15 - .../message/syntactic-tail-call-in-subclass.out | 4 - .../syntactic-tail-call-in-try-catch-finally.js | 20 - .../syntactic-tail-call-in-try-catch-finally.out | 4 - ...syntactic-tail-call-in-try-try-catch-finally.js | 22 - ...yntactic-tail-call-in-try-try-catch-finally.out | 4 - deps/v8/test/message/syntactic-tail-call-in-try.js | 17 - .../v8/test/message/syntactic-tail-call-in-try.out | 4 - .../syntactic-tail-call-inside-member-expr.js | 14 - .../syntactic-tail-call-inside-member-expr.out | 4 - .../v8/test/message/syntactic-tail-call-of-eval.js | 9 - .../test/message/syntactic-tail-call-of-eval.out | 4 - .../message/syntactic-tail-call-of-identifier.js | 10 - .../message/syntactic-tail-call-of-identifier.out | 4 - deps/v8/test/message/syntactic-tail-call-of-new.js | 13 - .../v8/test/message/syntactic-tail-call-of-new.out | 4 - deps/v8/test/message/syntactic-tail-call-sloppy.js | 9 - .../v8/test/message/syntactic-tail-call-sloppy.out | 4 - .../message/syntactic-tail-call-without-return.js | 14 - .../message/syntactic-tail-call-without-return.out | 4 - deps/v8/test/mjsunit/array-indexing-receiver.js | 10 +- deps/v8/test/mjsunit/bugs/bug-4577.js | 13 - .../mjsunit/compiler/dead-string-char-from-code.js | 76 - .../compiler/escape-analysis-materialize.js | 29 + .../v8/test/mjsunit/compiler/inline-exception-1.js | 2219 ++++++++++ .../v8/test/mjsunit/compiler/inline-exception-2.js | 2063 ++++++++++ deps/v8/test/mjsunit/compiler/instanceof.js | 133 + deps/v8/test/mjsunit/compiler/number-isfinite.js | 29 + deps/v8/test/mjsunit/compiler/number-isinteger.js | 30 + deps/v8/test/mjsunit/compiler/number-isnan.js | 28 + .../test/mjsunit/compiler/number-issafeinteger.js | 50 + deps/v8/test/mjsunit/compiler/regress-5320.js | 52 + deps/v8/test/mjsunit/compiler/regress-625966.js | 10 + deps/v8/test/mjsunit/compiler/regress-626986.js | 23 + deps/v8/test/mjsunit/compiler/regress-638132.js | 26 + deps/v8/test/mjsunit/compiler/regress-639210.js | 38 + deps/v8/test/mjsunit/compiler/regress-644048.js | 16 + deps/v8/test/mjsunit/compiler/regress-644633.js | 14 + deps/v8/test/mjsunit/compiler/regress-645179.js | 22 - deps/v8/test/mjsunit/compiler/regress-645851.js | 19 + deps/v8/test/mjsunit/compiler/regress-650215.js | 16 + .../mjsunit/compiler/regress-compare-negate.js | 18 + .../compiler/regress-escape-analysis-indirect.js | 17 + .../mjsunit/compiler/regress-math-sign-nan-type.js | 14 + .../regress-strict-equals-mixed-feedback.js | 23 + .../test/mjsunit/compiler/string-add-try-catch.js | 39 + deps/v8/test/mjsunit/compiler/unsigned-min-max.js | 37 + deps/v8/test/mjsunit/debug-function-scopes.js | 1 - deps/v8/test/mjsunit/debug-print.js | 47 + deps/v8/test/mjsunit/debug-scopes.js | 116 +- deps/v8/test/mjsunit/element-accessor.js | 17 + deps/v8/test/mjsunit/es6/block-sloppy-function.js | 18 + .../es6/debug-promises/promise-all-uncaught.js | 45 +- .../es6/debug-promises/promise-race-uncaught.js | 45 +- .../reject-caught-by-default-reject-handler.js | 20 +- .../es6/debug-promises/reject-uncaught-all.js | 4 +- .../es6/debug-promises/reject-uncaught-uncaught.js | 4 +- .../throw-caught-by-default-reject-handler.js | 22 +- deps/v8/test/mjsunit/es6/function-name.js | 5 + deps/v8/test/mjsunit/es6/promise-thenable-proxy.js | 23 + deps/v8/test/mjsunit/es6/regress/regress-5337.js | 39 + deps/v8/test/mjsunit/es6/regress/regress-650172.js | 6 + deps/v8/test/mjsunit/es6/string-iterator.js | 8 + deps/v8/test/mjsunit/es6/super.js | 32 + deps/v8/test/mjsunit/es6/tail-call-megatest.js | 7 +- deps/v8/test/mjsunit/es6/tail-call.js | 47 +- .../es8/syntactic-tail-call-parsing-sloppy.js | 410 -- .../mjsunit/es8/syntactic-tail-call-parsing.js | 393 -- .../test/mjsunit/es8/syntactic-tail-call-simple.js | 143 - deps/v8/test/mjsunit/es8/syntactic-tail-call.js | 604 --- .../fixed-context-shapes-when-recompiling.js | 362 ++ deps/v8/test/mjsunit/function-var.js | 23 + .../harmony/async-debug-caught-exception-cases.js | 216 + .../harmony/async-debug-caught-exception-cases0.js | 8 + .../harmony/async-debug-caught-exception-cases1.js | 8 + .../harmony/async-debug-caught-exception-cases2.js | 8 + .../harmony/async-debug-caught-exception-cases3.js | 8 + .../harmony/async-debug-caught-exception.js | 55 + .../debug-async-function-async-task-event.js | 37 +- .../harmony/default-parameter-do-expression.js | 21 + deps/v8/test/mjsunit/keyed-load-generic.js | 20 + deps/v8/test/mjsunit/lazy-inner-functions.js | 16 + deps/v8/test/mjsunit/mjsunit.status | 150 +- deps/v8/test/mjsunit/modules-circular-valid.js | 7 + deps/v8/test/mjsunit/modules-default-name1.js | 10 + deps/v8/test/mjsunit/modules-default-name2.js | 10 + deps/v8/test/mjsunit/modules-default-name3.js | 10 + deps/v8/test/mjsunit/modules-default-name4.js | 10 + deps/v8/test/mjsunit/modules-default-name5.js | 10 + deps/v8/test/mjsunit/modules-default-name6.js | 10 + deps/v8/test/mjsunit/modules-default-name7.js | 11 + deps/v8/test/mjsunit/modules-default-name8.js | 10 + deps/v8/test/mjsunit/modules-default-name9.js | 10 + deps/v8/test/mjsunit/modules-default.js | 11 + deps/v8/test/mjsunit/modules-empty-import1.js | 9 + deps/v8/test/mjsunit/modules-empty-import2.js | 9 + deps/v8/test/mjsunit/modules-empty-import3.js | 9 + deps/v8/test/mjsunit/modules-empty-import4.js | 11 + deps/v8/test/mjsunit/modules-error-trace.js | 9 + deps/v8/test/mjsunit/modules-exports1.js | 55 + deps/v8/test/mjsunit/modules-exports2.js | 31 + deps/v8/test/mjsunit/modules-exports3.js | 48 + deps/v8/test/mjsunit/modules-fail-1.js | 7 + deps/v8/test/mjsunit/modules-fail-2.js | 7 + deps/v8/test/mjsunit/modules-fail-3.js | 7 + deps/v8/test/mjsunit/modules-fail-4.js | 8 + deps/v8/test/mjsunit/modules-fail-5.js | 9 + deps/v8/test/mjsunit/modules-fail-6.js | 8 + deps/v8/test/mjsunit/modules-fail-7.js | 8 + deps/v8/test/mjsunit/modules-fail-8.js | 7 + deps/v8/test/mjsunit/modules-fail-cyclic-1.js | 8 + deps/v8/test/mjsunit/modules-fail-cyclic-2.js | 8 + deps/v8/test/mjsunit/modules-fail-cyclic-3.js | 8 + .../mjsunit/modules-fail-star-exports-conflict.js | 10 + deps/v8/test/mjsunit/modules-imports1.js | 26 + deps/v8/test/mjsunit/modules-imports2.js | 26 + deps/v8/test/mjsunit/modules-imports3.js | 38 + deps/v8/test/mjsunit/modules-imports4.js | 31 + deps/v8/test/mjsunit/modules-imports5.js | 9 + deps/v8/test/mjsunit/modules-imports6.js | 25 + deps/v8/test/mjsunit/modules-imports7.js | 8 + deps/v8/test/mjsunit/modules-init1.js | 9 + deps/v8/test/mjsunit/modules-init2.js | 8 + deps/v8/test/mjsunit/modules-init3.js | 20 + deps/v8/test/mjsunit/modules-preparse.js | 12 + deps/v8/test/mjsunit/modules-skip-1.js | 9 + deps/v8/test/mjsunit/modules-skip-2.js | 7 + deps/v8/test/mjsunit/modules-skip-3.js | 8 + deps/v8/test/mjsunit/modules-skip-4.js | 6 + deps/v8/test/mjsunit/modules-skip-5.js | 5 + deps/v8/test/mjsunit/modules-skip-6.js | 7 + deps/v8/test/mjsunit/modules-skip-7.js | 6 + .../v8/test/mjsunit/modules-skip-circular-valid.js | 8 + deps/v8/test/mjsunit/modules-skip-cyclic-3.js | 6 + deps/v8/test/mjsunit/modules-skip-cyclic.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name1.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name2.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name3.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name4.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name5.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name6.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name7.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name8.js | 5 + deps/v8/test/mjsunit/modules-skip-default-name9.js | 5 + .../test/mjsunit/modules-skip-empty-import-aux.js | 6 + deps/v8/test/mjsunit/modules-skip-empty-import.js | 6 + deps/v8/test/mjsunit/modules-skip-init1.js | 6 + deps/v8/test/mjsunit/modules-skip-init3.js | 20 + .../mjsunit/modules-skip-star-exports-conflict.js | 6 + .../mjsunit/modules-skip-star-exports-cycle.js | 6 + deps/v8/test/mjsunit/modules-star-exports-cycle.js | 11 + deps/v8/test/mjsunit/modules-this.js | 7 + deps/v8/test/mjsunit/regexp-lastIndex.js | 22 + deps/v8/test/mjsunit/regexp.js | 11 +- deps/v8/test/mjsunit/regress/regress-2437.js | 14 +- deps/v8/test/mjsunit/regress/regress-2438.js | 10 +- deps/v8/test/mjsunit/regress/regress-353551.js | 2 +- deps/v8/test/mjsunit/regress/regress-4577.js | 21 + deps/v8/test/mjsunit/regress/regress-5332.js | 31 + deps/v8/test/mjsunit/regress/regress-5351.js | 12 + deps/v8/test/mjsunit/regress/regress-5357.js | 17 + deps/v8/test/mjsunit/regress/regress-5380.js | 17 + deps/v8/test/mjsunit/regress/regress-5404.js | 21 + deps/v8/test/mjsunit/regress/regress-5405.js | 28 + deps/v8/test/mjsunit/regress/regress-5440.js | 8 + deps/v8/test/mjsunit/regress/regress-5559.js | 38 + deps/v8/test/mjsunit/regress/regress-5648.js | 35 + deps/v8/test/mjsunit/regress/regress-642409.js | 22 + deps/v8/test/mjsunit/regress/regress-645680.js | 20 + ...gress-648373-sloppy-arguments-includesValues.js | 33 + deps/v8/test/mjsunit/regress/regress-649067.js | 5 + deps/v8/test/mjsunit/regress/regress-649078.js | 10 + deps/v8/test/mjsunit/regress/regress-651327.js | 217 + deps/v8/test/mjsunit/regress/regress-655573.js | 16 + deps/v8/test/mjsunit/regress/regress-662935.js | 16 + deps/v8/test/mjsunit/regress/regress-666046.js | 57 + .../regress-abort-context-allocate-params.js | 941 +++++ .../regress/regress-abort-preparsing-params.js | 946 +++++ .../regress/regress-arguments-liveness-analysis.js | 20 + deps/v8/test/mjsunit/regress/regress-cr-658267.js | 5 + .../test/mjsunit/regress/regress-crbug-631027.js | 12 + .../test/mjsunit/regress/regress-crbug-635798.js | 2 +- .../test/mjsunit/regress/regress-crbug-635923.js | 21 + .../test/mjsunit/regress/regress-crbug-640497.js | 19 + .../test/mjsunit/regress/regress-crbug-643073.js | 13 + .../test/mjsunit/regress/regress-crbug-644111.js | 11 + .../test/mjsunit/regress/regress-crbug-644245.js | 18 + .../test/mjsunit/regress/regress-crbug-644631.js | 12 + .../test/mjsunit/regress/regress-crbug-645103.js | 17 + .../test/mjsunit/regress/regress-crbug-645888.js | 18 + .../test/mjsunit/regress/regress-crbug-647217.js | 13 + .../test/mjsunit/regress/regress-crbug-648737.js | 24 + .../test/mjsunit/regress/regress-crbug-648740.js | 11 + .../test/mjsunit/regress/regress-crbug-650404.js | 36 + .../test/mjsunit/regress/regress-crbug-650933.js | 8 + .../test/mjsunit/regress/regress-crbug-650973.js | 18 + .../mjsunit/regress/regress-crbug-651403-global.js | 20 + .../test/mjsunit/regress/regress-crbug-651403.js | 19 + .../mjsunit/regress/regress-crbug-652186-global.js | 8 + .../mjsunit/regress/regress-crbug-652186-local.js | 11 + .../test/mjsunit/regress/regress-crbug-654723.js | 16 + .../test/mjsunit/regress/regress-crbug-657478.js | 13 + .../test/mjsunit/regress/regress-crbug-663402.js | 40 + .../test/mjsunit/regress/regress-crbug-667689.js | 16 + .../test/mjsunit/regress/regress-crbug-673008.js | 23 + .../test/mjsunit/regress/wasm/regression-02256.js | 967 +++++ .../test/mjsunit/regress/wasm/regression-02862.js | 107 + .../test/mjsunit/regress/wasm/regression-644682.js | 26 + .../test/mjsunit/regress/wasm/regression-647649.js | 43 + .../test/mjsunit/regress/wasm/regression-651961.js | 24 + .../mjsunit/stack-overflow-arity-catch-noinline.js | 87 + deps/v8/test/mjsunit/stack-traces-overflow.js | 7 +- deps/v8/test/mjsunit/substr.js | 54 + deps/v8/test/mjsunit/wasm/asm-wasm-expr.js | 151 + deps/v8/test/mjsunit/wasm/asm-wasm-f32.js | 6 + deps/v8/test/mjsunit/wasm/asm-wasm-f64.js | 37 +- deps/v8/test/mjsunit/wasm/asm-wasm-i32.js | 14 +- deps/v8/test/mjsunit/wasm/asm-wasm-u32.js | 12 + deps/v8/test/mjsunit/wasm/asm-wasm.js | 88 + deps/v8/test/mjsunit/wasm/calls.js | 11 +- .../mjsunit/wasm/compiled-module-management.js | 50 + .../mjsunit/wasm/compiled-module-serialization.js | 32 +- deps/v8/test/mjsunit/wasm/debug-disassembly.js | 12 +- .../wasm/ensure-wasm-binaries-up-to-date.js | 21 + deps/v8/test/mjsunit/wasm/exceptions.js | 383 ++ deps/v8/test/mjsunit/wasm/export-table.js | 6 +- deps/v8/test/mjsunit/wasm/ffi-error.js | 39 +- deps/v8/test/mjsunit/wasm/ffi.js | 18 +- deps/v8/test/mjsunit/wasm/frame-inspection.js | 4 +- deps/v8/test/mjsunit/wasm/function-names.js | 4 +- deps/v8/test/mjsunit/wasm/gc-frame.js | 5 +- deps/v8/test/mjsunit/wasm/grow-memory.js | 255 +- deps/v8/test/mjsunit/wasm/import-table.js | 12 +- deps/v8/test/mjsunit/wasm/incrementer.wasm | Bin 66 -> 45 bytes deps/v8/test/mjsunit/wasm/indirect-calls.js | 45 +- deps/v8/test/mjsunit/wasm/instance-gc.js | 122 + .../test/mjsunit/wasm/instantiate-module-basic.js | 85 +- deps/v8/test/mjsunit/wasm/memory-size.js | 30 + deps/v8/test/mjsunit/wasm/memory.js | 93 + deps/v8/test/mjsunit/wasm/module-memory.js | 61 +- deps/v8/test/mjsunit/wasm/parallel_compilation.js | 13 +- deps/v8/test/mjsunit/wasm/receiver.js | 2 +- deps/v8/test/mjsunit/wasm/stack.js | 20 +- deps/v8/test/mjsunit/wasm/stackwalk.js | 2 +- deps/v8/test/mjsunit/wasm/start-function.js | 8 +- deps/v8/test/mjsunit/wasm/table.js | 95 + .../mjsunit/wasm/test-import-export-wrapper.js | 48 +- .../test/mjsunit/wasm/test-wasm-module-builder.js | 14 +- deps/v8/test/mjsunit/wasm/trap-location.js | 28 +- deps/v8/test/mjsunit/wasm/unicode-validation.js | 3 +- .../v8/test/mjsunit/wasm/verify-function-simple.js | 2 +- deps/v8/test/mjsunit/wasm/wasm-constants.js | 72 +- deps/v8/test/mjsunit/wasm/wasm-module-builder.js | 111 +- deps/v8/test/mjsunit/wasm/wasm-object-api.js | 1 + deps/v8/test/mozilla/mozilla.status | 8 + deps/v8/test/test262/detachArrayBuffer.js | 2 + deps/v8/test/test262/harness-adapt.js | 4 + deps/v8/test/test262/test262.status | 202 +- deps/v8/test/unittests/BUILD.gn | 147 +- .../compiler-dispatcher-job-unittest.cc | 217 +- .../arm/instruction-selector-arm-unittest.cc | 25 +- .../arm64/instruction-selector-arm64-unittest.cc | 218 +- .../compiler/branch-elimination-unittest.cc | 2 +- .../compiler/common-operator-reducer-unittest.cc | 20 + .../compiler/control-equivalence-unittest.cc | 4 +- .../compiler/effect-control-linearizer-unittest.cc | 4 +- .../unittests/compiler/escape-analysis-unittest.cc | 11 +- .../compiler/instruction-selector-unittest.cc | 13 +- .../compiler/js-builtin-reducer-unittest.cc | 185 + .../compiler/js-create-lowering-unittest.cc | 15 +- .../unittests/compiler/js-operator-unittest.cc | 1 - .../compiler/js-type-feedback-unittest.cc | 336 -- .../compiler/js-typed-lowering-unittest.cc | 255 +- .../compiler/load-elimination-unittest.cc | 263 ++ .../compiler/machine-operator-reducer-unittest.cc | 126 +- .../mips/instruction-selector-mips-unittest.cc | 243 ++ .../mips64/instruction-selector-mips64-unittest.cc | 242 ++ deps/v8/test/unittests/compiler/node-test-utils.cc | 39 + deps/v8/test/unittests/compiler/node-test-utils.h | 10 + .../v8/test/unittests/compiler/opcodes-unittest.cc | 67 +- .../simplified-operator-reducer-unittest.cc | 119 +- .../compiler/simplified-operator-unittest.cc | 8 +- .../compiler/typed-optimization-unittest.cc | 226 + .../test/unittests/compiler/zone-pool-unittest.cc | 2 +- deps/v8/test/unittests/heap/gc-tracer-unittest.cc | 75 +- deps/v8/test/unittests/heap/slot-set-unittest.cc | 57 +- .../interpreter/bytecode-array-builder-unittest.cc | 365 +- .../bytecode-array-iterator-unittest.cc | 8 +- .../interpreter/bytecode-array-writer-unittest.cc | 112 +- .../bytecode-dead-code-optimizer-unittest.cc | 9 +- .../interpreter/bytecode-decoder-unittest.cc | 12 +- .../bytecode-peephole-optimizer-unittest.cc | 64 +- .../interpreter/bytecode-pipeline-unittest.cc | 40 +- .../bytecode-register-allocator-unittest.cc | 254 +- .../bytecode-register-optimizer-unittest.cc | 85 +- .../unittests/interpreter/bytecodes-unittest.cc | 61 +- .../interpreter/interpreter-assembler-unittest.cc | 12 +- deps/v8/test/unittests/test-utils.h | 7 +- deps/v8/test/unittests/unicode-unittest.cc | 39 + deps/v8/test/unittests/unittests.gyp | 6 +- deps/v8/test/unittests/unittests.status | 14 +- .../v8/test/unittests/value-serializer-unittest.cc | 1098 ++++- .../v8/test/unittests/wasm/ast-decoder-unittest.cc | 2134 +++++----- .../unittests/wasm/control-transfer-unittest.cc | 406 +- deps/v8/test/unittests/wasm/encoder-unittest.cc | 28 - .../wasm/loop-assignment-analysis-unittest.cc | 47 +- .../test/unittests/wasm/module-decoder-unittest.cc | 754 ++-- .../test/unittests/wasm/wasm-macro-gen-unittest.cc | 78 +- .../unittests/wasm/wasm-module-builder-unittest.cc | 36 + .../js/stack-overflow-arrity-catch-expected.txt | 33 - .../webkit/fast/js/stack-overflow-arrity-catch.js | 83 - .../test/webkit/fast/regex/lastIndex-expected.txt | 4 +- deps/v8/test/webkit/webkit.status | 5 + deps/v8/tools/callstats.html | 206 +- deps/v8/tools/callstats.py | 199 +- deps/v8/tools/dev/v8gen.py | 189 +- deps/v8/tools/gcmole/gcmole.lua | 64 +- deps/v8/tools/gcmole/run-gcmole.isolate | 1 + deps/v8/tools/gen-inlining-tests.py | 566 +++ deps/v8/tools/gen-postmortem-metadata.py | 2 - deps/v8/tools/grokdump.py | 206 +- deps/v8/tools/mb/OWNERS | 3 + deps/v8/tools/mb/PRESUBMIT.py | 41 + deps/v8/tools/mb/README.md | 22 + deps/v8/tools/mb/docs/README.md | 4 + deps/v8/tools/mb/docs/design_spec.md | 426 ++ deps/v8/tools/mb/docs/user_guide.md | 297 ++ deps/v8/tools/mb/mb | 8 + deps/v8/tools/mb/mb.bat | 6 + deps/v8/tools/mb/mb.py | 1500 +++++++ deps/v8/tools/mb/mb_unittest.py | 572 +++ deps/v8/tools/oom_dump/README | 33 - deps/v8/tools/oom_dump/SConstruct | 42 - deps/v8/tools/oom_dump/oom_dump.cc | 283 -- deps/v8/tools/presubmit.py | 19 +- deps/v8/tools/run-perf.sh | 7 +- deps/v8/tools/run-tests.py | 22 +- deps/v8/tools/testrunner/local/testsuite.py | 17 +- deps/v8/tools/testrunner/local/variants.py | 4 +- deps/v8/tools/try_perf.py | 1 + deps/v8/tools/turbolizer/constants.js | 10 +- deps/v8/tools/turbolizer/disassembly-view.js | 62 +- deps/v8/tools/turbolizer/index.html | 6 +- deps/v8/tools/turbolizer/text-view.js | 2 +- deps/v8/tools/turbolizer/turbo-visualizer.css | 12 +- deps/v8/tools/turbolizer/turbo-visualizer.js | 11 - deps/v8/tools/update-wasm-fuzzers.sh | 56 + deps/v8/tools/v8heapconst.py | 4 +- deps/v8/tools/verify_source_deps.py | 143 +- 1553 files changed, 120931 insertions(+), 63270 deletions(-) delete mode 100644 deps/v8/gypfiles/config/win/msvs_dependencies.isolate create mode 100644 deps/v8/include/DEPS create mode 100644 deps/v8/include/v8-inspector-protocol.h create mode 100644 deps/v8/include/v8-inspector.h delete mode 100644 deps/v8/src/arm/OWNERS delete mode 100644 deps/v8/src/arm64/OWNERS create mode 100644 deps/v8/src/ast/ast-types.cc create mode 100644 deps/v8/src/ast/ast-types.h create mode 100644 deps/v8/src/ast/compile-time-value.cc create mode 100644 deps/v8/src/ast/compile-time-value.h delete mode 100644 deps/v8/src/ast/scopeinfo.h delete mode 100644 deps/v8/src/base/accounting-allocator.cc delete mode 100644 deps/v8/src/base/accounting-allocator.h create mode 100644 deps/v8/src/base/hashmap-entry.h create mode 100644 deps/v8/src/builtins/builtins-iterator.cc create mode 100644 deps/v8/src/builtins/builtins-regexp.cc create mode 100644 deps/v8/src/compilation-info.cc create mode 100644 deps/v8/src/compilation-info.h create mode 100644 deps/v8/src/compiler/machine-graph-verifier.cc create mode 100644 deps/v8/src/compiler/machine-graph-verifier.h create mode 100644 deps/v8/src/compiler/type-cache.cc create mode 100644 deps/v8/src/compiler/type-cache.h delete mode 100644 deps/v8/src/compiler/type-hints.cc delete mode 100644 deps/v8/src/compiler/type-hints.h create mode 100644 deps/v8/src/compiler/typed-optimization.cc create mode 100644 deps/v8/src/compiler/typed-optimization.h create mode 100644 deps/v8/src/compiler/types.cc create mode 100644 deps/v8/src/compiler/types.h create mode 100644 deps/v8/src/inspector/DEPS create mode 100644 deps/v8/src/inspector/OWNERS create mode 100644 deps/v8/src/inspector/PRESUBMIT.py create mode 100644 deps/v8/src/inspector/build/check_injected_script_source.py create mode 100644 deps/v8/src/inspector/build/closure-compiler.tar.gz.sha1 create mode 100755 deps/v8/src/inspector/build/compile-scripts.py create mode 100755 deps/v8/src/inspector/build/generate_protocol_externs.py create mode 100755 deps/v8/src/inspector/build/rjsmin.py create mode 100644 deps/v8/src/inspector/build/xxd.py create mode 100644 deps/v8/src/inspector/debugger-script.js create mode 100644 deps/v8/src/inspector/debugger_script_externs.js create mode 100644 deps/v8/src/inspector/injected-script-native.cc create mode 100644 deps/v8/src/inspector/injected-script-native.h create mode 100644 deps/v8/src/inspector/injected-script-source.js create mode 100644 deps/v8/src/inspector/injected-script.cc create mode 100644 deps/v8/src/inspector/injected-script.h create mode 100644 deps/v8/src/inspector/injected_script_externs.js create mode 100644 deps/v8/src/inspector/inspected-context.cc create mode 100644 deps/v8/src/inspector/inspected-context.h create mode 100644 deps/v8/src/inspector/inspector.gypi create mode 100644 deps/v8/src/inspector/inspector_protocol_config.json create mode 100644 deps/v8/src/inspector/java-script-call-frame.cc create mode 100644 deps/v8/src/inspector/java-script-call-frame.h create mode 100644 deps/v8/src/inspector/js_protocol-1.2.json create mode 100644 deps/v8/src/inspector/protocol-platform.h create mode 100644 deps/v8/src/inspector/remote-object-id.cc create mode 100644 deps/v8/src/inspector/remote-object-id.h create mode 100644 deps/v8/src/inspector/script-breakpoint.h create mode 100644 deps/v8/src/inspector/search-util.cc create mode 100644 deps/v8/src/inspector/search-util.h create mode 100644 deps/v8/src/inspector/string-16.cc create mode 100644 deps/v8/src/inspector/string-16.h create mode 100644 deps/v8/src/inspector/string-util.cc create mode 100644 deps/v8/src/inspector/string-util.h create mode 100644 deps/v8/src/inspector/v8-console-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-console-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-console-message.cc create mode 100644 deps/v8/src/inspector/v8-console-message.h create mode 100644 deps/v8/src/inspector/v8-console.cc create mode 100644 deps/v8/src/inspector/v8-console.h create mode 100644 deps/v8/src/inspector/v8-debugger-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-debugger-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-debugger-script.cc create mode 100644 deps/v8/src/inspector/v8-debugger-script.h create mode 100644 deps/v8/src/inspector/v8-debugger.cc create mode 100644 deps/v8/src/inspector/v8-debugger.h create mode 100644 deps/v8/src/inspector/v8-function-call.cc create mode 100644 deps/v8/src/inspector/v8-function-call.h create mode 100644 deps/v8/src/inspector/v8-heap-profiler-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-heap-profiler-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-injected-script-host.cc create mode 100644 deps/v8/src/inspector/v8-injected-script-host.h create mode 100644 deps/v8/src/inspector/v8-inspector-impl.cc create mode 100644 deps/v8/src/inspector/v8-inspector-impl.h create mode 100644 deps/v8/src/inspector/v8-inspector-session-impl.cc create mode 100644 deps/v8/src/inspector/v8-inspector-session-impl.h create mode 100644 deps/v8/src/inspector/v8-internal-value-type.cc create mode 100644 deps/v8/src/inspector/v8-internal-value-type.h create mode 100644 deps/v8/src/inspector/v8-profiler-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-profiler-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-regex.cc create mode 100644 deps/v8/src/inspector/v8-regex.h create mode 100644 deps/v8/src/inspector/v8-runtime-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-runtime-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-schema-agent-impl.cc create mode 100644 deps/v8/src/inspector/v8-schema-agent-impl.h create mode 100644 deps/v8/src/inspector/v8-stack-trace-impl.cc create mode 100644 deps/v8/src/inspector/v8-stack-trace-impl.h create mode 100644 deps/v8/src/inspector/v8-value-copier.cc create mode 100644 deps/v8/src/inspector/v8-value-copier.h create mode 100644 deps/v8/src/interpreter/bytecode-operands.cc create mode 100644 deps/v8/src/interpreter/bytecode-operands.h delete mode 100644 deps/v8/src/interpreter/bytecode-register-allocator.cc create mode 100644 deps/v8/src/js/async-await.js create mode 100644 deps/v8/src/js/datetime-format-to-parts.js delete mode 100644 deps/v8/src/js/harmony-async-await.js delete mode 100644 deps/v8/src/js/intl-extra.js delete mode 100644 deps/v8/src/js/iterator-prototype.js delete mode 100644 deps/v8/src/js/string-iterator.js create mode 100644 deps/v8/src/lookup-cache-inl.h create mode 100644 deps/v8/src/lookup-cache.cc create mode 100644 deps/v8/src/lookup-cache.h create mode 100644 deps/v8/src/parsing/duplicate-finder.cc create mode 100644 deps/v8/src/parsing/duplicate-finder.h create mode 100644 deps/v8/src/profiler/OWNERS create mode 100644 deps/v8/src/profiler/tracing-cpu-profiler.cc create mode 100644 deps/v8/src/profiler/tracing-cpu-profiler.h delete mode 100644 deps/v8/src/type-cache.cc delete mode 100644 deps/v8/src/type-cache.h create mode 100644 deps/v8/src/type-hints.cc create mode 100644 deps/v8/src/type-hints.h delete mode 100644 deps/v8/src/types.cc delete mode 100644 deps/v8/src/types.h delete mode 100644 deps/v8/src/wasm/encoder.cc delete mode 100644 deps/v8/src/wasm/encoder.h create mode 100644 deps/v8/src/wasm/wasm-module-builder.cc create mode 100644 deps/v8/src/wasm/wasm-module-builder.h create mode 100644 deps/v8/src/x64/sse-instr.h delete mode 100644 deps/v8/src/zone-allocator.h delete mode 100644 deps/v8/src/zone-containers.h delete mode 100644 deps/v8/src/zone.cc delete mode 100644 deps/v8/src/zone.h create mode 100644 deps/v8/src/zone/accounting-allocator.cc create mode 100644 deps/v8/src/zone/accounting-allocator.h create mode 100644 deps/v8/src/zone/zone-allocator.h create mode 100644 deps/v8/src/zone/zone-containers.h create mode 100644 deps/v8/src/zone/zone-segment.cc create mode 100644 deps/v8/src/zone/zone-segment.h create mode 100644 deps/v8/src/zone/zone.cc create mode 100644 deps/v8/src/zone/zone.h create mode 100644 deps/v8/test/cctest/ast-types-fuzz.h create mode 100644 deps/v8/test/cctest/compiler/function-tester.cc delete mode 100644 deps/v8/test/cctest/compiler/test-simplified-lowering.cc create mode 100644 deps/v8/test/cctest/interpreter/bytecode_expectations/Modules.golden create mode 100644 deps/v8/test/cctest/parsing/test-scanner-streams.cc create mode 100644 deps/v8/test/cctest/parsing/test-scanner.cc create mode 100644 deps/v8/test/cctest/test-ast-types.cc create mode 100644 deps/v8/test/cctest/test-modules.cc delete mode 100644 deps/v8/test/cctest/test-slots-buffer.cc create mode 100644 deps/v8/test/cctest/wasm/test-run-wasm-simd.cc delete mode 100644 deps/v8/test/cctest/wasm/test-signatures.h create mode 100644 deps/v8/test/common/DEPS create mode 100644 deps/v8/test/common/wasm/test-signatures.h create mode 100644 deps/v8/test/common/wasm/wasm-module-runner.cc create mode 100644 deps/v8/test/common/wasm/wasm-module-runner.h create mode 100644 deps/v8/test/fuzzer/wasm-code.cc create mode 100644 deps/v8/test/fuzzer/wasm-data-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-function-sigs-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-globals-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-imports-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-memory-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-names-section.cc create mode 100644 deps/v8/test/fuzzer/wasm-section-fuzzers.cc create mode 100644 deps/v8/test/fuzzer/wasm-section-fuzzers.h create mode 100644 deps/v8/test/fuzzer/wasm-types-section.cc create mode 100644 deps/v8/test/fuzzer/wasm.tar.gz.sha1 delete mode 100644 deps/v8/test/fuzzer/wasm/foo.wasm create mode 100644 deps/v8/test/fuzzer/wasm_asmjs.tar.gz.sha1 delete mode 100644 deps/v8/test/fuzzer/wasm_asmjs/foo.wasm create mode 100644 deps/v8/test/fuzzer/wasm_code/foo create mode 100644 deps/v8/test/fuzzer/wasm_data_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_function_sigs_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_globals_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_imports_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_memory_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_names_section/foo create mode 100644 deps/v8/test/fuzzer/wasm_types_section/foo create mode 100644 deps/v8/test/inspector/BUILD.gn create mode 100644 deps/v8/test/inspector/DEPS create mode 100644 deps/v8/test/inspector/OWNERS create mode 100644 deps/v8/test/inspector/console/let-const-with-api-expected.txt create mode 100644 deps/v8/test/inspector/console/let-const-with-api.js create mode 100644 deps/v8/test/inspector/console/memory-setter-in-strict-mode-expected.txt create mode 100644 deps/v8/test/inspector/console/memory-setter-in-strict-mode.js create mode 100644 deps/v8/test/inspector/cpu-profiler/console-profile-end-parameterless-crash-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/console-profile-end-parameterless-crash.js create mode 100644 deps/v8/test/inspector/cpu-profiler/console-profile-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/console-profile.js create mode 100644 deps/v8/test/inspector/cpu-profiler/enable-disable-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/enable-disable.js create mode 100644 deps/v8/test/inspector/cpu-profiler/record-cpu-profile-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/record-cpu-profile.js create mode 100644 deps/v8/test/inspector/cpu-profiler/stop-without-preceeding-start-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/stop-without-preceeding-start.js create mode 100644 deps/v8/test/inspector/debugger/access-obsolete-frame-expected.txt create mode 100644 deps/v8/test/inspector/debugger/access-obsolete-frame.js create mode 100644 deps/v8/test/inspector/debugger/async-console-count-doesnt-crash-expected.txt create mode 100644 deps/v8/test/inspector/debugger/async-console-count-doesnt-crash.js create mode 100644 deps/v8/test/inspector/debugger/call-frame-function-location-expected.txt create mode 100644 deps/v8/test/inspector/debugger/call-frame-function-location.js create mode 100644 deps/v8/test/inspector/debugger/command-line-api-with-bound-function-expected.txt create mode 100644 deps/v8/test/inspector/debugger/command-line-api-with-bound-function.js create mode 100644 deps/v8/test/inspector/debugger/continue-to-location-expected.txt create mode 100644 deps/v8/test/inspector/debugger/continue-to-location.js create mode 100644 deps/v8/test/inspector/debugger/doesnt-step-into-injected-script-expected.txt create mode 100644 deps/v8/test/inspector/debugger/doesnt-step-into-injected-script.js create mode 100644 deps/v8/test/inspector/debugger/scope-skip-variables-with-empty-name-expected.txt create mode 100644 deps/v8/test/inspector/debugger/scope-skip-variables-with-empty-name.js create mode 100644 deps/v8/test/inspector/debugger/script-parsed-hash-expected.txt create mode 100644 deps/v8/test/inspector/debugger/script-parsed-hash.js create mode 100644 deps/v8/test/inspector/debugger/set-blackbox-patterns-expected.txt create mode 100644 deps/v8/test/inspector/debugger/set-blackbox-patterns.js create mode 100644 deps/v8/test/inspector/debugger/set-breakpoint-before-enabling-expected.txt create mode 100644 deps/v8/test/inspector/debugger/set-breakpoint-before-enabling.js create mode 100644 deps/v8/test/inspector/debugger/set-script-source-expected.txt create mode 100644 deps/v8/test/inspector/debugger/set-script-source.js create mode 100644 deps/v8/test/inspector/debugger/step-over-caught-exception-expected.txt create mode 100644 deps/v8/test/inspector/debugger/step-over-caught-exception.js create mode 100644 deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges-expected.txt create mode 100644 deps/v8/test/inspector/debugger/stepping-with-blackboxed-ranges.js create mode 100644 deps/v8/test/inspector/debugger/update-call-frame-scopes-expected.txt create mode 100644 deps/v8/test/inspector/debugger/update-call-frame-scopes.js create mode 100644 deps/v8/test/inspector/inspector-impl.cc create mode 100644 deps/v8/test/inspector/inspector-impl.h create mode 100644 deps/v8/test/inspector/inspector-test.cc create mode 100644 deps/v8/test/inspector/inspector.gyp create mode 100644 deps/v8/test/inspector/inspector.status create mode 100644 deps/v8/test/inspector/json-parse-expected.txt create mode 100644 deps/v8/test/inspector/json-parse.js create mode 100644 deps/v8/test/inspector/protocol-test.js create mode 100644 deps/v8/test/inspector/runtime/await-promise-expected.txt create mode 100644 deps/v8/test/inspector/runtime/await-promise.js create mode 100644 deps/v8/test/inspector/runtime/call-function-on-async-expected.txt create mode 100644 deps/v8/test/inspector/runtime/call-function-on-async.js create mode 100644 deps/v8/test/inspector/runtime/clear-of-command-line-api-expected.txt create mode 100644 deps/v8/test/inspector/runtime/clear-of-command-line-api.js create mode 100644 deps/v8/test/inspector/runtime/compile-script-expected.txt create mode 100644 deps/v8/test/inspector/runtime/compile-script.js create mode 100644 deps/v8/test/inspector/runtime/console-api-repeated-in-console-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-api-repeated-in-console.js create mode 100644 deps/v8/test/inspector/runtime/console-deprecated-methods-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-deprecated-methods.js create mode 100644 deps/v8/test/inspector/runtime/console-line-and-column-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-line-and-column.js create mode 100644 deps/v8/test/inspector/runtime/console-log-doesnt-run-microtasks-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-log-doesnt-run-microtasks.js create mode 100644 deps/v8/test/inspector/runtime/console-timestamp-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-timestamp.js create mode 100644 deps/v8/test/inspector/runtime/evaluate-async-expected.txt create mode 100644 deps/v8/test/inspector/runtime/evaluate-async-with-wrap-error-expected.txt create mode 100644 deps/v8/test/inspector/runtime/evaluate-async-with-wrap-error.js create mode 100644 deps/v8/test/inspector/runtime/evaluate-async.js create mode 100644 deps/v8/test/inspector/runtime/evaluate-with-context-id-equal-zero-expected.txt create mode 100644 deps/v8/test/inspector/runtime/evaluate-with-context-id-equal-zero.js create mode 100644 deps/v8/test/inspector/runtime/exception-thrown-expected.txt create mode 100644 deps/v8/test/inspector/runtime/exception-thrown.js create mode 100644 deps/v8/test/inspector/runtime/get-properties-expected.txt create mode 100644 deps/v8/test/inspector/runtime/get-properties-on-proxy-expected.txt create mode 100644 deps/v8/test/inspector/runtime/get-properties-on-proxy.js create mode 100644 deps/v8/test/inspector/runtime/get-properties-preview-expected.txt create mode 100644 deps/v8/test/inspector/runtime/get-properties-preview.js create mode 100644 deps/v8/test/inspector/runtime/get-properties.js create mode 100644 deps/v8/test/inspector/runtime/property-on-console-proto-expected.txt create mode 100644 deps/v8/test/inspector/runtime/property-on-console-proto.js create mode 100644 deps/v8/test/inspector/runtime/protocol-works-with-different-locale-expected.txt create mode 100644 deps/v8/test/inspector/runtime/protocol-works-with-different-locale.js create mode 100644 deps/v8/test/inspector/runtime/run-script-async-expected.txt create mode 100644 deps/v8/test/inspector/runtime/run-script-async.js create mode 100644 deps/v8/test/inspector/runtime/set-or-map-entries-expected.txt create mode 100644 deps/v8/test/inspector/runtime/set-or-map-entries.js create mode 100644 deps/v8/test/inspector/task-runner.cc create mode 100644 deps/v8/test/inspector/task-runner.h create mode 100644 deps/v8/test/inspector/testcfg.py create mode 100644 deps/v8/test/intl/date-format/date-format-to-parts.js delete mode 100644 deps/v8/test/intl/date-format/parse-MMMdy.js delete mode 100644 deps/v8/test/intl/date-format/parse-invalid-input.js delete mode 100644 deps/v8/test/intl/date-format/parse-mdy.js delete mode 100644 deps/v8/test/intl/date-format/parse-mdyhms.js delete mode 100644 deps/v8/test/intl/extra-flag.js delete mode 100644 deps/v8/test/intl/no-extra-flag.js delete mode 100644 deps/v8/test/intl/number-format/parse-currency.js delete mode 100644 deps/v8/test/intl/number-format/parse-decimal.js delete mode 100644 deps/v8/test/intl/number-format/parse-invalid-input.js delete mode 100644 deps/v8/test/intl/number-format/parse-percent.js create mode 100644 deps/v8/test/js-perf-test/Object/create.js create mode 100644 deps/v8/test/js-perf-test/StringIterators/run.js create mode 100644 deps/v8/test/js-perf-test/StringIterators/string-iterator.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-binop-lhs.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-binop-lhs.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-binop-rhs.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-binop-rhs.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-comma.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-comma.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-extends.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-extends.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-for-in.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-for-in.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-for-of.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-for-of.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-logical-and.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-logical-and.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-logical-or.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-logical-or.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-subclass.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-subclass.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-in-try.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-inside-member-expr.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-inside-member-expr.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-eval.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-eval.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-identifier.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-identifier.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-new.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-of-new.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-sloppy.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-sloppy.out delete mode 100644 deps/v8/test/message/syntactic-tail-call-without-return.js delete mode 100644 deps/v8/test/message/syntactic-tail-call-without-return.out delete mode 100644 deps/v8/test/mjsunit/bugs/bug-4577.js delete mode 100644 deps/v8/test/mjsunit/compiler/dead-string-char-from-code.js create mode 100644 deps/v8/test/mjsunit/compiler/escape-analysis-materialize.js create mode 100644 deps/v8/test/mjsunit/compiler/inline-exception-1.js create mode 100644 deps/v8/test/mjsunit/compiler/inline-exception-2.js create mode 100644 deps/v8/test/mjsunit/compiler/instanceof.js create mode 100644 deps/v8/test/mjsunit/compiler/number-isfinite.js create mode 100644 deps/v8/test/mjsunit/compiler/number-isinteger.js create mode 100644 deps/v8/test/mjsunit/compiler/number-isnan.js create mode 100644 deps/v8/test/mjsunit/compiler/number-issafeinteger.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-5320.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-625966.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-626986.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-638132.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-639210.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-644048.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-644633.js delete mode 100644 deps/v8/test/mjsunit/compiler/regress-645179.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-645851.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-650215.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-compare-negate.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-escape-analysis-indirect.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-math-sign-nan-type.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-strict-equals-mixed-feedback.js create mode 100644 deps/v8/test/mjsunit/compiler/string-add-try-catch.js create mode 100644 deps/v8/test/mjsunit/compiler/unsigned-min-max.js create mode 100644 deps/v8/test/mjsunit/debug-print.js create mode 100644 deps/v8/test/mjsunit/es6/promise-thenable-proxy.js create mode 100644 deps/v8/test/mjsunit/es6/regress/regress-5337.js create mode 100644 deps/v8/test/mjsunit/es6/regress/regress-650172.js delete mode 100644 deps/v8/test/mjsunit/es8/syntactic-tail-call-parsing-sloppy.js delete mode 100644 deps/v8/test/mjsunit/es8/syntactic-tail-call-parsing.js delete mode 100644 deps/v8/test/mjsunit/es8/syntactic-tail-call-simple.js delete mode 100644 deps/v8/test/mjsunit/es8/syntactic-tail-call.js create mode 100644 deps/v8/test/mjsunit/fixed-context-shapes-when-recompiling.js create mode 100644 deps/v8/test/mjsunit/function-var.js create mode 100644 deps/v8/test/mjsunit/harmony/async-debug-caught-exception-cases.js create mode 100644 deps/v8/test/mjsunit/harmony/async-debug-caught-exception-cases0.js create mode 100644 deps/v8/test/mjsunit/harmony/async-debug-caught-exception-cases1.js create mode 100644 deps/v8/test/mjsunit/harmony/async-debug-caught-exception-cases2.js create mode 100644 deps/v8/test/mjsunit/harmony/async-debug-caught-exception-cases3.js create mode 100644 deps/v8/test/mjsunit/harmony/default-parameter-do-expression.js create mode 100644 deps/v8/test/mjsunit/keyed-load-generic.js create mode 100644 deps/v8/test/mjsunit/lazy-inner-functions.js create mode 100644 deps/v8/test/mjsunit/modules-circular-valid.js create mode 100644 deps/v8/test/mjsunit/modules-default-name1.js create mode 100644 deps/v8/test/mjsunit/modules-default-name2.js create mode 100644 deps/v8/test/mjsunit/modules-default-name3.js create mode 100644 deps/v8/test/mjsunit/modules-default-name4.js create mode 100644 deps/v8/test/mjsunit/modules-default-name5.js create mode 100644 deps/v8/test/mjsunit/modules-default-name6.js create mode 100644 deps/v8/test/mjsunit/modules-default-name7.js create mode 100644 deps/v8/test/mjsunit/modules-default-name8.js create mode 100644 deps/v8/test/mjsunit/modules-default-name9.js create mode 100644 deps/v8/test/mjsunit/modules-default.js create mode 100644 deps/v8/test/mjsunit/modules-empty-import1.js create mode 100644 deps/v8/test/mjsunit/modules-empty-import2.js create mode 100644 deps/v8/test/mjsunit/modules-empty-import3.js create mode 100644 deps/v8/test/mjsunit/modules-empty-import4.js create mode 100644 deps/v8/test/mjsunit/modules-error-trace.js create mode 100644 deps/v8/test/mjsunit/modules-exports1.js create mode 100644 deps/v8/test/mjsunit/modules-exports2.js create mode 100644 deps/v8/test/mjsunit/modules-exports3.js create mode 100644 deps/v8/test/mjsunit/modules-fail-1.js create mode 100644 deps/v8/test/mjsunit/modules-fail-2.js create mode 100644 deps/v8/test/mjsunit/modules-fail-3.js create mode 100644 deps/v8/test/mjsunit/modules-fail-4.js create mode 100644 deps/v8/test/mjsunit/modules-fail-5.js create mode 100644 deps/v8/test/mjsunit/modules-fail-6.js create mode 100644 deps/v8/test/mjsunit/modules-fail-7.js create mode 100644 deps/v8/test/mjsunit/modules-fail-8.js create mode 100644 deps/v8/test/mjsunit/modules-fail-cyclic-1.js create mode 100644 deps/v8/test/mjsunit/modules-fail-cyclic-2.js create mode 100644 deps/v8/test/mjsunit/modules-fail-cyclic-3.js create mode 100644 deps/v8/test/mjsunit/modules-fail-star-exports-conflict.js create mode 100644 deps/v8/test/mjsunit/modules-imports1.js create mode 100644 deps/v8/test/mjsunit/modules-imports2.js create mode 100644 deps/v8/test/mjsunit/modules-imports3.js create mode 100644 deps/v8/test/mjsunit/modules-imports4.js create mode 100644 deps/v8/test/mjsunit/modules-imports5.js create mode 100644 deps/v8/test/mjsunit/modules-imports6.js create mode 100644 deps/v8/test/mjsunit/modules-imports7.js create mode 100644 deps/v8/test/mjsunit/modules-init1.js create mode 100644 deps/v8/test/mjsunit/modules-init2.js create mode 100644 deps/v8/test/mjsunit/modules-init3.js create mode 100644 deps/v8/test/mjsunit/modules-preparse.js create mode 100644 deps/v8/test/mjsunit/modules-skip-1.js create mode 100644 deps/v8/test/mjsunit/modules-skip-2.js create mode 100644 deps/v8/test/mjsunit/modules-skip-3.js create mode 100644 deps/v8/test/mjsunit/modules-skip-4.js create mode 100644 deps/v8/test/mjsunit/modules-skip-5.js create mode 100644 deps/v8/test/mjsunit/modules-skip-6.js create mode 100644 deps/v8/test/mjsunit/modules-skip-7.js create mode 100644 deps/v8/test/mjsunit/modules-skip-circular-valid.js create mode 100644 deps/v8/test/mjsunit/modules-skip-cyclic-3.js create mode 100644 deps/v8/test/mjsunit/modules-skip-cyclic.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name1.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name2.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name3.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name4.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name5.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name6.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name7.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name8.js create mode 100644 deps/v8/test/mjsunit/modules-skip-default-name9.js create mode 100644 deps/v8/test/mjsunit/modules-skip-empty-import-aux.js create mode 100644 deps/v8/test/mjsunit/modules-skip-empty-import.js create mode 100644 deps/v8/test/mjsunit/modules-skip-init1.js create mode 100644 deps/v8/test/mjsunit/modules-skip-init3.js create mode 100644 deps/v8/test/mjsunit/modules-skip-star-exports-conflict.js create mode 100644 deps/v8/test/mjsunit/modules-skip-star-exports-cycle.js create mode 100644 deps/v8/test/mjsunit/modules-star-exports-cycle.js create mode 100644 deps/v8/test/mjsunit/modules-this.js create mode 100644 deps/v8/test/mjsunit/regexp-lastIndex.js create mode 100644 deps/v8/test/mjsunit/regress/regress-4577.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5332.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5351.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5357.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5380.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5404.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5405.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5440.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5559.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5648.js create mode 100644 deps/v8/test/mjsunit/regress/regress-642409.js create mode 100644 deps/v8/test/mjsunit/regress/regress-645680.js create mode 100644 deps/v8/test/mjsunit/regress/regress-648373-sloppy-arguments-includesValues.js create mode 100644 deps/v8/test/mjsunit/regress/regress-649067.js create mode 100644 deps/v8/test/mjsunit/regress/regress-649078.js create mode 100644 deps/v8/test/mjsunit/regress/regress-651327.js create mode 100644 deps/v8/test/mjsunit/regress/regress-655573.js create mode 100644 deps/v8/test/mjsunit/regress/regress-662935.js create mode 100644 deps/v8/test/mjsunit/regress/regress-666046.js create mode 100644 deps/v8/test/mjsunit/regress/regress-abort-context-allocate-params.js create mode 100644 deps/v8/test/mjsunit/regress/regress-abort-preparsing-params.js create mode 100644 deps/v8/test/mjsunit/regress/regress-arguments-liveness-analysis.js create mode 100644 deps/v8/test/mjsunit/regress/regress-cr-658267.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-631027.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-635923.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-640497.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-643073.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-644111.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-644245.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-644631.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-645103.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-645888.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-647217.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-648737.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-648740.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-650404.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-650933.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-650973.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-651403-global.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-651403.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-652186-global.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-652186-local.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-654723.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-657478.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-663402.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-667689.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-673008.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-02256.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-02862.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-644682.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-647649.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-651961.js create mode 100644 deps/v8/test/mjsunit/stack-overflow-arity-catch-noinline.js create mode 100644 deps/v8/test/mjsunit/wasm/asm-wasm-expr.js create mode 100644 deps/v8/test/mjsunit/wasm/compiled-module-management.js create mode 100644 deps/v8/test/mjsunit/wasm/exceptions.js create mode 100644 deps/v8/test/mjsunit/wasm/instance-gc.js create mode 100644 deps/v8/test/mjsunit/wasm/memory-size.js create mode 100644 deps/v8/test/mjsunit/wasm/memory.js create mode 100644 deps/v8/test/mjsunit/wasm/table.js delete mode 100644 deps/v8/test/unittests/compiler/js-type-feedback-unittest.cc create mode 100644 deps/v8/test/unittests/compiler/typed-optimization-unittest.cc create mode 100644 deps/v8/test/unittests/unicode-unittest.cc delete mode 100644 deps/v8/test/unittests/wasm/encoder-unittest.cc create mode 100644 deps/v8/test/unittests/wasm/wasm-module-builder-unittest.cc delete mode 100644 deps/v8/test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt delete mode 100644 deps/v8/test/webkit/fast/js/stack-overflow-arrity-catch.js create mode 100644 deps/v8/tools/gen-inlining-tests.py create mode 100644 deps/v8/tools/mb/OWNERS create mode 100644 deps/v8/tools/mb/PRESUBMIT.py create mode 100644 deps/v8/tools/mb/README.md create mode 100644 deps/v8/tools/mb/docs/README.md create mode 100644 deps/v8/tools/mb/docs/design_spec.md create mode 100644 deps/v8/tools/mb/docs/user_guide.md create mode 100755 deps/v8/tools/mb/mb create mode 100755 deps/v8/tools/mb/mb.bat create mode 100755 deps/v8/tools/mb/mb.py create mode 100755 deps/v8/tools/mb/mb_unittest.py delete mode 100644 deps/v8/tools/oom_dump/README delete mode 100644 deps/v8/tools/oom_dump/SConstruct delete mode 100644 deps/v8/tools/oom_dump/oom_dump.cc create mode 100755 deps/v8/tools/update-wasm-fuzzers.sh (limited to 'deps/v8') diff --git a/deps/v8/.gitignore b/deps/v8/.gitignore index ac9b0bd9ac..29fd9226de 100644 --- a/deps/v8/.gitignore +++ b/deps/v8/.gitignore @@ -85,12 +85,13 @@ shell_g /tools/luci-go/linux64/isolate /tools/luci-go/mac64/isolate /tools/luci-go/win64/isolate.exe -/tools/mb /tools/oom_dump/oom_dump /tools/oom_dump/oom_dump.o /tools/swarming_client /tools/visual_studio/Debug /tools/visual_studio/Release +/test/fuzzer/wasm +/test/fuzzer/wasm_asmjs /v8.log.ll /xcodebuild TAGS @@ -105,3 +106,7 @@ turbo*.cfg turbo*.dot turbo*.json v8.ignition_dispatches_table.json +/test/fuzzer/wasm.tar.gz +/test/fuzzer/wasm_asmjs.tar.gz +/src/inspector/build/closure-compiler.tar.gz +/src/inspector/build/closure-compiler \ No newline at end of file diff --git a/deps/v8/.gn b/deps/v8/.gn index a1c0ff8dce..aee1752d4b 100644 --- a/deps/v8/.gn +++ b/deps/v8/.gn @@ -14,8 +14,7 @@ secondary_source = "//build/secondary/" # matching these patterns (see "gn help label_pattern" for format) will have # their includes checked for proper dependencies when you run either # "gn check" or "gn gen --check". -check_targets = [ -] +check_targets = [] # These are the list of GN files that run exec_script. This whitelist exists # to force additional review for new uses of exec_script, which is strongly @@ -45,7 +44,5 @@ exec_script_whitelist = [ "//build/toolchain/win/BUILD.gn", "//build/util/branding.gni", "//build/util/version.gni", - "//test/cctest/BUILD.gn", "//test/test262/BUILD.gn", - "//test/unittests/BUILD.gn", ] diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS index d70be77d86..0229c9259e 100644 --- a/deps/v8/AUTHORS +++ b/deps/v8/AUTHORS @@ -63,6 +63,7 @@ Felix Geisendƶrfer Filipe David Manana Franziska Hinkelmann Geoffrey Garside +Gwang Yoon Hwang Han Choongwoo Hirofumi Mako Honggyu Kim @@ -95,14 +96,17 @@ Mike Pennisi Milton Chiang Myeong-bo Shim Nicolas Antonius Ernst Leopold Maria Kaiser +Noj Vek Oleksandr Chekhovskyi Paolo Giarrusso Patrick Gansterer +Peter Rybin Peter Varga Paul Lind Rafal Krypa Refael Ackermann Rene Rebe +Rob Wu Robert Mustacchi Robert Nagy Ryan Dahl diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn index dcefe3706b..06870b6039 100644 --- a/deps/v8/BUILD.gn +++ b/deps/v8/BUILD.gn @@ -62,6 +62,9 @@ declare_args() { # tools/gen-postmortem-metadata.py for details. v8_postmortem_support = false + # Switches off inlining in V8. + v8_no_inline = false + # Similar to vfp but on MIPS. v8_can_use_fpu_instructions = true @@ -94,6 +97,11 @@ if (v8_enable_disassembler == "") { v8_enable_disassembler = is_debug && !v8_optimized_debug } +# Specifies if the target build is a simulator build. Comparing target cpu +# with v8 target cpu to not affect simulator builds for making cross-compile +# snapshots. +is_target_simulator = target_cpu != v8_target_cpu + v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc" v8_random_seed = "314159265" v8_toolset_for_shell = "host" @@ -107,10 +115,7 @@ config("internal_config") { include_dirs = [ "." ] if (is_component_build) { - defines = [ - "V8_SHARED", - "BUILDING_V8_SHARED", - ] + defines = [ "BUILDING_V8_SHARED" ] } } @@ -134,12 +139,12 @@ config("libsampler_config") { # itself. config("external_config") { if (is_component_build) { - defines = [ - "V8_SHARED", - "USING_V8_SHARED", - ] + defines = [ "USING_V8_SHARED" ] } include_dirs = [ "include" ] + if (v8_enable_inspector_override) { + include_dirs += [ "$target_gen_dir/include" ] + } libs = [] if (is_android && current_toolchain != host_toolchain) { libs += [ "log" ] @@ -200,7 +205,7 @@ config("toolchain") { if (v8_current_cpu == "arm") { defines += [ "V8_TARGET_ARCH_ARM" ] - if (arm_version == 7) { + if (arm_version >= 7) { defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] } if (arm_fpu == "vfpv3-d16") { @@ -233,6 +238,12 @@ config("toolchain") { defines += [ "V8_TARGET_ARCH_ARM64" ] } + # Mips64el/mipsel simulators. + if (is_target_simulator && + (v8_current_cpu == "mipsel" || v8_current_cpu == "mips64el")) { + defines += [ "_MIPS_TARGET_SIMULATOR" ] + } + # TODO(jochen): Add support for mips. if (v8_current_cpu == "mipsel") { defines += [ "V8_TARGET_ARCH_MIPS" ] @@ -343,6 +354,13 @@ config("toolchain") { } else if (dcheck_always_on) { defines += [ "DEBUG" ] } + + if (v8_no_inline) { + cflags += [ + "-fno-inline-functions", + "-fno-inline", + ] + } } ############################################################################### @@ -374,17 +392,16 @@ action("js2c") { "src/js/regexp.js", "src/js/arraybuffer.js", "src/js/typedarray.js", - "src/js/iterator-prototype.js", "src/js/collection.js", "src/js/weak-collection.js", "src/js/collection-iterator.js", "src/js/promise.js", "src/js/messages.js", "src/js/array-iterator.js", - "src/js/string-iterator.js", "src/js/templates.js", "src/js/spread.js", "src/js/proxy.js", + "src/js/async-await.js", "src/debug/mirrors.js", "src/debug/debug.js", "src/debug/liveedit.js", @@ -427,7 +444,6 @@ action("js2c_experimental") { sources = [ "src/js/macros.py", "src/messages.h", - "src/js/harmony-async-await.js", "src/js/harmony-atomics.js", "src/js/harmony-simd.js", "src/js/harmony-string-padding.js", @@ -439,8 +455,8 @@ action("js2c_experimental") { if (v8_enable_i18n_support) { sources += [ + "src/js/datetime-format-to-parts.js", "src/js/icu-case-mapping.js", - "src/js/intl-extra.js", ] } @@ -809,6 +825,8 @@ v8_source_set("v8_base") { sources = [ "//base/trace_event/common/trace_event_common.h", + + ### gcmole(all) ### "include/v8-debug.h", "include/v8-experimental.h", "include/v8-platform.h", @@ -857,10 +875,14 @@ v8_source_set("v8_base") { "src/ast/ast-numbering.h", "src/ast/ast-traversal-visitor.h", "src/ast/ast-type-bounds.h", + "src/ast/ast-types.cc", + "src/ast/ast-types.h", "src/ast/ast-value-factory.cc", "src/ast/ast-value-factory.h", "src/ast/ast.cc", "src/ast/ast.h", + "src/ast/compile-time-value.cc", + "src/ast/compile-time-value.h", "src/ast/context-slot-cache.cc", "src/ast/context-slot-cache.h", "src/ast/modules.cc", @@ -868,7 +890,6 @@ v8_source_set("v8_base") { "src/ast/prettyprinter.cc", "src/ast/prettyprinter.h", "src/ast/scopeinfo.cc", - "src/ast/scopeinfo.h", "src/ast/scopes.cc", "src/ast/scopes.h", "src/ast/variables.cc", @@ -904,12 +925,14 @@ v8_source_set("v8_base") { "src/builtins/builtins-handler.cc", "src/builtins/builtins-internal.cc", "src/builtins/builtins-interpreter.cc", + "src/builtins/builtins-iterator.cc", "src/builtins/builtins-json.cc", "src/builtins/builtins-math.cc", "src/builtins/builtins-number.cc", "src/builtins/builtins-object.cc", "src/builtins/builtins-proxy.cc", "src/builtins/builtins-reflect.cc", + "src/builtins/builtins-regexp.cc", "src/builtins/builtins-sharedarraybuffer.cc", "src/builtins/builtins-string.cc", "src/builtins/builtins-symbol.cc", @@ -940,6 +963,8 @@ v8_source_set("v8_base") { "src/compilation-cache.h", "src/compilation-dependencies.cc", "src/compilation-dependencies.h", + "src/compilation-info.cc", + "src/compilation-info.h", "src/compilation-statistics.cc", "src/compilation-statistics.h", "src/compiler-dispatcher/compiler-dispatcher-job.cc", @@ -1069,6 +1094,8 @@ v8_source_set("v8_base") { "src/compiler/loop-peeling.h", "src/compiler/loop-variable-optimizer.cc", "src/compiler/loop-variable-optimizer.h", + "src/compiler/machine-graph-verifier.cc", + "src/compiler/machine-graph-verifier.h", "src/compiler/machine-operator-reducer.cc", "src/compiler/machine-operator-reducer.h", "src/compiler/machine-operator.cc", @@ -1132,12 +1159,16 @@ v8_source_set("v8_base") { "src/compiler/store-store-elimination.h", "src/compiler/tail-call-optimization.cc", "src/compiler/tail-call-optimization.h", + "src/compiler/type-cache.cc", + "src/compiler/type-cache.h", "src/compiler/type-hint-analyzer.cc", "src/compiler/type-hint-analyzer.h", - "src/compiler/type-hints.cc", - "src/compiler/type-hints.h", + "src/compiler/typed-optimization.cc", + "src/compiler/typed-optimization.h", "src/compiler/typer.cc", "src/compiler/typer.h", + "src/compiler/types.cc", + "src/compiler/types.h", "src/compiler/unwinding-info-writer.h", "src/compiler/value-numbering-reducer.cc", "src/compiler/value-numbering-reducer.h", @@ -1216,6 +1247,7 @@ v8_source_set("v8_base") { "src/crankshaft/lithium-allocator.h", "src/crankshaft/lithium-codegen.cc", "src/crankshaft/lithium-codegen.h", + "src/crankshaft/lithium-inl.h", "src/crankshaft/lithium.cc", "src/crankshaft/lithium.h", "src/crankshaft/typing.cc", @@ -1314,6 +1346,7 @@ v8_source_set("v8_base") { "src/heap/heap-inl.h", "src/heap/heap.cc", "src/heap/heap.h", + "src/heap/incremental-marking-inl.h", "src/heap/incremental-marking-job.cc", "src/heap/incremental-marking-job.h", "src/heap/incremental-marking.cc", @@ -1351,6 +1384,7 @@ v8_source_set("v8_base") { "src/ic/call-optimization.h", "src/ic/handler-compiler.cc", "src/ic/handler-compiler.h", + "src/ic/handler-configuration.h", "src/ic/ic-compiler.cc", "src/ic/ic-compiler.h", "src/ic/ic-inl.h", @@ -1382,12 +1416,13 @@ v8_source_set("v8_base") { "src/interpreter/bytecode-generator.h", "src/interpreter/bytecode-label.cc", "src/interpreter/bytecode-label.h", + "src/interpreter/bytecode-operands.cc", + "src/interpreter/bytecode-operands.h", "src/interpreter/bytecode-peephole-optimizer.cc", "src/interpreter/bytecode-peephole-optimizer.h", "src/interpreter/bytecode-peephole-table.h", "src/interpreter/bytecode-pipeline.cc", "src/interpreter/bytecode-pipeline.h", - "src/interpreter/bytecode-register-allocator.cc", "src/interpreter/bytecode-register-allocator.h", "src/interpreter/bytecode-register-optimizer.cc", "src/interpreter/bytecode-register-optimizer.h", @@ -1422,11 +1457,16 @@ v8_source_set("v8_base") { "src/layout-descriptor.h", "src/list-inl.h", "src/list.h", + "src/locked-queue-inl.h", + "src/locked-queue.h", "src/log-inl.h", "src/log-utils.cc", "src/log-utils.h", "src/log.cc", "src/log.h", + "src/lookup-cache-inl.h", + "src/lookup-cache.cc", + "src/lookup-cache.h", "src/lookup.cc", "src/lookup.h", "src/machine-type.cc", @@ -1444,6 +1484,8 @@ v8_source_set("v8_base") { "src/objects.h", "src/ostreams.cc", "src/ostreams.h", + "src/parsing/duplicate-finder.cc", + "src/parsing/duplicate-finder.h", "src/parsing/expression-classifier.h", "src/parsing/func-name-inferrer.cc", "src/parsing/func-name-inferrer.h", @@ -1495,6 +1537,8 @@ v8_source_set("v8_base") { "src/profiler/strings-storage.h", "src/profiler/tick-sample.cc", "src/profiler/tick-sample.h", + "src/profiler/tracing-cpu-profiler.cc", + "src/profiler/tracing-cpu-profiler.h", "src/profiler/unbound-queue-inl.h", "src/profiler/unbound-queue.h", "src/property-descriptor.cc", @@ -1601,15 +1645,13 @@ v8_source_set("v8_base") { "src/transitions-inl.h", "src/transitions.cc", "src/transitions.h", - "src/type-cache.cc", - "src/type-cache.h", "src/type-feedback-vector-inl.h", "src/type-feedback-vector.cc", "src/type-feedback-vector.h", + "src/type-hints.cc", + "src/type-hints.h", "src/type-info.cc", "src/type-info.h", - "src/types.cc", - "src/types.h", "src/unicode-cache-inl.h", "src/unicode-cache.h", "src/unicode-decoder.cc", @@ -1629,6 +1671,7 @@ v8_source_set("v8_base") { "src/v8threads.h", "src/value-serializer.cc", "src/value-serializer.h", + "src/vector.h", "src/version.cc", "src/version.h", "src/vm-state-inl.h", @@ -1636,8 +1679,6 @@ v8_source_set("v8_base") { "src/wasm/ast-decoder.cc", "src/wasm/ast-decoder.h", "src/wasm/decoder.h", - "src/wasm/encoder.cc", - "src/wasm/encoder.h", "src/wasm/leb-helper.h", "src/wasm/module-decoder.cc", "src/wasm/module-decoder.h", @@ -1654,20 +1695,27 @@ v8_source_set("v8_base") { "src/wasm/wasm-js.cc", "src/wasm/wasm-js.h", "src/wasm/wasm-macro-gen.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-opcodes.cc", "src/wasm/wasm-opcodes.h", "src/wasm/wasm-result.cc", "src/wasm/wasm-result.h", - "src/zone-allocator.h", - "src/zone-containers.h", - "src/zone.cc", - "src/zone.h", + "src/zone/accounting-allocator.cc", + "src/zone/accounting-allocator.h", + "src/zone/zone-allocator.h", + "src/zone/zone-allocator.h", + "src/zone/zone-containers.h", + "src/zone/zone-segment.cc", + "src/zone/zone-segment.h", + "src/zone/zone.cc", + "src/zone/zone.h", ] if (v8_current_cpu == "x86") { - sources += [ + sources += [ ### gcmole(arch:ia32) ### "src/builtins/ia32/builtins-ia32.cc", "src/compiler/ia32/code-generator-ia32.cc", "src/compiler/ia32/instruction-codes-ia32.h", @@ -1696,6 +1744,8 @@ v8_source_set("v8_base") { "src/ia32/interface-descriptors-ia32.cc", "src/ia32/macro-assembler-ia32.cc", "src/ia32/macro-assembler-ia32.h", + "src/ia32/simulator-ia32.cc", + "src/ia32/simulator-ia32.h", "src/ic/ia32/access-compiler-ia32.cc", "src/ic/ia32/handler-compiler-ia32.cc", "src/ic/ia32/ic-compiler-ia32.cc", @@ -1705,7 +1755,7 @@ v8_source_set("v8_base") { "src/regexp/ia32/regexp-macro-assembler-ia32.h", ] } else if (v8_current_cpu == "x64") { - sources += [ + sources += [ ### gcmole(arch:x64) ### "src/builtins/x64/builtins-x64.cc", "src/compiler/x64/code-generator-x64.cc", "src/compiler/x64/instruction-codes-x64.h", @@ -1728,6 +1778,7 @@ v8_source_set("v8_base") { "src/ic/x64/stub-cache-x64.cc", "src/regexp/x64/regexp-macro-assembler-x64.cc", "src/regexp/x64/regexp-macro-assembler-x64.h", + "src/third_party/valgrind/valgrind.h", "src/x64/assembler-x64-inl.h", "src/x64/assembler-x64.cc", "src/x64/assembler-x64.h", @@ -1744,9 +1795,12 @@ v8_source_set("v8_base") { "src/x64/interface-descriptors-x64.cc", "src/x64/macro-assembler-x64.cc", "src/x64/macro-assembler-x64.h", + "src/x64/simulator-x64.cc", + "src/x64/simulator-x64.h", + "src/x64/sse-instr.h", ] } else if (v8_current_cpu == "arm") { - sources += [ + sources += [ ### gcmole(arch:arm) ### "src/arm/assembler-arm-inl.h", "src/arm/assembler-arm.cc", "src/arm/assembler-arm.h", @@ -1792,7 +1846,7 @@ v8_source_set("v8_base") { "src/regexp/arm/regexp-macro-assembler-arm.h", ] } else if (v8_current_cpu == "arm64") { - sources += [ + sources += [ ### gcmole(arch:arm64) ### "src/arm64/assembler-arm64-inl.h", "src/arm64/assembler-arm64.cc", "src/arm64/assembler-arm64.h", @@ -1850,8 +1904,8 @@ v8_source_set("v8_base") { "src/regexp/arm64/regexp-macro-assembler-arm64.cc", "src/regexp/arm64/regexp-macro-assembler-arm64.h", ] - } else if (v8_current_cpu == "mipsel") { - sources += [ + } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { + sources += [ ### gcmole(arch:mipsel) ### "src/builtins/mips/builtins-mips.cc", "src/compiler/mips/code-generator-mips.cc", "src/compiler/mips/instruction-codes-mips.h", @@ -1892,8 +1946,8 @@ v8_source_set("v8_base") { "src/regexp/mips/regexp-macro-assembler-mips.cc", "src/regexp/mips/regexp-macro-assembler-mips.h", ] - } else if (v8_current_cpu == "mips64el") { - sources += [ + } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") { + sources += [ ### gcmole(arch:mips64el) ### "src/builtins/mips64/builtins-mips64.cc", "src/compiler/mips64/code-generator-mips64.cc", "src/compiler/mips64/instruction-codes-mips64.h", @@ -1934,8 +1988,50 @@ v8_source_set("v8_base") { "src/regexp/mips64/regexp-macro-assembler-mips64.cc", "src/regexp/mips64/regexp-macro-assembler-mips64.h", ] + } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { + sources += [ ### gcmole(arch:ppc) ### + "src/builtins/ppc/builtins-ppc.cc", + "src/compiler/ppc/code-generator-ppc.cc", + "src/compiler/ppc/instruction-codes-ppc.h", + "src/compiler/ppc/instruction-scheduler-ppc.cc", + "src/compiler/ppc/instruction-selector-ppc.cc", + "src/crankshaft/ppc/lithium-codegen-ppc.cc", + "src/crankshaft/ppc/lithium-codegen-ppc.h", + "src/crankshaft/ppc/lithium-gap-resolver-ppc.cc", + "src/crankshaft/ppc/lithium-gap-resolver-ppc.h", + "src/crankshaft/ppc/lithium-ppc.cc", + "src/crankshaft/ppc/lithium-ppc.h", + "src/debug/ppc/debug-ppc.cc", + "src/full-codegen/ppc/full-codegen-ppc.cc", + "src/ic/ppc/access-compiler-ppc.cc", + "src/ic/ppc/handler-compiler-ppc.cc", + "src/ic/ppc/ic-compiler-ppc.cc", + "src/ic/ppc/ic-ppc.cc", + "src/ic/ppc/stub-cache-ppc.cc", + "src/ppc/assembler-ppc-inl.h", + "src/ppc/assembler-ppc.cc", + "src/ppc/assembler-ppc.h", + "src/ppc/code-stubs-ppc.cc", + "src/ppc/code-stubs-ppc.h", + "src/ppc/codegen-ppc.cc", + "src/ppc/codegen-ppc.h", + "src/ppc/constants-ppc.cc", + "src/ppc/constants-ppc.h", + "src/ppc/cpu-ppc.cc", + "src/ppc/deoptimizer-ppc.cc", + "src/ppc/disasm-ppc.cc", + "src/ppc/frames-ppc.cc", + "src/ppc/frames-ppc.h", + "src/ppc/interface-descriptors-ppc.cc", + "src/ppc/macro-assembler-ppc.cc", + "src/ppc/macro-assembler-ppc.h", + "src/ppc/simulator-ppc.cc", + "src/ppc/simulator-ppc.h", + "src/regexp/ppc/regexp-macro-assembler-ppc.cc", + "src/regexp/ppc/regexp-macro-assembler-ppc.h", + ] } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { - sources += [ + sources += [ ### gcmole(arch:s390) ### "src/builtins/s390/builtins-s390.cc", "src/compiler/s390/code-generator-s390.cc", "src/compiler/s390/instruction-codes-s390.h", @@ -1976,6 +2072,46 @@ v8_source_set("v8_base") { "src/s390/simulator-s390.cc", "src/s390/simulator-s390.h", ] + } else if (v8_current_cpu == "x87") { + sources += [ ### gcmole(arch:x87) ### + "src/builtins/x87/builtins-x87.cc", + "src/compiler/x87/code-generator-x87.cc", + "src/compiler/x87/instruction-codes-x87.h", + "src/compiler/x87/instruction-scheduler-x87.cc", + "src/compiler/x87/instruction-selector-x87.cc", + "src/crankshaft/x87/lithium-codegen-x87.cc", + "src/crankshaft/x87/lithium-codegen-x87.h", + "src/crankshaft/x87/lithium-gap-resolver-x87.cc", + "src/crankshaft/x87/lithium-gap-resolver-x87.h", + "src/crankshaft/x87/lithium-x87.cc", + "src/crankshaft/x87/lithium-x87.h", + "src/debug/x87/debug-x87.cc", + "src/full-codegen/x87/full-codegen-x87.cc", + "src/ic/x87/access-compiler-x87.cc", + "src/ic/x87/handler-compiler-x87.cc", + "src/ic/x87/ic-compiler-x87.cc", + "src/ic/x87/ic-x87.cc", + "src/ic/x87/stub-cache-x87.cc", + "src/regexp/x87/regexp-macro-assembler-x87.cc", + "src/regexp/x87/regexp-macro-assembler-x87.h", + "src/x87/assembler-x87-inl.h", + "src/x87/assembler-x87.cc", + "src/x87/assembler-x87.h", + "src/x87/code-stubs-x87.cc", + "src/x87/code-stubs-x87.h", + "src/x87/codegen-x87.cc", + "src/x87/codegen-x87.h", + "src/x87/cpu-x87.cc", + "src/x87/deoptimizer-x87.cc", + "src/x87/disasm-x87.cc", + "src/x87/frames-x87.cc", + "src/x87/frames-x87.h", + "src/x87/interface-descriptors-x87.cc", + "src/x87/macro-assembler-x87.cc", + "src/x87/macro-assembler-x87.h", + "src/x87/simulator-x87.cc", + "src/x87/simulator-x87.h", + ] } configs = [ ":internal_config" ] @@ -2010,14 +2146,16 @@ v8_source_set("v8_base") { sources += [ "$target_gen_dir/debug-support.cc" ] deps += [ ":postmortem-metadata" ] } + + if (v8_enable_inspector_override) { + deps += [ "src/inspector:inspector" ] + } } v8_source_set("v8_libbase") { visibility = [ ":*" ] # Only targets in this file can depend on this. sources = [ - "src/base/accounting-allocator.cc", - "src/base/accounting-allocator.h", "src/base/adapters.h", "src/base/atomic-utils.h", "src/base/atomicops.h", @@ -2035,6 +2173,7 @@ v8_source_set("v8_libbase") { "src/base/bits.cc", "src/base/bits.h", "src/base/build_config.h", + "src/base/compiler-specific.h", "src/base/cpu.cc", "src/base/cpu.h", "src/base/debug/stack_trace.cc", @@ -2048,6 +2187,7 @@ v8_source_set("v8_libbase") { "src/base/free_deleter.h", "src/base/functional.cc", "src/base/functional.h", + "src/base/hashmap-entry.h", "src/base/hashmap.h", "src/base/ieee754.cc", "src/base/ieee754.h", @@ -2199,6 +2339,27 @@ v8_source_set("fuzzer_support") { configs = [ ":internal_config_base" ] + deps = [ + ":v8", + ] + + public_deps = [ + ":v8_libplatform", + ] +} + +# Used by fuzzers that would require exposing too many symbols for a proper +# component build. +v8_source_set("fuzzer_support_nocomponent") { + visibility = [ ":*" ] # Only targets in this file can depend on this. + + sources = [ + "test/fuzzer/fuzzer-support.cc", + "test/fuzzer/fuzzer-support.h", + ] + + configs = [ ":internal_config_base" ] + deps = [ ":v8_maybe_snapshot", ] @@ -2247,7 +2408,10 @@ v8_executable("mkpeephole") { visibility = [ ":*" ] # Only targets in this file can depend on this. sources = [ + "src/interpreter/bytecode-operands.cc", + "src/interpreter/bytecode-operands.h", "src/interpreter/bytecode-peephole-optimizer.h", + "src/interpreter/bytecode-traits.h", "src/interpreter/bytecodes.cc", "src/interpreter/bytecodes.h", "src/interpreter/mkpeephole.cc", @@ -2336,6 +2500,7 @@ if (is_component_build) { v8_executable("d8") { sources = [ + "$target_gen_dir/d8-js.cc", "src/d8.cc", "src/d8.h", ] @@ -2363,9 +2528,6 @@ v8_executable("d8") { sources += [ "src/d8-windows.cc" ] } - if (!is_component_build) { - sources += [ "$target_gen_dir/d8-js.cc" ] - } if (v8_enable_i18n_support) { deps += [ "//third_party/icu" ] } @@ -2516,7 +2678,10 @@ v8_source_set("json_fuzzer") { ":fuzzer_support", ] - configs = [ ":internal_config" ] + configs = [ + ":external_config", + ":internal_config_base", + ] } v8_fuzzer("json_fuzzer") { @@ -2528,10 +2693,13 @@ v8_source_set("parser_fuzzer") { ] deps = [ - ":fuzzer_support", + ":fuzzer_support_nocomponent", ] - configs = [ ":internal_config" ] + configs = [ + ":external_config", + ":internal_config_base", + ] } v8_fuzzer("parser_fuzzer") { @@ -2546,12 +2714,38 @@ v8_source_set("regexp_fuzzer") { ":fuzzer_support", ] - configs = [ ":internal_config" ] + configs = [ + ":external_config", + ":internal_config_base", + ] } v8_fuzzer("regexp_fuzzer") { } +v8_source_set("wasm_module_runner") { + sources = [ + "test/common/wasm/wasm-module-runner.cc", + "test/common/wasm/wasm-module-runner.h", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_source_set("wasm_test_signatures") { + sources = [ + "test/common/wasm/test-signatures.h", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + v8_source_set("wasm_fuzzer") { sources = [ "test/fuzzer/wasm.cc", @@ -2559,9 +2753,13 @@ v8_source_set("wasm_fuzzer") { deps = [ ":fuzzer_support", + ":wasm_module_runner", ] - configs = [ ":internal_config" ] + configs = [ + ":external_config", + ":internal_config_base", + ] } v8_fuzzer("wasm_fuzzer") { @@ -2574,10 +2772,186 @@ v8_source_set("wasm_asmjs_fuzzer") { deps = [ ":fuzzer_support", + ":wasm_module_runner", ] - configs = [ ":internal_config" ] + configs = [ + ":external_config", + ":internal_config_base", + ] } v8_fuzzer("wasm_asmjs_fuzzer") { } + +v8_source_set("wasm_code_fuzzer") { + sources = [ + "test/fuzzer/wasm-code.cc", + ] + + deps = [ + ":fuzzer_support", + ":wasm_module_runner", + ":wasm_test_signatures", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_code_fuzzer") { +} + +v8_source_set("lib_wasm_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-section-fuzzers.cc", + "test/fuzzer/wasm-section-fuzzers.h", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_source_set("wasm_types_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-types-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_types_section_fuzzer") { +} + +v8_source_set("wasm_names_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-names-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_names_section_fuzzer") { +} + +v8_source_set("wasm_globals_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-globals-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_globals_section_fuzzer") { +} + +v8_source_set("wasm_imports_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-imports-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_imports_section_fuzzer") { +} + +v8_source_set("wasm_function_sigs_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-function-sigs-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_function_sigs_section_fuzzer") { +} + +v8_source_set("wasm_memory_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-memory-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_memory_section_fuzzer") { +} + +v8_source_set("wasm_data_section_fuzzer") { + sources = [ + "test/fuzzer/wasm-data-section.cc", + ] + + deps = [ + ":fuzzer_support", + ":lib_wasm_section_fuzzer", + ":wasm_module_runner", + ] + + configs = [ + ":external_config", + ":internal_config_base", + ] +} + +v8_fuzzer("wasm_data_section_fuzzer") { +} diff --git a/deps/v8/ChangeLog b/deps/v8/ChangeLog index b2a43a1121..40c8537022 100644 --- a/deps/v8/ChangeLog +++ b/deps/v8/ChangeLog @@ -1,3 +1,1987 @@ +2016-10-05: Version 5.5.372 + + Performance and stability improvements on all platforms. + + +2016-10-05: Version 5.5.371 + + Performance and stability improvements on all platforms. + + +2016-10-05: Version 5.5.370 + + Performance and stability improvements on all platforms. + + +2016-10-05: Version 5.5.369 + + Performance and stability improvements on all platforms. + + +2016-10-05: Version 5.5.368 + + Performance and stability improvements on all platforms. + + +2016-10-05: Version 5.5.367 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.366 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.365 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.364 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.363 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.362 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.361 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.360 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.359 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.358 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.357 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.356 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.355 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.354 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.353 + + Performance and stability improvements on all platforms. + + +2016-10-04: Version 5.5.352 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.351 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.350 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.349 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.348 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.347 + + Performance and stability improvements on all platforms. + + +2016-10-03: Version 5.5.346 + + Performance and stability improvements on all platforms. + + +2016-10-02: Version 5.5.345 + + Performance and stability improvements on all platforms. + + +2016-10-02: Version 5.5.344 + + Performance and stability improvements on all platforms. + + +2016-10-02: Version 5.5.343 + + Performance and stability improvements on all platforms. + + +2016-10-02: Version 5.5.342 + + Performance and stability improvements on all platforms. + + +2016-10-01: Version 5.5.341 + + Performance and stability improvements on all platforms. + + +2016-10-01: Version 5.5.340 + + Performance and stability improvements on all platforms. + + +2016-09-30: Version 5.5.339 + + Performance and stability improvements on all platforms. + + +2016-09-30: Version 5.5.338 + + Performance and stability improvements on all platforms. + + +2016-09-30: Version 5.5.337 + + Performance and stability improvements on all platforms. + + +2016-09-30: Version 5.5.336 + + Performance and stability improvements on all platforms. + + +2016-09-30: Version 5.5.335 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.334 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.333 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.332 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.331 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.330 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.329 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.328 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.327 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.326 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.325 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.324 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.323 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.322 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.321 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.320 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.319 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.318 + + Performance and stability improvements on all platforms. + + +2016-09-29: Version 5.5.317 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.316 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.315 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.314 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.313 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.312 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.311 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.310 + + Performance and stability improvements on all platforms. + + +2016-09-28: Version 5.5.309 + + [wasm] Master CL for Binary 0xC changes (Chromium issue 575167). + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.308 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.307 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.306 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.305 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.304 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.303 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.302 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.301 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.300 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.299 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.298 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.297 + + Performance and stability improvements on all platforms. + + +2016-09-27: Version 5.5.296 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.295 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.294 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.293 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.292 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.291 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.290 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.289 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.288 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.287 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.286 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.285 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.284 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.283 + + Performance and stability improvements on all platforms. + + +2016-09-26: Version 5.5.282 + + Performance and stability improvements on all platforms. + + +2016-09-24: Version 5.5.281 + + Performance and stability improvements on all platforms. + + +2016-09-24: Version 5.5.280 + + Performance and stability improvements on all platforms. + + +2016-09-24: Version 5.5.279 + + Performance and stability improvements on all platforms. + + +2016-09-24: Version 5.5.278 + + Performance and stability improvements on all platforms. + + +2016-09-23: Version 5.5.277 + + Performance and stability improvements on all platforms. + + +2016-09-23: Version 5.5.276 + + [wasm] Master CL for Binary 0xC changes (Chromium issue 575167). + + Performance and stability improvements on all platforms. + + +2016-09-23: Version 5.5.275 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.274 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.273 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.272 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.271 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.270 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.269 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.268 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.267 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.266 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.265 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.264 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.263 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.262 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.261 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.260 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.259 + + Performance and stability improvements on all platforms. + + +2016-09-22: Version 5.5.258 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.257 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.256 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.255 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.254 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.253 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.252 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.251 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.250 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.249 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.248 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.247 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.246 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.245 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.244 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.243 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.242 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.241 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.240 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.239 + + Performance and stability improvements on all platforms. + + +2016-09-21: Version 5.5.238 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.237 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.236 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.235 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.234 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.233 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.232 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.231 + + Performance and stability improvements on all platforms. + + +2016-09-20: Version 5.5.230 + + Performance and stability improvements on all platforms. + + +2016-09-19: Version 5.5.229 + + Performance and stability improvements on all platforms. + + +2016-09-19: Version 5.5.228 + + Performance and stability improvements on all platforms. + + +2016-09-19: Version 5.5.227 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.226 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.225 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.224 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.223 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.222 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.221 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.220 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.219 + + Performance and stability improvements on all platforms. + + +2016-09-16: Version 5.5.218 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.217 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.216 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.215 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.214 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.213 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.212 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.211 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.210 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.209 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.208 + + Performance and stability improvements on all platforms. + + +2016-09-15: Version 5.5.207 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.206 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.205 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.204 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.203 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.202 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.201 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.200 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.199 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.198 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.197 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.196 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.195 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.194 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.193 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.192 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.191 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.190 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.189 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.188 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.187 + + Performance and stability improvements on all platforms. + + +2016-09-14: Version 5.5.186 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.185 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.184 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.183 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.182 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.181 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.180 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.179 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.178 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.177 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.176 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.175 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.174 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.173 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.172 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.171 + + Performance and stability improvements on all platforms. + + +2016-09-13: Version 5.5.170 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.169 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.168 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.167 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.166 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.165 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.164 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.163 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.162 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.161 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.160 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.159 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.158 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.157 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.156 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.155 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.154 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.153 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.152 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.151 + + Performance and stability improvements on all platforms. + + +2016-09-12: Version 5.5.150 + + Performance and stability improvements on all platforms. + + +2016-09-10: Version 5.5.149 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.148 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.147 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.146 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.145 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.144 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.143 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.142 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.141 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.140 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.139 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.138 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.137 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.136 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.135 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.134 + + Performance and stability improvements on all platforms. + + +2016-09-09: Version 5.5.133 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.132 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.131 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.130 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.129 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.128 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.127 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.126 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.125 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.124 + + Performance and stability improvements on all platforms. + + +2016-09-08: Version 5.5.123 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.122 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.121 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.120 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.119 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.118 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.117 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.116 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.115 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.114 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.113 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.112 + + Performance and stability improvements on all platforms. + + +2016-09-07: Version 5.5.111 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.110 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.109 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.108 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.107 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.106 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.105 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.104 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.103 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.102 + + Performance and stability improvements on all platforms. + + +2016-09-06: Version 5.5.101 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.100 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.99 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.98 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.97 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.96 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.95 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.94 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.93 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.92 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.91 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.90 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.89 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.88 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.87 + + Performance and stability improvements on all platforms. + + +2016-09-05: Version 5.5.86 + + Performance and stability improvements on all platforms. + + +2016-09-04: Version 5.5.85 + + Performance and stability improvements on all platforms. + + +2016-09-04: Version 5.5.84 + + Performance and stability improvements on all platforms. + + +2016-09-04: Version 5.5.83 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.82 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.81 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.80 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.79 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.78 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.77 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.76 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.75 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.74 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.73 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.72 + + Performance and stability improvements on all platforms. + + +2016-09-02: Version 5.5.71 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.70 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.69 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.68 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.67 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.66 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.65 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.64 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.63 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.62 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.61 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.60 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.59 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.58 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.57 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.56 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.55 + + Performance and stability improvements on all platforms. + + +2016-09-01: Version 5.5.54 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.53 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.52 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.51 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.50 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.49 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.48 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.47 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.46 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.45 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.44 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.43 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.42 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.41 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.40 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.39 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.38 + + Performance and stability improvements on all platforms. + + +2016-08-31: Version 5.5.37 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.36 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.35 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.34 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.33 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.32 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.31 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.30 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.29 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.28 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.27 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.26 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.25 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.24 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.23 + + Performance and stability improvements on all platforms. + + +2016-08-30: Version 5.5.22 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.21 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.20 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.19 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.18 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.17 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.16 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.15 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.14 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.13 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.12 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.11 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.10 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.9 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.8 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.7 + + Performance and stability improvements on all platforms. + + +2016-08-29: Version 5.5.6 + + Performance and stability improvements on all platforms. + + +2016-08-28: Version 5.5.5 + + Performance and stability improvements on all platforms. + + +2016-08-28: Version 5.5.4 + + Performance and stability improvements on all platforms. + + +2016-08-28: Version 5.5.3 + + Performance and stability improvements on all platforms. + + +2016-08-28: Version 5.5.2 + + Performance and stability improvements on all platforms. + + +2016-08-26: Version 5.5.1 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.524 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.523 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.522 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.521 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.520 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.519 + + Performance and stability improvements on all platforms. + + +2016-08-25: Version 5.4.518 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.517 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.516 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.515 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.514 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.513 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.512 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.511 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.510 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.509 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.508 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.507 + + Performance and stability improvements on all platforms. + + +2016-08-24: Version 5.4.506 + + Performance and stability improvements on all platforms. + + +2016-08-23: Version 5.4.505 + + Performance and stability improvements on all platforms. + + +2016-08-23: Version 5.4.504 + + Performance and stability improvements on all platforms. + + +2016-08-23: Version 5.4.503 + + Performance and stability improvements on all platforms. + + +2016-08-23: Version 5.4.502 + + Performance and stability improvements on all platforms. + + +2016-08-23: Version 5.4.501 + + Performance and stability improvements on all platforms. + + 2016-08-23: Version 5.4.500 Performance and stability improvements on all platforms. diff --git a/deps/v8/DEPS b/deps/v8/DEPS index 6cac01d597..058cd8bea6 100644 --- a/deps/v8/DEPS +++ b/deps/v8/DEPS @@ -3,61 +3,62 @@ # all paths in here must match this assumption. vars = { - "git_url": "https://chromium.googlesource.com", + "chromium_url": "https://chromium.googlesource.com", } deps = { "v8/build": - Var("git_url") + "/chromium/src/build.git" + "@" + "59daf502c36f20b5c9292f4bd9af85791f8a5884", + Var("chromium_url") + "/chromium/src/build.git" + "@" + "475d5b37ded6589c9f8a0d19ced54ddf2e6d14a0", "v8/tools/gyp": - Var("git_url") + "/external/gyp.git" + "@" + "702ac58e477214c635d9b541932e75a95d349352", + Var("chromium_url") + "/external/gyp.git" + "@" + "e7079f0e0e14108ab0dba58728ff219637458563", "v8/third_party/icu": - Var("git_url") + "/chromium/deps/icu.git" + "@" + "2341038bf72869a5683a893a2b319a48ffec7f62", + Var("chromium_url") + "/chromium/deps/icu.git" + "@" + "b0bd3ee50bc2e768d7a17cbc60d87f517f024dbe", "v8/third_party/instrumented_libraries": - Var("git_url") + "/chromium/src/third_party/instrumented_libraries.git" + "@" + "f15768d7fdf68c0748d20738184120c8ab2e6db7", + Var("chromium_url") + "/chromium/src/third_party/instrumented_libraries.git" + "@" + "45f5814b1543e41ea0be54c771e3840ea52cca4a", "v8/buildtools": - Var("git_url") + "/chromium/buildtools.git" + "@" + "adb8bf4e8fc92aa1717bf151b862d58e6f27c4f2", + Var("chromium_url") + "/chromium/buildtools.git" + "@" + "5fd66957f08bb752dca714a591c84587c9d70762", "v8/base/trace_event/common": - Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "315bf1e2d45be7d53346c31cfcc37424a32c30c8", + Var("chromium_url") + "/chromium/src/base/trace_event/common.git" + "@" + "e0fa02a02f61430dae2bddfd89a334ea4389f495", "v8/third_party/WebKit/Source/platform/inspector_protocol": - Var("git_url") + "/chromium/src/third_party/WebKit/Source/platform/inspector_protocol.git" + "@" + "547960151fb364dd9a382fa79ffc9abfb184e3d1", + Var("chromium_url") + "/chromium/src/third_party/WebKit/Source/platform/inspector_protocol.git" + "@" + "3280c57c4c575ce82ccd13e4a403492fb4ca624b", "v8/third_party/jinja2": - Var("git_url") + "/chromium/src/third_party/jinja2.git" + "@" + "2222b31554f03e62600cd7e383376a7c187967a1", + Var("chromium_url") + "/chromium/src/third_party/jinja2.git" + "@" + "b61a2c009a579593a259c1b300e0ad02bf48fd78", "v8/third_party/markupsafe": - Var("git_url") + "/chromium/src/third_party/markupsafe.git" + "@" + "484a5661041cac13bfc688a26ec5434b05d18961", - "v8/tools/mb": - Var('git_url') + '/chromium/src/tools/mb.git' + '@' + "99788b8b516c44d7db25cfb68695bc234fdee5ed", + Var("chromium_url") + "/chromium/src/third_party/markupsafe.git" + "@" + "484a5661041cac13bfc688a26ec5434b05d18961", "v8/tools/swarming_client": - Var('git_url') + '/external/swarming.client.git' + '@' + "e4288c3040a32f2e7ad92f957668f2ee3d36e5a6", + Var('chromium_url') + '/external/swarming.client.git' + '@' + "380e32662312eb107f06fcba6409b0409f8fef72", "v8/testing/gtest": - Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87", + Var("chromium_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87", "v8/testing/gmock": - Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be", + Var("chromium_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be", "v8/test/benchmarks/data": - Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f", + Var("chromium_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f", "v8/test/mozilla/data": - Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be", - "v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "baf493985cb9ea7cdbd0d68704860a8156de9556", + Var("chromium_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be", + "v8/test/simdjs/data": Var("chromium_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "baf493985cb9ea7cdbd0d68704860a8156de9556", "v8/test/test262/data": - Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "88bc7fe7586f161201c5f14f55c9c489f82b1b67", + Var("chromium_url") + "/external/github.com/tc39/test262.git" + "@" + "29c23844494a7cc2fbebc6948d2cb0bcaddb24e7", "v8/test/test262/harness": - Var("git_url") + "/external/github.com/test262-utils/test262-harness-py.git" + "@" + "cbd968f54f7a95c6556d53ba852292a4c49d11d8", + Var("chromium_url") + "/external/github.com/test262-utils/test262-harness-py.git" + "@" + "cbd968f54f7a95c6556d53ba852292a4c49d11d8", "v8/tools/clang": - Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "3afb04a8153e40ff00f9eaa14337851c3ab4a368", + Var("chromium_url") + "/chromium/src/tools/clang.git" + "@" + "1f92f999fc374a479e98a189ebdfe25c09484486", } deps_os = { "android": { "v8/third_party/android_tools": - Var("git_url") + "/android_tools.git" + "@" + "af1c5a4cd6329ccdcf8c2bc93d9eea02f9d74869", + Var("chromium_url") + "/android_tools.git" + "@" + "25d57ead05d3dfef26e9c19b13ed10b0a69829cf", }, "win": { "v8/third_party/cygwin": - Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df", + Var("chromium_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df", } } -recursedeps = [ 'v8/third_party/android_tools' ] +recursedeps = [ + "v8/buildtools", + "v8/third_party/android_tools", +] include_rules = [ # Everybody can use some things. @@ -203,6 +204,39 @@ hooks = [ "-s", "v8/buildtools/linux64/gn.sha1", ], }, + { + "name": "wasm_fuzzer", + "pattern": ".", + "action": [ "download_from_google_storage", + "--no_resume", + "--no_auth", + "-u", + "--bucket", "v8-wasm-fuzzer", + "-s", "v8/test/fuzzer/wasm.tar.gz.sha1", + ], + }, + { + "name": "wasm_asmjs_fuzzer", + "pattern": ".", + "action": [ "download_from_google_storage", + "--no_resume", + "--no_auth", + "-u", + "--bucket", "v8-wasm-asmjs-fuzzer", + "-s", "v8/test/fuzzer/wasm_asmjs.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", + ], + }, { # Downloads the current stable linux sysroot to build/linux/ if needed. # This sysroot updates at about the same rate that the chrome build deps @@ -259,6 +293,6 @@ hooks = [ { # A change to a .gyp, .gypi, or to GYP itself should run the generator. "pattern": ".", - "action": ["python", "v8/gypfiles/gyp_v8"], + "action": ["python", "v8/gypfiles/gyp_v8", "--running-as-hook"], }, ] diff --git a/deps/v8/OWNERS b/deps/v8/OWNERS index 26701eef59..028f4ff12c 100644 --- a/deps/v8/OWNERS +++ b/deps/v8/OWNERS @@ -22,7 +22,6 @@ mtrofin@chromium.org mvstanton@chromium.org mythria@chromium.org neis@chromium.org -oth@chromium.org rmcilroy@chromium.org rossberg@chromium.org titzer@chromium.org diff --git a/deps/v8/PRESUBMIT.py b/deps/v8/PRESUBMIT.py index 5255ca11fa..78e7482efb 100644 --- a/deps/v8/PRESUBMIT.py +++ b/deps/v8/PRESUBMIT.py @@ -216,6 +216,38 @@ def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): return [] +def _CheckMissingFiles(input_api, output_api): + """Runs verify_source_deps.py to ensure no files were added that are not in + GN. + """ + # We need to wait until we have an input_api object and use this + # roundabout construct to import checkdeps because this file is + # eval-ed and thus doesn't have __file__. + original_sys_path = sys.path + try: + sys.path = sys.path + [input_api.os_path.join( + input_api.PresubmitLocalPath(), 'tools')] + from verify_source_deps import missing_gn_files, missing_gyp_files + finally: + # Restore sys.path to what it was before. + sys.path = original_sys_path + + gn_files = missing_gn_files() + gyp_files = missing_gyp_files() + results = [] + if gn_files: + results.append(output_api.PresubmitError( + "You added one or more source files but didn't update the\n" + "corresponding BUILD.gn files:\n", + gn_files)) + if gyp_files: + results.append(output_api.PresubmitError( + "You added one or more source files but didn't update the\n" + "corresponding gyp files:\n", + gyp_files)) + return results + + def _CommonChecks(input_api, output_api): """Checks common to both upload and commit.""" results = [] @@ -231,6 +263,7 @@ def _CommonChecks(input_api, output_api): _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api)) results.extend( _CheckNoInlineHeaderIncludesInNormalHeaders(input_api, output_api)) + results.extend(_CheckMissingFiles(input_api, output_api)) return results 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 0c16e7b723..0db92692a0 100644 --- a/deps/v8/base/trace_event/common/trace_event_common.h +++ b/deps/v8/base/trace_event/common/trace_event_common.h @@ -297,8 +297,8 @@ #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP0(category_group, name, scope, \ timestamp) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ - TRACE_EVENT_PHASE_INSTANT, category_group, name, 0, 0, timestamp, \ + INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP( \ + TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \ TRACE_EVENT_FLAG_NONE | scope) // Syntactic sugars for the sampling tracing in the main thread. @@ -308,8 +308,8 @@ TRACE_EVENT_GET_SAMPLING_STATE_FOR_BUCKET(0) #define TRACE_EVENT_SET_SAMPLING_STATE(category, name) \ TRACE_EVENT_SET_SAMPLING_STATE_FOR_BUCKET(0, category, name) -#define TRACE_EVENT_SET_NONCONST_SAMPLING_STATE(categoryAndName) \ - TRACE_EVENT_SET_NONCONST_SAMPLING_STATE_FOR_BUCKET(0, categoryAndName) +#define TRACE_EVENT_SET_NONCONST_SAMPLING_STATE(category_and_name) \ + TRACE_EVENT_SET_NONCONST_SAMPLING_STATE_FOR_BUCKET(0, category_and_name) // Records a single BEGIN event called "name" immediately, with 0, 1 or 2 // associated arguments. If the category is not enabled, then this @@ -395,10 +395,15 @@ TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val, \ arg2_name, arg2_val) +#define TRACE_EVENT_MARK_WITH_TIMESTAMP0(category_group, name, timestamp) \ + INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP( \ + TRACE_EVENT_PHASE_MARK, category_group, name, timestamp, \ + TRACE_EVENT_FLAG_NONE) + #define TRACE_EVENT_MARK_WITH_TIMESTAMP1(category_group, name, timestamp, \ arg1_name, arg1_val) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ - TRACE_EVENT_PHASE_MARK, category_group, name, 0, 0, timestamp, \ + INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP( \ + TRACE_EVENT_PHASE_MARK, category_group, name, timestamp, \ TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val) #define TRACE_EVENT_COPY_MARK(category_group, name) \ @@ -406,8 +411,8 @@ TRACE_EVENT_FLAG_COPY) #define TRACE_EVENT_COPY_MARK_WITH_TIMESTAMP(category_group, name, timestamp) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ - TRACE_EVENT_PHASE_MARK, category_group, name, 0, 0, timestamp, \ + INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP( \ + TRACE_EVENT_PHASE_MARK, category_group, name, timestamp, \ TRACE_EVENT_FLAG_COPY) // Similar to TRACE_EVENT_ENDx but with a custom |at| timestamp provided. @@ -544,6 +549,12 @@ TRACE_EVENT_PHASE_SAMPLE, category_group, name, 0, thread_id, timestamp, \ TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, arg2_name, arg2_val) +#define TRACE_EVENT_SAMPLE_WITH_ID1(category_group, name, id, arg1_name, \ + arg1_val) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_SAMPLE, category_group, \ + name, id, TRACE_EVENT_FLAG_NONE, arg1_name, \ + arg1_val) + // ASYNC_STEP_* APIs should be only used by legacy code. New code should // consider using NESTABLE_ASYNC_* APIs to describe substeps within an async // event. @@ -774,16 +785,19 @@ TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, arg2_name, arg2_val) // Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, -// with one associated argument. If the category is not enabled, then this -// does nothing. +// with none, one or two associated argument. If the category is not enabled, +// then this does nothing. +#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT0(category_group, name, id) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, \ + category_group, name, id, \ + TRACE_EVENT_FLAG_NONE) + #define TRACE_EVENT_NESTABLE_ASYNC_INSTANT1(category_group, name, id, \ arg1_name, arg1_val) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, \ category_group, name, id, \ TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val) -// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, -// with 2 associated arguments. If the category is not enabled, then this -// does nothing. + #define TRACE_EVENT_NESTABLE_ASYNC_INSTANT2( \ category_group, name, id, arg1_name, arg1_val, arg2_name, arg2_val) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ @@ -828,15 +842,6 @@ TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, category_group, name, id, \ TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_COPY) -// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, -// with 2 associated arguments. If the category is not enabled, then this -// does nothing. -#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT2( \ - category_group, name, id, arg1_name, arg1_val, arg2_name, arg2_val) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ - TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, category_group, name, id, \ - TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, arg2_name, arg2_val) - // Records a single FLOW_BEGIN event called "name" immediately, with 0, 1 or 2 // associated arguments. If the category is not enabled, then this // does nothing. @@ -958,48 +963,47 @@ #define TRACE_EVENT_CLOCK_SYNC_ISSUER(sync_id, issue_ts, issue_end_ts) \ INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP( \ TRACE_EVENT_PHASE_CLOCK_SYNC, "__metadata", "clock_sync", \ - issue_end_ts.ToInternalValue(), TRACE_EVENT_FLAG_NONE, \ - "sync_id", sync_id, "issue_ts", issue_ts.ToInternalValue()) + issue_end_ts, TRACE_EVENT_FLAG_NONE, \ + "sync_id", sync_id, "issue_ts", issue_ts) // Macros to track the life time and value of arbitrary client objects. // See also TraceTrackableObject. #define TRACE_EVENT_OBJECT_CREATED_WITH_ID(category_group, name, id) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ - TRACE_EVENT_PHASE_CREATE_OBJECT, category_group, name, \ - TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_FLAG_NONE) + TRACE_EVENT_PHASE_CREATE_OBJECT, category_group, name, id, \ + TRACE_EVENT_FLAG_NONE) #define TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(category_group, name, id, \ snapshot) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ TRACE_EVENT_PHASE_SNAPSHOT_OBJECT, category_group, name, \ - TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_FLAG_NONE, "snapshot", snapshot) + id, TRACE_EVENT_FLAG_NONE, "snapshot", snapshot) -#define TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID_AND_TIMESTAMP( \ - category_group, name, id, timestamp, snapshot) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ - TRACE_EVENT_PHASE_SNAPSHOT_OBJECT, category_group, name, \ - TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, \ - TRACE_EVENT_FLAG_NONE, "snapshot", snapshot) +#define TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID_AND_TIMESTAMP( \ + category_group, name, id, timestamp, snapshot) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ + TRACE_EVENT_PHASE_SNAPSHOT_OBJECT, category_group, name, \ + id, TRACE_EVENT_API_CURRENT_THREAD_ID, timestamp, TRACE_EVENT_FLAG_NONE, \ + "snapshot", snapshot) #define TRACE_EVENT_OBJECT_DELETED_WITH_ID(category_group, name, id) \ INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ - TRACE_EVENT_PHASE_DELETE_OBJECT, category_group, name, \ - TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_FLAG_NONE) + TRACE_EVENT_PHASE_DELETE_OBJECT, category_group, name, id, \ + TRACE_EVENT_FLAG_NONE) // Records entering and leaving trace event contexts. |category_group| and // |name| specify the context category and type. |context| is a // snapshotted context object id. -#define TRACE_EVENT_ENTER_CONTEXT(category_group, name, context) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ - TRACE_EVENT_PHASE_ENTER_CONTEXT, category_group, name, \ - TRACE_ID_DONT_MANGLE(context), TRACE_EVENT_FLAG_NONE) -#define TRACE_EVENT_LEAVE_CONTEXT(category_group, name, context) \ - INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ - TRACE_EVENT_PHASE_LEAVE_CONTEXT, category_group, name, \ - TRACE_ID_DONT_MANGLE(context), TRACE_EVENT_FLAG_NONE) +#define TRACE_EVENT_ENTER_CONTEXT(category_group, name, context) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ + TRACE_EVENT_PHASE_ENTER_CONTEXT, category_group, name, context, \ + TRACE_EVENT_FLAG_NONE) +#define TRACE_EVENT_LEAVE_CONTEXT(category_group, name, context) \ + INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ + TRACE_EVENT_PHASE_LEAVE_CONTEXT, category_group, name, context, \ + TRACE_EVENT_FLAG_NONE) #define TRACE_EVENT_SCOPED_CONTEXT(category_group, name, context) \ - INTERNAL_TRACE_EVENT_SCOPED_CONTEXT(category_group, name, \ - TRACE_ID_DONT_MANGLE(context)) + INTERNAL_TRACE_EVENT_SCOPED_CONTEXT(category_group, name, context) // Macro to specify that two trace IDs are identical. For example, // TRACE_BIND_IDS( @@ -1083,6 +1087,7 @@ #define TRACE_EVENT_FLAG_NONE (static_cast(0)) #define TRACE_EVENT_FLAG_COPY (static_cast(1 << 0)) #define TRACE_EVENT_FLAG_HAS_ID (static_cast(1 << 1)) +// TODO(crbug.com/639003): Free this bit after ID mangling is deprecated. #define TRACE_EVENT_FLAG_MANGLE_ID (static_cast(1 << 2)) #define TRACE_EVENT_FLAG_SCOPE_OFFSET (static_cast(1 << 3)) #define TRACE_EVENT_FLAG_SCOPE_EXTRA (static_cast(1 << 4)) @@ -1093,6 +1098,8 @@ #define TRACE_EVENT_FLAG_FLOW_OUT (static_cast(1 << 9)) #define TRACE_EVENT_FLAG_HAS_CONTEXT_ID (static_cast(1 << 10)) #define TRACE_EVENT_FLAG_HAS_PROCESS_ID (static_cast(1 << 11)) +#define TRACE_EVENT_FLAG_HAS_LOCAL_ID (static_cast(1 << 12)) +#define TRACE_EVENT_FLAG_HAS_GLOBAL_ID (static_cast(1 << 13)) #define TRACE_EVENT_FLAG_SCOPE_MASK \ (static_cast(TRACE_EVENT_FLAG_SCOPE_OFFSET | \ diff --git a/deps/v8/build_overrides/build.gni b/deps/v8/build_overrides/build.gni index da6d3e0ded..6b8a4ff219 100644 --- a/deps/v8/build_overrides/build.gni +++ b/deps/v8/build_overrides/build.gni @@ -16,3 +16,11 @@ build_with_chromium = false # Some non-Chromium builds don't support building java targets. enable_java_templates = false + +# Some non-Chromium builds don't use Chromium's third_party/binutils. +linux_use_bundled_binutils_override = true + +# Allows different projects to specify their own suppressions files. +asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" +lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" +tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" diff --git a/deps/v8/build_overrides/v8.gni b/deps/v8/build_overrides/v8.gni index fc4a70e579..09ea4570b0 100644 --- a/deps/v8/build_overrides/v8.gni +++ b/deps/v8/build_overrides/v8.gni @@ -11,10 +11,8 @@ if (is_android) { import("//build/config/android/config.gni") } -if (((v8_current_cpu == "x86" || - v8_current_cpu == "x64" || - v8_current_cpu=="x87") && - (is_linux || is_mac)) || +if (((v8_current_cpu == "x86" || v8_current_cpu == "x64" || + v8_current_cpu == "x87") && (is_linux || is_mac)) || (v8_current_cpu == "ppc64" && is_linux)) { v8_enable_gdbjit_default = true } @@ -23,4 +21,12 @@ v8_imminent_deprecation_warnings_default = true # Add simple extras solely for the purpose of the cctests. v8_extra_library_files = [ "//test/cctest/test-extra.js" ] -v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.js" ] +v8_experimental_extra_library_files = + [ "//test/cctest/test-experimental-extra.js" ] + +declare_args() { + # Enable inspector. See include/v8-inspector.h. + v8_enable_inspector = false +} + +v8_enable_inspector_override = v8_enable_inspector diff --git a/deps/v8/gypfiles/config/win/msvs_dependencies.isolate b/deps/v8/gypfiles/config/win/msvs_dependencies.isolate deleted file mode 100644 index ff92227363..0000000000 --- a/deps/v8/gypfiles/config/win/msvs_dependencies.isolate +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2015 the V8 project authors. All rights reserved. -# Copyright 2015 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. -{ - 'conditions': [ - # Copy the VS runtime DLLs into the isolate so that they - # don't have to be preinstalled on the target machine. - # - # VS2013 runtimes - ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/x64/msvcp120d.dll', - '<(PRODUCT_DIR)/x64/msvcr120d.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Release"', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/x64/msvcp120.dll', - '<(PRODUCT_DIR)/x64/msvcr120.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/msvcp120d.dll', - '<(PRODUCT_DIR)/msvcr120d.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/msvcp120.dll', - '<(PRODUCT_DIR)/msvcr120.dll', - ], - }, - }], - # VS2015 runtimes - ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/x64/msvcp140d.dll', - '<(PRODUCT_DIR)/x64/vccorlib140d.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Release"', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/x64/msvcp140.dll', - '<(PRODUCT_DIR)/x64/vccorlib140.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/msvcp140d.dll', - '<(PRODUCT_DIR)/vccorlib140d.dll', - ], - }, - }], - ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', { - 'variables': { - 'files': [ - '<(PRODUCT_DIR)/msvcp140.dll', - '<(PRODUCT_DIR)/vccorlib140.dll', - ], - }, - }], - ], -} \ No newline at end of file diff --git a/deps/v8/gypfiles/get_landmines.py b/deps/v8/gypfiles/get_landmines.py index 9fcca4b968..432dfd7ae5 100755 --- a/deps/v8/gypfiles/get_landmines.py +++ b/deps/v8/gypfiles/get_landmines.py @@ -28,6 +28,8 @@ def main(): print 'Clobbering to hopefully resolve problem with mksnapshot' print 'Clobber after ICU roll.' print 'Clobber after Android NDK update.' + print 'Clober to fix windows build problems.' + print 'Clober again to fix windows build problems.' return 0 diff --git a/deps/v8/gypfiles/gyp_v8 b/deps/v8/gypfiles/gyp_v8 index 8be39d9615..b8b5f742b1 100755 --- a/deps/v8/gypfiles/gyp_v8 +++ b/deps/v8/gypfiles/gyp_v8 @@ -118,10 +118,22 @@ def run_gyp(args): if __name__ == '__main__': args = sys.argv[1:] - if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)): + gyp_chromium_no_action = os.environ.get('GYP_CHROMIUM_NO_ACTION') + if gyp_chromium_no_action == '1': print 'Skipping gyp_v8 due to GYP_CHROMIUM_NO_ACTION env var.' sys.exit(0) + running_as_hook = '--running-as-hook' + if running_as_hook in args and gyp_chromium_no_action != '0': + print 'GYP is now disabled by default in runhooks.\n' + print 'If you really want to run this, either run ' + print '`python gypfiles/gyp_v8` explicitly by hand ' + print 'or set the environment variable GYP_CHROMIUM_NO_ACTION=0.' + sys.exit(0) + + if running_as_hook in args: + args.remove(running_as_hook) + gyp_environment.set_environment() # This could give false positives since it doesn't actually do real option diff --git a/deps/v8/gypfiles/standalone.gypi b/deps/v8/gypfiles/standalone.gypi index 6599bb8351..7e41ce84ae 100644 --- a/deps/v8/gypfiles/standalone.gypi +++ b/deps/v8/gypfiles/standalone.gypi @@ -46,6 +46,7 @@ 'msvs_multi_core_compile%': '1', 'mac_deployment_target%': '10.7', 'release_extra_cflags%': '', + 'v8_enable_inspector%': 0, 'variables': { 'variables': { 'variables': { @@ -319,7 +320,7 @@ 'android_ndk_root%': '<(base_dir)/third_party/android_tools/ndk/', 'android_host_arch%': " #include +#include #include +#include "v8-platform.h" // NOLINT(build/include) + namespace v8 { + +namespace base { +class Mutex; +} // namespace base + namespace platform { namespace tracing { @@ -28,19 +36,22 @@ class TraceObject { TraceObject() {} ~TraceObject(); - void Initialize(char phase, const uint8_t* category_enabled_flag, - const char* name, const char* scope, uint64_t id, - uint64_t bind_id, int num_args, const char** arg_names, - const uint8_t* arg_types, const uint64_t* arg_values, - unsigned int flags); + void Initialize( + char phase, const uint8_t* category_enabled_flag, const char* name, + const char* scope, uint64_t id, uint64_t bind_id, int num_args, + const char** arg_names, const uint8_t* arg_types, + const uint64_t* arg_values, + std::unique_ptr* arg_convertables, + unsigned int flags); void UpdateDuration(); - void InitializeForTesting(char phase, const uint8_t* category_enabled_flag, - const char* name, const char* scope, uint64_t id, - uint64_t bind_id, int num_args, - const char** arg_names, const uint8_t* arg_types, - const uint64_t* arg_values, unsigned int flags, - int pid, int tid, int64_t ts, int64_t tts, - uint64_t duration, uint64_t cpu_duration); + void InitializeForTesting( + char phase, const uint8_t* category_enabled_flag, const char* name, + const char* scope, uint64_t id, uint64_t bind_id, int num_args, + const char** arg_names, const uint8_t* arg_types, + const uint64_t* arg_values, + std::unique_ptr* arg_convertables, + unsigned int flags, int pid, int tid, int64_t ts, int64_t tts, + uint64_t duration, uint64_t cpu_duration); int pid() const { return pid_; } int tid() const { return tid_; } @@ -56,6 +67,9 @@ class TraceObject { const char** arg_names() { return arg_names_; } uint8_t* arg_types() { return arg_types_; } ArgValue* arg_values() { return arg_values_; } + std::unique_ptr* arg_convertables() { + return arg_convertables_; + } unsigned int flags() const { return flags_; } int64_t ts() { return ts_; } int64_t tts() { return tts_; } @@ -71,10 +85,12 @@ class TraceObject { const uint8_t* category_enabled_flag_; uint64_t id_; uint64_t bind_id_; - int num_args_; + int num_args_ = 0; const char* arg_names_[kTraceMaxNumArgs]; uint8_t arg_types_[kTraceMaxNumArgs]; ArgValue arg_values_[kTraceMaxNumArgs]; + std::unique_ptr + arg_convertables_[kTraceMaxNumArgs]; char* parameter_copy_storage_ = nullptr; unsigned int flags_; int64_t ts_; @@ -217,21 +233,27 @@ class TracingController { ENABLED_FOR_ETW_EXPORT = 1 << 3 }; - TracingController() {} + TracingController(); + ~TracingController(); void Initialize(TraceBuffer* trace_buffer); const uint8_t* GetCategoryGroupEnabled(const char* category_group); static const char* GetCategoryGroupName(const uint8_t* category_enabled_flag); - uint64_t AddTraceEvent(char phase, const uint8_t* category_enabled_flag, - const char* name, const char* scope, uint64_t id, - uint64_t bind_id, int32_t num_args, - const char** arg_names, const uint8_t* arg_types, - const uint64_t* arg_values, unsigned int flags); + uint64_t AddTraceEvent( + char phase, const uint8_t* category_enabled_flag, const char* name, + const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, + const char** arg_names, const uint8_t* arg_types, + const uint64_t* arg_values, + std::unique_ptr* arg_convertables, + unsigned int flags); void UpdateTraceEventDuration(const uint8_t* category_enabled_flag, const char* name, uint64_t handle); void StartTracing(TraceConfig* trace_config); void StopTracing(); + void AddTraceStateObserver(Platform::TraceStateObserver* observer); + void RemoveTraceStateObserver(Platform::TraceStateObserver* observer); + private: const uint8_t* GetCategoryGroupEnabledInternal(const char* category_group); void UpdateCategoryGroupEnabledFlag(size_t category_index); @@ -239,6 +261,8 @@ class TracingController { std::unique_ptr trace_buffer_; std::unique_ptr trace_config_; + std::unique_ptr mutex_; + std::unordered_set observers_; Mode mode_ = DISABLED; // Disallow copy and assign diff --git a/deps/v8/include/v8-inspector-protocol.h b/deps/v8/include/v8-inspector-protocol.h new file mode 100644 index 0000000000..612a2ebc39 --- /dev/null +++ b/deps/v8/include/v8-inspector-protocol.h @@ -0,0 +1,13 @@ +// Copyright 2016 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef V8_V8_INSPECTOR_PROTOCOL_H_ +#define V8_V8_INSPECTOR_PROTOCOL_H_ + +#include "inspector/Debugger.h" // NOLINT(build/include) +#include "inspector/Runtime.h" // NOLINT(build/include) +#include "inspector/Schema.h" // NOLINT(build/include) +#include "v8-inspector.h" // NOLINT(build/include) + +#endif // V8_V8_INSPECTOR_PROTOCOL_H_ diff --git a/deps/v8/include/v8-inspector.h b/deps/v8/include/v8-inspector.h new file mode 100644 index 0000000000..0855ac101b --- /dev/null +++ b/deps/v8/include/v8-inspector.h @@ -0,0 +1,267 @@ +// Copyright 2016 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef V8_V8_INSPECTOR_H_ +#define V8_V8_INSPECTOR_H_ + +#include +#include + +#include + +#include "v8.h" // NOLINT(build/include) + +namespace v8_inspector { + +namespace protocol { +namespace Debugger { +namespace API { +class SearchMatch; +} +} +namespace Runtime { +namespace API { +class RemoteObject; +class StackTrace; +} +} +namespace Schema { +namespace API { +class Domain; +} +} +} // namespace protocol + +class V8_EXPORT StringView { + public: + StringView() : m_is8Bit(true), m_length(0), m_characters8(nullptr) {} + + StringView(const uint8_t* characters, size_t length) + : m_is8Bit(true), m_length(length), m_characters8(characters) {} + + StringView(const uint16_t* characters, size_t length) + : m_is8Bit(false), m_length(length), m_characters16(characters) {} + + bool is8Bit() const { return m_is8Bit; } + size_t length() const { return m_length; } + + // TODO(dgozman): add DCHECK(m_is8Bit) to accessors once platform can be used + // here. + const uint8_t* characters8() const { return m_characters8; } + const uint16_t* characters16() const { return m_characters16; } + + private: + bool m_is8Bit; + size_t m_length; + union { + const uint8_t* m_characters8; + const uint16_t* m_characters16; + }; +}; + +class V8_EXPORT StringBuffer { + public: + virtual ~StringBuffer() {} + virtual const StringView& string() = 0; + // This method copies contents. + static std::unique_ptr create(const StringView&); +}; + +class V8_EXPORT V8ContextInfo { + public: + V8ContextInfo(v8::Local context, int contextGroupId, + const StringView& humanReadableName) + : context(context), + contextGroupId(contextGroupId), + humanReadableName(humanReadableName), + hasMemoryOnConsole(false) {} + + v8::Local context; + // Each v8::Context is a part of a group. The group id must be non-zero. + int contextGroupId; + StringView humanReadableName; + StringView origin; + StringView auxData; + bool hasMemoryOnConsole; + + private: + // Disallow copying and allocating this one. + enum NotNullTagEnum { NotNullLiteral }; + void* operator new(size_t) = delete; + void* operator new(size_t, NotNullTagEnum, void*) = delete; + void* operator new(size_t, void*) = delete; + V8ContextInfo(const V8ContextInfo&) = delete; + V8ContextInfo& operator=(const V8ContextInfo&) = delete; +}; + +class V8_EXPORT V8StackTrace { + public: + virtual bool isEmpty() const = 0; + virtual StringView topSourceURL() const = 0; + virtual int topLineNumber() const = 0; + virtual int topColumnNumber() const = 0; + virtual StringView topScriptId() const = 0; + virtual StringView topFunctionName() const = 0; + + virtual ~V8StackTrace() {} + virtual std::unique_ptr + buildInspectorObject() const = 0; + virtual std::unique_ptr toString() const = 0; + + // Safe to pass between threads, drops async chain. + virtual std::unique_ptr clone() = 0; +}; + +class V8_EXPORT V8InspectorSession { + public: + virtual ~V8InspectorSession() {} + + // Cross-context inspectable values (DOM nodes in different worlds, etc.). + class V8_EXPORT Inspectable { + public: + virtual v8::Local get(v8::Local) = 0; + virtual ~Inspectable() {} + }; + virtual void addInspectedObject(std::unique_ptr) = 0; + + // Dispatching protocol messages. + static bool canDispatchMethod(const StringView& method); + virtual void dispatchProtocolMessage(const StringView& message) = 0; + virtual std::unique_ptr stateJSON() = 0; + virtual std::vector> + supportedDomains() = 0; + + // Debugger actions. + virtual void schedulePauseOnNextStatement(const StringView& breakReason, + const StringView& breakDetails) = 0; + virtual void cancelPauseOnNextStatement() = 0; + virtual void breakProgram(const StringView& breakReason, + const StringView& breakDetails) = 0; + virtual void setSkipAllPauses(bool) = 0; + virtual void resume() = 0; + virtual void stepOver() = 0; + virtual std::vector> + searchInTextByLines(const StringView& text, const StringView& query, + bool caseSensitive, bool isRegex) = 0; + + // Remote objects. + virtual std::unique_ptr wrapObject( + v8::Local, v8::Local, + const StringView& groupName) = 0; + virtual bool unwrapObject(std::unique_ptr* error, + const StringView& objectId, v8::Local*, + v8::Local*, + std::unique_ptr* objectGroup) = 0; + virtual void releaseObjectGroup(const StringView&) = 0; +}; + +enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError }; + +class V8_EXPORT V8InspectorClient { + public: + virtual ~V8InspectorClient() {} + + virtual void runMessageLoopOnPause(int contextGroupId) {} + virtual void quitMessageLoopOnPause() {} + virtual void runIfWaitingForDebugger(int contextGroupId) {} + + virtual void muteMetrics(int contextGroupId) {} + virtual void unmuteMetrics(int contextGroupId) {} + + virtual void beginUserGesture() {} + virtual void endUserGesture() {} + + virtual std::unique_ptr valueSubtype(v8::Local) { + return nullptr; + } + virtual bool formatAccessorsAsProperties(v8::Local) { + return false; + } + virtual bool isInspectableHeapObject(v8::Local) { return true; } + + virtual v8::Local ensureDefaultContextInGroup( + int contextGroupId) { + return v8::Local(); + } + virtual void beginEnsureAllContextsInGroup(int contextGroupId) {} + virtual void endEnsureAllContextsInGroup(int contextGroupId) {} + + virtual void installAdditionalCommandLineAPI(v8::Local, + v8::Local) {} + virtual void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, + const StringView& message, + const StringView& url, unsigned lineNumber, + unsigned columnNumber, V8StackTrace*) {} + virtual v8::MaybeLocal memoryInfo(v8::Isolate*, + v8::Local) { + return v8::MaybeLocal(); + } + + virtual void consoleTime(const StringView& title) {} + virtual void consoleTimeEnd(const StringView& title) {} + virtual void consoleTimeStamp(const StringView& title) {} + virtual double currentTimeMS() { return 0; } + typedef void (*TimerCallback)(void*); + virtual void startRepeatingTimer(double, TimerCallback, void* data) {} + virtual void cancelTimer(void* data) {} + + // TODO(dgozman): this was added to support service worker shadow page. We + // should not connect at all. + virtual bool canExecuteScripts(int contextGroupId) { return true; } +}; + +class V8_EXPORT V8Inspector { + public: + static std::unique_ptr create(v8::Isolate*, V8InspectorClient*); + virtual ~V8Inspector() {} + + // Contexts instrumentation. + virtual void contextCreated(const V8ContextInfo&) = 0; + virtual void contextDestroyed(v8::Local) = 0; + virtual void resetContextGroup(int contextGroupId) = 0; + + // Various instrumentation. + virtual void willExecuteScript(v8::Local, int scriptId) = 0; + virtual void didExecuteScript(v8::Local) = 0; + virtual void idleStarted() = 0; + virtual void idleFinished() = 0; + + // Async stack traces instrumentation. + virtual void asyncTaskScheduled(const StringView& taskName, void* task, + bool recurring) = 0; + virtual void asyncTaskCanceled(void* task) = 0; + virtual void asyncTaskStarted(void* task) = 0; + virtual void asyncTaskFinished(void* task) = 0; + virtual void allAsyncTasksCanceled() = 0; + + // Exceptions instrumentation. + virtual unsigned exceptionThrown( + v8::Local, const StringView& message, + v8::Local exception, const StringView& detailedMessage, + const StringView& url, unsigned lineNumber, unsigned columnNumber, + std::unique_ptr, int scriptId) = 0; + virtual void exceptionRevoked(v8::Local, unsigned exceptionId, + const StringView& message) = 0; + + // Connection. + class V8_EXPORT Channel { + public: + virtual ~Channel() {} + virtual void sendProtocolResponse(int callId, + const StringView& message) = 0; + virtual void sendProtocolNotification(const StringView& message) = 0; + virtual void flushProtocolNotifications() = 0; + }; + virtual std::unique_ptr connect( + int contextGroupId, Channel*, const StringView& state) = 0; + + // API methods. + virtual std::unique_ptr createStackTrace( + v8::Local) = 0; + virtual std::unique_ptr captureStackTrace(bool fullStack) = 0; +}; + +} // namespace v8_inspector + +#endif // V8_V8_INSPECTOR_H_ diff --git a/deps/v8/include/v8-platform.h b/deps/v8/include/v8-platform.h index 4023a5b234..e11567488b 100644 --- a/deps/v8/include/v8-platform.h +++ b/deps/v8/include/v8-platform.h @@ -7,6 +7,8 @@ #include #include +#include +#include namespace v8 { @@ -17,24 +19,38 @@ class Isolate; */ class Task { public: - virtual ~Task() {} + virtual ~Task() = default; virtual void Run() = 0; }; - /** -* An IdleTask represents a unit of work to be performed in idle time. -* The Run method is invoked with an argument that specifies the deadline in -* seconds returned by MonotonicallyIncreasingTime(). -* The idle task is expected to complete by this deadline. -*/ + * An IdleTask represents a unit of work to be performed in idle time. + * The Run method is invoked with an argument that specifies the deadline in + * seconds returned by MonotonicallyIncreasingTime(). + * The idle task is expected to complete by this deadline. + */ class IdleTask { public: - virtual ~IdleTask() {} + virtual ~IdleTask() = default; virtual void Run(double deadline_in_seconds) = 0; }; +/** + * The interface represents complex arguments to trace events. + */ +class ConvertableToTraceFormat { + public: + virtual ~ConvertableToTraceFormat() = default; + + /** + * Append the class info to the provided |out| string. The appended + * data must be a valid JSON object. Strings must be properly quoted, and + * escaped. There is no processing applied to the content after it is + * appended. + */ + virtual void AppendAsTraceFormat(std::string* out) const = 0; +}; /** * V8 Platform abstraction layer. @@ -54,7 +70,7 @@ class Platform { kLongRunningTask }; - virtual ~Platform() {} + virtual ~Platform() = default; /** * Gets the number of threads that are used to execute background tasks. Is @@ -158,12 +174,44 @@ class Platform { return 0; } + /** + * Adds a trace event to the platform tracing system. This function call is + * usually the result of a TRACE_* macro from trace_event_common.h when + * tracing and the category of the particular trace are enabled. It is not + * advisable to call this function on its own; it is really only meant to be + * used by the trace macros. The returned handle can be used by + * UpdateTraceEventDuration to update the duration of COMPLETE events. + */ + virtual uint64_t AddTraceEvent( + char phase, const uint8_t* category_enabled_flag, const char* name, + const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, + const char** arg_names, const uint8_t* arg_types, + const uint64_t* arg_values, + std::unique_ptr* arg_convertables, + unsigned int flags) { + return AddTraceEvent(phase, category_enabled_flag, name, scope, id, bind_id, + num_args, arg_names, arg_types, arg_values, flags); + } + /** * Sets the duration field of a COMPLETE trace event. It must be called with * the handle returned from AddTraceEvent(). **/ virtual void UpdateTraceEventDuration(const uint8_t* category_enabled_flag, const char* name, uint64_t handle) {} + + class TraceStateObserver { + public: + virtual ~TraceStateObserver() = default; + virtual void OnTraceEnabled() = 0; + virtual void OnTraceDisabled() = 0; + }; + + /** Adds tracing state change observer. */ + virtual void AddTraceStateObserver(TraceStateObserver*) {} + + /** Removes tracing state change observer. */ + virtual void RemoveTraceStateObserver(TraceStateObserver*) {} }; } // namespace v8 diff --git a/deps/v8/include/v8-profiler.h b/deps/v8/include/v8-profiler.h index bcb69f3763..6ee0340f3c 100644 --- a/deps/v8/include/v8-profiler.h +++ b/deps/v8/include/v8-profiler.h @@ -46,6 +46,20 @@ template class V8_EXPORT std::vector; namespace v8 { +/** + * TracingCpuProfiler monitors tracing being enabled/disabled + * and emits CpuProfile trace events once v8.cpu_profile2 tracing category + * is enabled. It has no overhead unless the category is enabled. + */ +class V8_EXPORT TracingCpuProfiler { + public: + static std::unique_ptr Create(Isolate*); + virtual ~TracingCpuProfiler() = default; + + protected: + TracingCpuProfiler() = default; +}; + // TickSample captures the information collected for each sample. struct TickSample { // Internal profiling (with --prof + tools/$OS-tick-processor) wants to @@ -131,12 +145,26 @@ class V8_EXPORT CpuProfileNode { /** Returns function name (empty string for anonymous functions.) */ Local GetFunctionName() const; + /** + * Returns function name (empty string for anonymous functions.) + * The string ownership is *not* passed to the caller. It stays valid until + * profile is deleted. The function is thread safe. + */ + const char* GetFunctionNameStr() const; + /** Returns id of the script where function is located. */ int GetScriptId() const; /** Returns resource name for script from where the function originates. */ Local GetScriptResourceName() const; + /** + * Returns resource name for script from where the function originates. + * The string ownership is *not* passed to the caller. It stays valid until + * profile is deleted. The function is thread safe. + */ + const char* GetScriptResourceNameStr() const; + /** * Returns the number, 1-based, of the line where the function originates. * kNoLineNumberInfo if no line number information is available. diff --git a/deps/v8/include/v8-util.h b/deps/v8/include/v8-util.h index 8133fdd49d..99c59fe302 100644 --- a/deps/v8/include/v8-util.h +++ b/deps/v8/include/v8-util.h @@ -206,14 +206,19 @@ class PersistentValueMapBase { } /** - * Call V8::RegisterExternallyReferencedObject with the map value for given - * key. + * Deprecated. Call V8::RegisterExternallyReferencedObject with the map value + * for given key. + * TODO(hlopko) Remove once migration to reporter is finished. */ - void RegisterExternallyReferencedObject(K& key) { + void RegisterExternallyReferencedObject(K& key) {} + + /** + * Use EmbedderReachableReferenceReporter with the map value for given key. + */ + void RegisterExternallyReferencedObject( + EmbedderReachableReferenceReporter* reporter, K& key) { DCHECK(Contains(key)); - V8::RegisterExternallyReferencedObject( - reinterpret_cast(FromVal(Traits::Get(&impl_, key))), - reinterpret_cast(GetIsolate())); + reporter->ReportExternalReference(FromVal(Traits::Get(&impl_, key))); } /** diff --git a/deps/v8/include/v8-version.h b/deps/v8/include/v8-version.h index a39676e377..b216cf04c3 100644 --- a/deps/v8/include/v8-version.h +++ b/deps/v8/include/v8-version.h @@ -9,9 +9,9 @@ // 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 5 -#define V8_MINOR_VERSION 4 -#define V8_BUILD_NUMBER 500 -#define V8_PATCH_LEVEL 46 +#define V8_MINOR_VERSION 5 +#define V8_BUILD_NUMBER 372 +#define V8_PATCH_LEVEL 40 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index d7e39adbae..36edf5334a 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -51,7 +51,7 @@ #else // V8_OS_WIN // Setup for Linux shared library export. -#if V8_HAS_ATTRIBUTE_VISIBILITY && defined(V8_SHARED) +#if V8_HAS_ATTRIBUTE_VISIBILITY # ifdef BUILDING_V8_SHARED # define V8_EXPORT __attribute__ ((visibility("default"))) # else @@ -70,6 +70,7 @@ namespace v8 { class AccessorSignature; class Array; +class ArrayBuffer; class Boolean; class BooleanObject; class Context; @@ -95,6 +96,7 @@ class ObjectTemplate; class Platform; class Primitive; class Promise; +class PropertyDescriptor; class Proxy; class RawOperationDescriptor; class Script; @@ -341,7 +343,7 @@ class Local { #if !defined(V8_IMMINENT_DEPRECATION_WARNINGS) -// Local is an alias for Local for historical reasons. +// Handle is an alias for Local for historical reasons. template using Handle = Local; #endif @@ -465,6 +467,16 @@ class WeakCallbackInfo { // possible to request a second pass callback. enum class WeakCallbackType { kParameter, kInternalFields, kFinalizer }; +/** + * A reporter class that embedder will use to report reachable references found + * by EmbedderHeapTracer. + */ +class V8_EXPORT EmbedderReachableReferenceReporter { + public: + virtual void ReportExternalReference(Value* object) = 0; + virtual ~EmbedderReachableReferenceReporter() = default; +}; + /** * An object reference that is independent of any handle scope. Where * a Local handle only lives as long as the HandleScope in which it was @@ -561,12 +573,19 @@ template class PersistentBase { // TODO(dcarney): remove this. V8_INLINE void ClearWeak() { ClearWeak(); } + /** + * Deprecated. + * TODO(hlopko): remove once migration to reporter is finished. + */ + V8_INLINE void RegisterExternalReference(Isolate* isolate) const {} + /** * Allows the embedder to tell the v8 garbage collector that a certain object * is alive. Only allowed when the embedder is asked to trace its heap by * EmbedderHeapTracer. */ - V8_INLINE void RegisterExternalReference(Isolate* isolate) const; + V8_INLINE void RegisterExternalReference( + EmbedderReachableReferenceReporter* reporter) const; /** * Marks the reference to this object independent. Garbage collector is free @@ -615,6 +634,9 @@ template class PersistentBase { */ V8_INLINE uint16_t WrapperClassId() const; + PersistentBase(const PersistentBase& other) = delete; // NOLINT + void operator=(const PersistentBase&) = delete; + private: friend class Isolate; friend class Utils; @@ -630,8 +652,6 @@ template class PersistentBase { friend class Object; explicit V8_INLINE PersistentBase(T* val) : val_(val) {} - PersistentBase(const PersistentBase& other) = delete; // NOLINT - void operator=(const PersistentBase&) = delete; V8_INLINE static T* New(Isolate* isolate, T* that); T* val_; @@ -835,11 +855,12 @@ class Global : public PersistentBase { */ typedef void MoveOnlyTypeForCPP03; + Global(const Global&) = delete; + void operator=(const Global&) = delete; + private: template friend class ReturnValue; - Global(const Global&) = delete; - void operator=(const Global&) = delete; V8_INLINE T* operator*() const { return this->val_; } }; @@ -878,6 +899,11 @@ class V8_EXPORT HandleScope { return reinterpret_cast(isolate_); } + HandleScope(const HandleScope&) = delete; + void operator=(const HandleScope&) = delete; + void* operator new(size_t size) = delete; + void operator delete(void*, size_t) = delete; + protected: V8_INLINE HandleScope() {} @@ -891,13 +917,6 @@ class V8_EXPORT HandleScope { static internal::Object** CreateHandle(internal::HeapObject* heap_object, internal::Object* value); - // Make it hard to create heap-allocated or illegal handle scopes by - // disallowing certain operations. - HandleScope(const HandleScope&); - void operator=(const HandleScope&); - void* operator new(size_t size); - void operator delete(void*, size_t); - internal::Isolate* isolate_; internal::Object** prev_next_; internal::Object** prev_limit_; @@ -932,16 +951,13 @@ class V8_EXPORT EscapableHandleScope : public HandleScope { return Local(reinterpret_cast(slot)); } + EscapableHandleScope(const EscapableHandleScope&) = delete; + void operator=(const EscapableHandleScope&) = delete; + void* operator new(size_t size) = delete; + void operator delete(void*, size_t) = delete; + private: internal::Object** Escape(internal::Object** escape_value); - - // Make it hard to create heap-allocated or illegal handle scopes by - // disallowing certain operations. - EscapableHandleScope(const EscapableHandleScope&); - void operator=(const EscapableHandleScope&); - void* operator new(size_t size); - void operator delete(void*, size_t); - internal::Object** escape_slot_; }; @@ -950,14 +966,12 @@ class V8_EXPORT SealHandleScope { SealHandleScope(Isolate* isolate); ~SealHandleScope(); - private: - // Make it hard to create heap-allocated or illegal handle scopes by - // disallowing certain operations. - SealHandleScope(const SealHandleScope&); - void operator=(const SealHandleScope&); - void* operator new(size_t size); - void operator delete(void*, size_t); + SealHandleScope(const SealHandleScope&) = delete; + void operator=(const SealHandleScope&) = delete; + void* operator new(size_t size) = delete; + void operator delete(void*, size_t) = delete; + private: internal::Isolate* const isolate_; internal::Object** prev_limit_; int prev_sealed_level_; @@ -1073,6 +1087,47 @@ class V8_EXPORT UnboundScript { static const int kNoScriptId = 0; }; +/** + * This is an unfinished experimental feature, and is only exposed + * here for internal testing purposes. DO NOT USE. + * + * A compiled JavaScript module. + */ +class V8_EXPORT Module { + public: + /** + * Returns the number of modules requested by this module. + */ + int GetModuleRequestsLength() const; + + /** + * Returns the ith module specifier in this module. + * i must be < GetModuleRequestsLength() and >= 0. + */ + Local GetModuleRequest(int i) const; + + void SetEmbedderData(Local data); + Local GetEmbedderData() const; + + typedef MaybeLocal (*ResolveCallback)(Local context, + Local specifier, + Local referrer, + Local data); + + /** + * ModuleDeclarationInstantiation + * + * Returns false if an exception occurred during instantiation. + */ + V8_WARN_UNUSED_RESULT bool Instantiate( + Local context, ResolveCallback callback, + Local callback_data = Local()); + + /** + * ModuleEvaluation + */ + V8_WARN_UNUSED_RESULT MaybeLocal Evaluate(Local context); +}; /** * A compiled JavaScript script, tied to a Context which was active when the @@ -1148,10 +1203,9 @@ class V8_EXPORT ScriptCompiler { bool rejected; BufferPolicy buffer_policy; - private: - // Prevent copying. Not implemented. - CachedData(const CachedData&); - CachedData& operator=(const CachedData&); + // Prevent copying. + CachedData(const CachedData&) = delete; + CachedData& operator=(const CachedData&) = delete; }; /** @@ -1171,11 +1225,12 @@ class V8_EXPORT ScriptCompiler { // alive. V8_INLINE const CachedData* GetCachedData() const; + // Prevent copying. + Source(const Source&) = delete; + Source& operator=(const Source&) = delete; + private: friend class ScriptCompiler; - // Prevent copying. Not implemented. - Source(const Source&); - Source& operator=(const Source&); Local source_string; @@ -1258,11 +1313,11 @@ class V8_EXPORT ScriptCompiler { internal::StreamedSource* impl() const { return impl_; } - private: - // Prevent copying. Not implemented. - StreamedSource(const StreamedSource&); - StreamedSource& operator=(const StreamedSource&); + // Prevent copying. + StreamedSource(const StreamedSource&) = delete; + StreamedSource& operator=(const StreamedSource&) = delete; + private: internal::StreamedSource* impl_; }; @@ -1376,18 +1431,17 @@ class V8_EXPORT ScriptCompiler { static uint32_t CachedDataVersionTag(); /** - * Compile an ES6 module. - * * This is an unfinished experimental feature, and is only exposed - * here for internal testing purposes. - * Only parsing works at the moment. Do not use. + * here for internal testing purposes. DO NOT USE. * - * TODO(adamk): Script is likely the wrong return value for this; - * should return some new Module type. + * Compile an ES module, returning a Module that encapsulates + * the compiled code. + * + * Corresponds to the ParseModule abstract operation in the + * ECMAScript specification. */ - static V8_WARN_UNUSED_RESULT MaybeLocal