From 60d1aac8d225e844e68ae48e8f3d58802e635fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 2 May 2017 10:50:00 +0200 Subject: deps: update V8 to 5.8.283.38 PR-URL: https://github.com/nodejs/node/pull/12784 Reviewed-By: Ben Noordhuis Reviewed-By: Gibson Fahnestock --- deps/v8/test/BUILD.gn | 9 - deps/v8/test/cctest/BUILD.gn | 16 +- deps/v8/test/cctest/asmjs/test-asm-typer.cc | 61 +- deps/v8/test/cctest/ast-types-fuzz.h | 14 +- deps/v8/test/cctest/cctest.cc | 1 + deps/v8/test/cctest/cctest.gyp | 9 +- deps/v8/test/cctest/cctest.status | 26 +- deps/v8/test/cctest/compiler/codegen-tester.cc | 3 +- deps/v8/test/cctest/compiler/codegen-tester.h | 1 + deps/v8/test/cctest/compiler/function-tester.cc | 10 +- .../cctest/compiler/test-basic-block-profiler.cc | 1 + .../v8/test/cctest/compiler/test-branch-combine.cc | 1 + .../v8/test/cctest/compiler/test-code-assembler.cc | 1 + deps/v8/test/cctest/compiler/test-instruction.cc | 1 + .../compiler/test-js-context-specialization.cc | 3 + .../test/cctest/compiler/test-js-typed-lowering.cc | 40 +- .../v8/test/cctest/compiler/test-jump-threading.cc | 3 +- deps/v8/test/cctest/compiler/test-linkage.cc | 16 +- .../compiler/test-loop-assignment-analysis.cc | 4 +- .../compiler/test-machine-operator-reducer.cc | 1 + .../test/cctest/compiler/test-multiple-return.cc | 1 + .../cctest/compiler/test-representation-change.cc | 6 +- .../compiler/test-run-bytecode-graph-builder.cc | 205 +-- .../test-run-calls-to-external-references.cc | 1 + .../v8/test/cctest/compiler/test-run-jsbranches.cc | 64 - .../v8/test/cctest/compiler/test-run-load-store.cc | 1 + deps/v8/test/cctest/compiler/test-run-machops.cc | 32 + .../test/cctest/compiler/test-run-native-calls.cc | 1 + deps/v8/test/cctest/compiler/test-run-stubs.cc | 1 + .../test/cctest/compiler/test-run-wasm-machops.cc | 13 +- deps/v8/test/cctest/compiler/value-helper.h | 14 + deps/v8/test/cctest/ffi/OWNERS | 2 + deps/v8/test/cctest/ffi/test-ffi.cc | 222 +++ deps/v8/test/cctest/heap/heap-tester.h | 4 +- deps/v8/test/cctest/heap/test-alloc.cc | 2 +- deps/v8/test/cctest/heap/test-heap.cc | 668 ++------ .../test/cctest/heap/test-incremental-marking.cc | 3 + deps/v8/test/cctest/heap/test-mark-compact.cc | 1 + deps/v8/test/cctest/heap/test-page-promotion.cc | 2 +- .../interpreter/bytecode-expectations-printer.cc | 17 +- .../bytecode_expectations/ArrayLiterals.golden | 36 +- .../bytecode_expectations/ArrayLiteralsWide.golden | 2 +- .../AssignmentsInBinaryExpression.golden | 62 +- .../BasicBlockToBoolean.golden | 14 +- .../bytecode_expectations/BasicLoops.golden | 150 +- .../bytecode_expectations/BreakableBlocks.golden | 22 +- .../bytecode_expectations/CallAndSpread.golden | 107 ++ .../bytecode_expectations/CallGlobal.golden | 6 +- .../bytecode_expectations/CallLookupSlot.golden | 4 +- .../bytecode_expectations/CallNew.golden | 14 +- .../bytecode_expectations/CallRuntime.golden | 6 +- .../ClassAndSuperClass.golden | 14 +- .../bytecode_expectations/ClassDeclarations.golden | 38 +- .../CompoundExpressions.golden | 34 +- .../bytecode_expectations/Conditional.golden | 14 +- .../bytecode_expectations/ConstVariable.golden | 10 +- .../ConstVariableContextSlot.golden | 12 +- .../bytecode_expectations/ContextVariables.golden | 12 +- .../bytecode_expectations/CountOperators.golden | 54 +- .../bytecode_expectations/DeadCodeRemoval.golden | 10 +- .../bytecode_expectations/DeclareGlobals.golden | 6 +- .../bytecode_expectations/Delete.golden | 18 +- .../bytecode_expectations/DoExpression.golden | 4 +- .../interpreter/bytecode_expectations/Eval.golden | 4 +- .../bytecode_expectations/ForAwaitOf.golden | 1803 ++++++++++++++++++++ .../interpreter/bytecode_expectations/ForIn.golden | 46 +- .../interpreter/bytecode_expectations/ForOf.golden | 154 +- .../bytecode_expectations/FunctionLiterals.golden | 2 +- .../GenerateTestUndetectable.golden | 48 +- .../bytecode_expectations/Generators.golden | 202 ++- .../GlobalCompoundExpressions.golden | 4 +- .../bytecode_expectations/GlobalDelete.golden | 2 +- .../bytecode_expectations/IfConditions.golden | 50 +- .../bytecode_expectations/IntegerConstants.golden | 10 +- .../JumpsRequiringConstantWideOperands.golden | 10 +- .../bytecode_expectations/LetVariable.golden | 10 +- .../LetVariableContextSlot.golden | 12 +- .../LogicalExpressions.golden | 574 +++---- .../bytecode_expectations/LookupSlot.golden | 22 +- .../bytecode_expectations/LookupSlotInEval.golden | 4 +- .../LookupSlotWideInEval.golden | 4 +- .../bytecode_expectations/Modules.golden | 194 +-- .../bytecode_expectations/NewAndSpread.golden | 157 ++ .../bytecode_expectations/ObjectLiterals.golden | 66 +- .../ObjectLiteralsWide.golden | 2 +- .../OuterContextVariables.golden | 6 +- .../bytecode_expectations/Parameters.golden | 4 +- .../PrimitiveExpressions.golden | 42 +- .../PrimitiveReturnStatements.golden | 10 +- .../bytecode_expectations/PropertyCall.golden | 6 +- .../bytecode_expectations/PropertyLoads.golden | 4 +- .../bytecode_expectations/PropertyStores.golden | 1036 +++++------ .../bytecode_expectations/RegExpLiterals.golden | 8 +- .../RegExpLiteralsWide.golden | 2 +- .../RemoveRedundantLdar.golden | 12 +- .../bytecode_expectations/StoreGlobal.golden | 10 +- .../SuperCallAndSpread.golden | 29 +- .../bytecode_expectations/Switch.golden | 208 +-- .../interpreter/bytecode_expectations/Throw.golden | 4 +- .../TopLevelObjectLiterals.golden | 4 +- .../bytecode_expectations/TryCatch.golden | 10 +- .../bytecode_expectations/TryFinally.golden | 28 +- .../bytecode_expectations/Typeof.golden | 2 +- .../bytecode_expectations/UnaryOperators.golden | 28 +- .../bytecode_expectations/WideRegisters.golden | 14 +- .../bytecode_expectations/WithStatement.golden | 2 +- .../interpreter/generate-bytecode-expectations.cc | 11 + .../test/cctest/interpreter/interpreter-tester.cc | 11 +- .../test/cctest/interpreter/interpreter-tester.h | 17 +- .../cctest/interpreter/test-bytecode-generator.cc | 67 + .../interpreter/test-interpreter-intrinsics.cc | 22 +- .../v8/test/cctest/interpreter/test-interpreter.cc | 1000 ++++++----- deps/v8/test/cctest/parsing/test-preparser.cc | 567 ++++++ deps/v8/test/cctest/scope-test-helper.h | 79 + deps/v8/test/cctest/test-access-checks.cc | 55 + deps/v8/test/cctest/test-accessor-assembler.cc | 7 +- deps/v8/test/cctest/test-accessors.cc | 4 +- deps/v8/test/cctest/test-api-accessors.cc | 83 + deps/v8/test/cctest/test-api-interceptors.cc | 239 ++- deps/v8/test/cctest/test-api.cc | 213 ++- deps/v8/test/cctest/test-assembler-arm.cc | 87 + deps/v8/test/cctest/test-assembler-ia32.cc | 2 +- deps/v8/test/cctest/test-assembler-mips.cc | 81 +- deps/v8/test/cctest/test-assembler-mips64.cc | 81 +- deps/v8/test/cctest/test-assembler-x64.cc | 2 + deps/v8/test/cctest/test-assembler-x87.cc | 2 +- deps/v8/test/cctest/test-code-layout.cc | 4 +- deps/v8/test/cctest/test-code-stub-assembler.cc | 115 +- deps/v8/test/cctest/test-code-stubs-x64.cc | 1 + deps/v8/test/cctest/test-code-stubs.cc | 2 + deps/v8/test/cctest/test-compiler.cc | 9 +- deps/v8/test/cctest/test-cpu-profiler.cc | 12 +- deps/v8/test/cctest/test-debug.cc | 115 +- deps/v8/test/cctest/test-deoptimization.cc | 1 + deps/v8/test/cctest/test-dictionary.cc | 19 +- deps/v8/test/cctest/test-disasm-arm.cc | 24 + deps/v8/test/cctest/test-disasm-ia32.cc | 3 - deps/v8/test/cctest/test-disasm-x64.cc | 5 +- deps/v8/test/cctest/test-elements-kind.cc | 70 +- deps/v8/test/cctest/test-feedback-vector.cc | 193 ++- deps/v8/test/cctest/test-feedback-vector.h | 15 +- deps/v8/test/cctest/test-field-type-tracking.cc | 888 ++++++---- deps/v8/test/cctest/test-flags.cc | 2 +- deps/v8/test/cctest/test-func-name-inference.cc | 1 + deps/v8/test/cctest/test-hashing.cc | 2 +- deps/v8/test/cctest/test-heap-profiler.cc | 91 +- deps/v8/test/cctest/test-identity-map.cc | 356 +++- .../v8/test/cctest/test-inobject-slack-tracking.cc | 126 ++ deps/v8/test/cctest/test-log-stack-tracer.cc | 1 + deps/v8/test/cctest/test-macro-assembler-mips64.cc | 2 +- deps/v8/test/cctest/test-macro-assembler-x64.cc | 1 + deps/v8/test/cctest/test-managed.cc | 78 + deps/v8/test/cctest/test-modules.cc | 16 +- deps/v8/test/cctest/test-object.cc | 3 - deps/v8/test/cctest/test-parsing.cc | 1463 +++++++++++++--- deps/v8/test/cctest/test-profile-generator.cc | 35 +- deps/v8/test/cctest/test-regexp.cc | 6 +- .../v8/test/cctest/test-run-wasm-relocation-arm.cc | 24 +- .../test/cctest/test-run-wasm-relocation-arm64.cc | 24 +- .../test/cctest/test-run-wasm-relocation-ia32.cc | 24 +- .../v8/test/cctest/test-run-wasm-relocation-x64.cc | 26 +- .../v8/test/cctest/test-run-wasm-relocation-x87.cc | 23 +- deps/v8/test/cctest/test-serialize.cc | 122 +- deps/v8/test/cctest/test-simd.cc | 129 -- deps/v8/test/cctest/test-simulator-arm.cc | 387 +++++ deps/v8/test/cctest/test-strings.cc | 27 + deps/v8/test/cctest/test-transitions.cc | 40 +- deps/v8/test/cctest/test-unboxed-doubles.cc | 241 +-- deps/v8/test/cctest/test-utils.cc | 10 +- deps/v8/test/cctest/test-weakmaps.cc | 11 +- deps/v8/test/cctest/test-weaksets.cc | 11 +- deps/v8/test/cctest/unicode-helpers.h | 32 + deps/v8/test/cctest/wasm/test-managed.cc | 59 - deps/v8/test/cctest/wasm/test-run-wasm-64.cc | 6 + deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc | 1 + .../test/cctest/wasm/test-run-wasm-interpreter.cc | 69 +- deps/v8/test/cctest/wasm/test-run-wasm-js.cc | 2 +- deps/v8/test/cctest/wasm/test-run-wasm-module.cc | 39 +- .../test/cctest/wasm/test-run-wasm-relocation.cc | 3 +- deps/v8/test/cctest/wasm/test-run-wasm-simd.cc | 922 +++++++++- deps/v8/test/cctest/wasm/test-run-wasm.cc | 7 +- deps/v8/test/cctest/wasm/test-wasm-breakpoints.cc | 221 ++- .../cctest/wasm/test-wasm-interpreter-entry.cc | 232 +++ deps/v8/test/cctest/wasm/test-wasm-stack.cc | 2 +- .../v8/test/cctest/wasm/test-wasm-trap-position.cc | 3 +- deps/v8/test/cctest/wasm/wasm-run-utils.h | 97 +- deps/v8/test/common/wasm/wasm-module-runner.cc | 11 +- deps/v8/test/common/wasm/wasm-module-runner.h | 5 +- .../test/debugger/debug/debug-compile-optimized.js | 1 + .../test/debugger/debug/debug-evaluate-closure.js | 1 + .../debugger/debug/debug-evaluate-nested-let.js | 1 + .../debug-evaluate-no-side-effect-builtins.js | 46 +- .../debug/debug-evaluate-no-side-effect-control.js | 109 ++ .../debug/debug-evaluate-no-side-effect.js | 8 +- .../debugger/debug/debug-liveedit-check-stack.js | 21 +- .../debugger/debug/debug-liveedit-double-call.js | 2 +- .../debugger/debug/debug-liveedit-replace-code.js | 33 + deps/v8/test/debugger/debug/debug-optimize.js | 1 + deps/v8/test/debugger/debug/debug-scripts-throw.js | 12 - .../debugger/debug/debug-set-variable-value.js | 3 + .../debugger/debug/debug-stepframe-clearing.js | 96 -- deps/v8/test/debugger/debug/debug-stepframe.js | 109 -- .../test/debugger/debug/es6/debug-blockscopes.js | 2 +- .../debug/es6/debug-evaluate-blockscopes.js | 2 + .../debug/es6/debug-liveedit-new-target-1.js | 21 +- .../debug/es6/debug-liveedit-new-target-2.js | 21 +- .../debug/es6/debug-liveedit-new-target-3.js | 21 +- .../debug/es6/generators-debug-liveedit.js | 21 +- .../debugger/debug/es8/debug-async-liveedit.js | 21 +- .../debug/ignition/debug-step-prefix-bytecodes.js | 2 - .../debugger/debug/ignition/debugger-statement.js | 2 - .../debugger/debug/regress/regress-crbug-323936.js | 1 + .../debugger/debug/regress/regress-crbug-633999.js | 2 +- .../debug/regress/regress-opt-after-debug-deopt.js | 1 + .../regress-prepare-break-while-recompile.js | 1 + deps/v8/test/debugger/debugger.status | 26 +- deps/v8/test/debugger/regress/regress-5901-1.js | 50 + deps/v8/test/debugger/regress/regress-5901-2.js | 45 + deps/v8/test/debugger/regress/regress-5950.js | 37 + deps/v8/test/debugger/test-api.js | 26 +- deps/v8/test/fuzzer/README.md | 91 + deps/v8/test/fuzzer/fuzzer.gyp | 29 + deps/v8/test/fuzzer/fuzzer.isolate | 2 + deps/v8/test/fuzzer/parser.cc | 3 +- deps/v8/test/fuzzer/testcfg.py | 7 +- deps/v8/test/fuzzer/wasm-asmjs.cc | 6 + deps/v8/test/fuzzer/wasm-call.cc | 15 +- deps/v8/test/fuzzer/wasm-code.cc | 13 +- deps/v8/test/fuzzer/wasm-compile.cc | 447 +++++ deps/v8/test/fuzzer/wasm-data-section.cc | 1 + deps/v8/test/fuzzer/wasm-function-sigs-section.cc | 1 + deps/v8/test/fuzzer/wasm-globals-section.cc | 1 + deps/v8/test/fuzzer/wasm-imports-section.cc | 1 + deps/v8/test/fuzzer/wasm-memory-section.cc | 1 + deps/v8/test/fuzzer/wasm-names-section.cc | 1 + deps/v8/test/fuzzer/wasm-section-fuzzers.cc | 1 + deps/v8/test/fuzzer/wasm-section-fuzzers.h | 2 +- deps/v8/test/fuzzer/wasm-types-section.cc | 1 + deps/v8/test/fuzzer/wasm.cc | 6 + deps/v8/test/fuzzer/wasm_compile/foo | 0 .../console/destroy-context-during-log.js | 2 + .../inspector/cpu-profiler/coverage-expected.txt | 333 ++++ deps/v8/test/inspector/cpu-profiler/coverage.js | 100 ++ .../debugger/async-instrumentation-expected.txt | 6 +- .../inspector/debugger/async-instrumentation.js | 2 +- .../debugger/async-stack-await-expected.txt | 13 +- .../test/inspector/debugger/async-stack-await.js | 7 +- .../async-stack-created-frame-expected.txt | 100 ++ .../debugger/async-stack-created-frame.js | 178 ++ .../debugger/async-stack-for-promise-expected.txt | 79 +- .../inspector/debugger/async-stack-for-promise.js | 7 +- .../debugger/async-stacks-limit-expected.txt | 35 +- .../test/inspector/debugger/async-stacks-limit.js | 60 +- .../debugger/es6-module-script-parsed-expected.txt | 55 + .../inspector/debugger/es6-module-script-parsed.js | 28 + .../es6-module-set-script-source-expected.txt | 8 + .../debugger/es6-module-set-script-source.js | 33 + .../debugger/framework-break-expected.txt | 70 + deps/v8/test/inspector/debugger/framework-break.js | 234 +++ .../framework-nested-scheduled-break-expected.txt | 41 + .../debugger/framework-nested-scheduled-break.js | 49 + .../debugger/framework-precise-ranges-expected.txt | 140 ++ .../inspector/debugger/framework-precise-ranges.js | 78 + .../debugger/framework-stepping-expected.txt | 100 ++ .../test/inspector/debugger/framework-stepping.js | 113 ++ .../get-possible-breakpoints-array-literal.js | 2 +- .../debugger/get-possible-breakpoints-expected.txt | 1238 +++----------- .../inspector/debugger/get-possible-breakpoints.js | 214 ++- .../debugger/inspector-break-api-expected.txt | 38 + .../test/inspector/debugger/inspector-break-api.js | 50 + ...object-preview-internal-properties-expected.txt | 32 +- .../inspector/debugger/pause-on-oom-expected.txt | 2 + deps/v8/test/inspector/debugger/pause-on-oom.js | 28 + .../debugger/script-on-after-compile-expected.txt | 39 + ...script-parsed-for-runtime-evaluate-expected.txt | 6 + .../set-script-source-exception-expected.txt | 2 +- .../side-effect-free-debug-evaluate-expected.txt | 5 + .../debugger/side-effect-free-debug-evaluate.js | 56 + .../debugger/step-into-next-script-expected.txt | 83 + .../inspector/debugger/step-into-next-script.js | 51 + .../debugger/stepping-with-blackboxed-ranges.js | 13 +- .../wasm-get-breakable-locations-expected.txt | 87 + .../debugger/wasm-get-breakable-locations.js | 208 +++ .../inspector/debugger/wasm-stepping-expected.txt | 83 + deps/v8/test/inspector/debugger/wasm-stepping.js | 160 ++ .../take-heap-snapshot-on-pause-expected.txt | 2 + .../heap-profiler/take-heap-snapshot-on-pause.js | 24 + deps/v8/test/inspector/inspector-impl.cc | 6 + deps/v8/test/inspector/inspector-impl.h | 12 +- deps/v8/test/inspector/inspector-test.cc | 176 +- deps/v8/test/inspector/inspector.status | 5 + deps/v8/test/inspector/protocol-test.js | 34 +- .../inspector/runtime/console-methods-expected.txt | 648 +++++++ deps/v8/test/inspector/runtime/console-methods.js | 36 + .../runtime/console-time-end-format-expected.txt | 29 + .../inspector/runtime/console-time-end-format.js | 45 + .../test/inspector/runtime/es6-module-expected.txt | 240 +++ deps/v8/test/inspector/runtime/es6-module.js | 61 + .../internal-properties-entries-expected.txt | 691 ++++++++ .../runtime/internal-properties-entries.js | 65 + .../runtime/internal-properties-expected.txt | 576 +++++++ .../test/inspector/runtime/internal-properties.js | 70 + ...otocol-works-with-different-locale-expected.txt | 13 +- .../protocol-works-with-different-locale.js | 20 +- deps/v8/test/inspector/task-runner.cc | 82 +- deps/v8/test/inspector/task-runner.h | 32 +- deps/v8/test/inspector/testcfg.py | 2 +- .../test/intl/number-format/check-digit-ranges.js | 2 + deps/v8/test/js-perf-test/JSTests.json | 53 + deps/v8/test/js-perf-test/SixSpeed.json | 129 +- .../array_destructuring/array_destructuring.js | 38 - .../SixSpeed/array_destructuring/es5.js | 17 + .../SixSpeed/array_destructuring/es6.js | 17 + .../SixSpeed/array_destructuring/run.js | 25 - deps/v8/test/js-perf-test/SixSpeed/defaults/es5.js | 23 + deps/v8/test/js-perf-test/SixSpeed/defaults/es6.js | 21 + .../js-perf-test/SixSpeed/object_literals/es5.js | 18 + .../js-perf-test/SixSpeed/object_literals/es6.js | 19 + .../SixSpeed/object_literals/object_literals.js | 41 - .../js-perf-test/SixSpeed/object_literals/run.js | 25 - deps/v8/test/js-perf-test/SixSpeed/run.js | 22 + deps/v8/test/js-perf-test/SixSpeed/spread/babel.js | 15 + deps/v8/test/js-perf-test/SixSpeed/spread/es5.js | 15 + deps/v8/test/js-perf-test/SixSpeed/spread/es6.js | 15 + deps/v8/test/js-perf-test/SixSpeed/spread/run.js | 25 - .../v8/test/js-perf-test/SixSpeed/spread/spread.js | 73 - .../js-perf-test/SixSpeed/spread_literal/babel.js | 14 + .../js-perf-test/SixSpeed/spread_literal/es5.js | 16 + .../js-perf-test/SixSpeed/spread_literal/es6.js | 14 + .../js-perf-test/SixSpeed/super_spread/babel.js | 75 + .../test/js-perf-test/SixSpeed/super_spread/es5.js | 28 + .../test/js-perf-test/SixSpeed/super_spread/es6.js | 28 + .../TypedArrays/construct-arraylike.js | 13 + .../js-perf-test/TypedArrays/construct-buffer.js | 13 + .../test/js-perf-test/TypedArrays/constructor.js | 11 + .../v8/test/js-perf-test/TypedArrays/copywithin.js | 32 + deps/v8/test/js-perf-test/TypedArrays/run.js | 24 + deps/v8/test/js-perf-test/TypedArrays/sort.js | 33 + .../message/formal-parameters-trailing-comma.js | 2 +- .../message/formal-parameters-trailing-comma.out | 6 +- ...tion-destructuring-brace-in-single-statement.js | 5 + ...ion-destructuring-brace-in-single-statement.out | 4 + ...eclaration-destructuring-in-single-statement.js | 5 + ...claration-destructuring-in-single-statement.out | 4 + .../let-lexical-declaration-in-single-statement.js | 5 + ...let-lexical-declaration-in-single-statement.out | 4 + deps/v8/test/mjsunit/allocation-site-info.js | 4 +- deps/v8/test/mjsunit/arguments-deopt.js | 90 + deps/v8/test/mjsunit/array-bounds-check-removal.js | 4 +- deps/v8/test/mjsunit/array-constructor-feedback.js | 54 +- deps/v8/test/mjsunit/array-feedback.js | 2 +- .../test/mjsunit/array-functions-prototype-misc.js | 2 +- deps/v8/test/mjsunit/array-literal-feedback.js | 2 +- deps/v8/test/mjsunit/array-literal-transitions.js | 9 +- .../test/mjsunit/array-methods-read-only-length.js | 6 +- deps/v8/test/mjsunit/array-push5.js | 2 +- deps/v8/test/mjsunit/array-shift4.js | 2 +- deps/v8/test/mjsunit/array-sort.js | 23 + deps/v8/test/mjsunit/array-store-and-grow.js | 8 +- deps/v8/test/mjsunit/asm/asm-validation.js | 83 + deps/v8/test/mjsunit/asm/do-while-false.js | 10 +- deps/v8/test/mjsunit/asm/do-while.js | 8 +- .../mjsunit/asm/float32array-negative-offset.js | 6 +- .../test/mjsunit/asm/float32array-outofbounds.js | 3 +- deps/v8/test/mjsunit/asm/float32array-store-div.js | 5 +- .../mjsunit/asm/float64array-negative-offset.js | 6 +- .../test/mjsunit/asm/float64array-outofbounds.js | 3 +- deps/v8/test/mjsunit/asm/float64array-store-div.js | 5 +- deps/v8/test/mjsunit/asm/float64mul.js | 2 +- deps/v8/test/mjsunit/asm/if-cloning.js | 4 +- deps/v8/test/mjsunit/asm/if-folding.js | 64 +- deps/v8/test/mjsunit/asm/if-reduction.js | 112 +- deps/v8/test/mjsunit/asm/if-tonumber.js | 4 +- deps/v8/test/mjsunit/asm/infinite-loops-taken.js | 1 + .../test/mjsunit/asm/int16array-negative-offset.js | 4 +- deps/v8/test/mjsunit/asm/int16array-outofbounds.js | 15 +- deps/v8/test/mjsunit/asm/int32-div.js | 8 +- deps/v8/test/mjsunit/asm/int32-mod.js | 16 +- deps/v8/test/mjsunit/asm/int32-mul.js | 10 +- deps/v8/test/mjsunit/asm/int32-tmod.js | 10 +- deps/v8/test/mjsunit/asm/int32-udiv.js | 16 +- deps/v8/test/mjsunit/asm/int32-umod.js | 16 +- .../v8/test/mjsunit/asm/int32array-constant-key.js | 40 +- .../test/mjsunit/asm/int32array-negative-offset.js | 4 +- deps/v8/test/mjsunit/asm/int32array-outofbounds.js | 2 +- deps/v8/test/mjsunit/asm/int32array-unaligned.js | 2 +- deps/v8/test/mjsunit/asm/int32div.js | 16 +- deps/v8/test/mjsunit/asm/int32mod-constant.js | 16 +- deps/v8/test/mjsunit/asm/int32mod.js | 2 +- deps/v8/test/mjsunit/asm/int32modb.js | 2 +- .../test/mjsunit/asm/int8array-negative-offset.js | 4 +- deps/v8/test/mjsunit/asm/load-elimination.js | 9 +- deps/v8/test/mjsunit/asm/math-abs.js | 6 +- deps/v8/test/mjsunit/asm/math-ceil.js | 2 +- deps/v8/test/mjsunit/asm/math-clz32.js | 4 +- deps/v8/test/mjsunit/asm/math-floor.js | 4 +- deps/v8/test/mjsunit/asm/redundancy1.js | 8 +- deps/v8/test/mjsunit/asm/redundancy2.js | 8 +- deps/v8/test/mjsunit/asm/regress-674089.js | 16 + deps/v8/test/mjsunit/asm/regress-681707.js | 18 + deps/v8/test/mjsunit/asm/switch.js | 10 +- deps/v8/test/mjsunit/asm/uint32-less-than-shift.js | 9 +- deps/v8/test/mjsunit/asm/uint32div.js | 20 +- deps/v8/test/mjsunit/asm/uint32mod-constant.js | 18 +- deps/v8/test/mjsunit/asm/uint32mod.js | 8 +- deps/v8/test/mjsunit/asm/uint8array-outofbounds.js | 2 +- deps/v8/test/mjsunit/asm/word32and.js | 16 +- deps/v8/test/mjsunit/asm/word32ror.js | 4 +- deps/v8/test/mjsunit/asm/zero-extend.js | 8 +- deps/v8/test/mjsunit/assert-opt-and-deopt.js | 37 +- deps/v8/test/mjsunit/code-coverage-ad-hoc.js | 74 + deps/v8/test/mjsunit/code-coverage-precise.js | 68 + deps/v8/test/mjsunit/compiler/alloc-object.js | 2 +- .../concurrent-invalidate-transition-map.js | 6 +- .../mjsunit/compiler/concurrent-proto-change.js | 5 +- .../mjsunit/compiler/deopt-inlined-from-call.js | 2 +- .../compiler/deopt-numberoroddball-binop.js | 2 +- .../mjsunit/compiler/deopt-string-outofbounds.js | 2 +- .../v8/test/mjsunit/compiler/escape-analysis-15.js | 19 + .../compiler/escape-analysis-representation.js | 2 +- .../mjsunit/compiler/increment-typefeedback.js | 2 +- deps/v8/test/mjsunit/compiler/inline-accessors.js | 8 +- deps/v8/test/mjsunit/compiler/inline-arguments.js | 6 +- deps/v8/test/mjsunit/compiler/inline-construct.js | 4 +- .../test/mjsunit/compiler/inline-function-apply.js | 6 +- .../test/mjsunit/compiler/inlined-array-pop-opt.js | 2 +- deps/v8/test/mjsunit/compiler/inlined-call.js | 2 +- .../v8/test/mjsunit/compiler/integral32-add-sub.js | 2 +- deps/v8/test/mjsunit/compiler/literals.js | 4 + .../compiler/manual-concurrent-recompile.js | 1 + .../test/mjsunit/compiler/opt-next-call-turbo.js | 2 +- deps/v8/test/mjsunit/compiler/opt-next-call.js | 2 +- .../compiler/optimized-float32array-length.js | 2 +- .../compiler/optimized-float64array-length.js | 2 +- .../compiler/optimized-int32array-length.js | 2 +- .../compiler/optimized-uint32array-length.js | 2 +- deps/v8/test/mjsunit/compiler/regress-5320.js | 2 +- deps/v8/test/mjsunit/compiler/regress-675704.js | 26 + .../regress-strict-equals-mixed-feedback.js | 2 +- deps/v8/test/mjsunit/compiler/shift-shr.js | 29 + .../test/mjsunit/compiler/uint8-clamped-array.js | 2 +- .../mjsunit/concurrent-initial-prototype-change.js | 4 +- deps/v8/test/mjsunit/const-field-tracking.js | 268 +++ deps/v8/test/mjsunit/constant-folding-2.js | 3 +- deps/v8/test/mjsunit/date-parse.js | 32 +- deps/v8/test/mjsunit/date.js | 110 +- deps/v8/test/mjsunit/deopt-minus-zero.js | 2 +- deps/v8/test/mjsunit/deopt-with-fp-regs.js | 6 +- deps/v8/test/mjsunit/deserialize-optimize-inner.js | 1 + deps/v8/test/mjsunit/div-mul-minus-one.js | 2 +- deps/v8/test/mjsunit/double-equals.js | 8 - deps/v8/test/mjsunit/elements-kind.js | 2 +- .../test/mjsunit/elements-transition-hoisting.js | 18 +- deps/v8/test/mjsunit/elements-transition.js | 2 +- .../v8/test/mjsunit/ensure-growing-store-learns.js | 52 +- deps/v8/test/mjsunit/es6/array-iterator-turbo.js | 45 +- .../mjsunit/es6/block-let-crankshaft-sloppy.js | 6 +- deps/v8/test/mjsunit/es6/block-let-crankshaft.js | 6 +- deps/v8/test/mjsunit/es6/block-scoping-sloppy.js | 4 +- deps/v8/test/mjsunit/es6/block-scoping.js | 4 +- .../es6/call-with-spread-modify-array-iterator.js | 37 + .../mjsunit/es6/call-with-spread-modify-next.js | 42 + deps/v8/test/mjsunit/es6/call-with-spread.js | 113 ++ deps/v8/test/mjsunit/es6/promises.js | 5 +- deps/v8/test/mjsunit/es6/reflect-construct.js | 24 + deps/v8/test/mjsunit/es6/regress/regress-5929-1.js | 14 + deps/v8/test/mjsunit/es6/spread-call-new-class.js | 79 + deps/v8/test/mjsunit/es6/spread-call.js | 6 + .../es6/super-with-spread-modify-array-iterator.js | 51 + .../mjsunit/es6/super-with-spread-modify-next.js | 56 + deps/v8/test/mjsunit/es6/super-with-spread.js | 88 + deps/v8/test/mjsunit/es6/typedarray-copywithin.js | 74 + deps/v8/test/mjsunit/es6/typedarray-sort.js | 8 + deps/v8/test/mjsunit/es7/array-includes.js | 1 + deps/v8/test/mjsunit/es7/regress/regress-5986.js | 29 + deps/v8/test/mjsunit/es8/async-await-basic.js | 172 ++ .../test/mjsunit/es8/async-await-no-constructor.js | 2 +- deps/v8/test/mjsunit/external-array.js | 18 +- deps/v8/test/mjsunit/extra-commas.js | 8 +- deps/v8/test/mjsunit/fast-element-smi-check.js | 4 +- deps/v8/test/mjsunit/field-type-tracking.js | 9 + deps/v8/test/mjsunit/getters-on-elements.js | 4 +- .../mjsunit/harmony/async-from-sync-iterator.js | 670 ++++++++ deps/v8/test/mjsunit/harmony/atomics.js | 9 + deps/v8/test/mjsunit/harmony/do-expressions.js | 3 +- deps/v8/test/mjsunit/harmony/for-await-of.js | 1264 ++++++++++++++ deps/v8/test/mjsunit/harmony/function-tostring.js | 124 ++ deps/v8/test/mjsunit/harmony/futex.js | 14 + deps/v8/test/mjsunit/harmony/object-rest-basic.js | 159 ++ .../v8/test/mjsunit/harmony/object-spread-basic.js | 2 +- .../mjsunit/harmony/promise-prototype-finally.js | 661 +++++++ .../test/mjsunit/harmony/regexp-named-captures.js | 40 +- deps/v8/test/mjsunit/harmony/simd.js | 636 ------- .../test/mjsunit/harmony/symbol-async-iterator.js | 14 + deps/v8/test/mjsunit/harmony/template-escapes.js | 785 +++++++++ .../ignition/stack-trace-source-position.js | 7 +- .../mjsunit/immutable-context-slot-inlining.js | 30 + .../test/mjsunit/keyed-load-hole-to-undefined.js | 2 +- deps/v8/test/mjsunit/keyed-load-with-string-key.js | 2 +- deps/v8/test/mjsunit/keyed-load-with-symbol-key.js | 3 +- .../test/mjsunit/math-floor-of-div-minus-zero.js | 2 +- deps/v8/test/mjsunit/math-imul.js | 4 +- deps/v8/test/mjsunit/messages.js | 15 +- deps/v8/test/mjsunit/mjsunit.isolate | 7 +- deps/v8/test/mjsunit/mjsunit.js | 111 +- deps/v8/test/mjsunit/mjsunit.status | 47 +- deps/v8/test/mjsunit/modules-namespace1.js | 4 +- deps/v8/test/mjsunit/modules-turbo.js | 14 - deps/v8/test/mjsunit/modules-turbo1.js | 14 + deps/v8/test/mjsunit/modules-turbo2.js | 17 + deps/v8/test/mjsunit/never-optimize.js | 46 +- deps/v8/test/mjsunit/object-seal.js | 2 +- deps/v8/test/mjsunit/opt-elements-kind.js | 6 +- deps/v8/test/mjsunit/parallel-optimize-disabled.js | 2 +- .../mjsunit/proto-elements-add-during-foreach.js | 12 + deps/v8/test/mjsunit/readonly.js | 4 +- deps/v8/test/mjsunit/regexp.js | 6 +- deps/v8/test/mjsunit/regress/compare-map-elim1.js | 2 +- deps/v8/test/mjsunit/regress/regress-2132.js | 2 +- deps/v8/test/mjsunit/regress/regress-2250.js | 2 +- deps/v8/test/mjsunit/regress/regress-2315.js | 2 +- deps/v8/test/mjsunit/regress/regress-2339.js | 2 +- deps/v8/test/mjsunit/regress/regress-2437.js | 24 +- deps/v8/test/mjsunit/regress/regress-2438.js | 8 +- deps/v8/test/mjsunit/regress/regress-2451.js | 2 +- deps/v8/test/mjsunit/regress/regress-2470.js | 6 +- deps/v8/test/mjsunit/regress/regress-252797.js | 2 +- deps/v8/test/mjsunit/regress/regress-2618.js | 6 +- deps/v8/test/mjsunit/regress/regress-3176.js | 2 +- deps/v8/test/mjsunit/regress/regress-3281.js | 14 - deps/v8/test/mjsunit/regress/regress-347914.js | 1 + deps/v8/test/mjsunit/regress/regress-3650-3.js | 2 +- deps/v8/test/mjsunit/regress/regress-3709.js | 4 +- deps/v8/test/mjsunit/regress/regress-385565.js | 2 +- deps/v8/test/mjsunit/regress/regress-410912.js | 2 +- deps/v8/test/mjsunit/regress/regress-4121.js | 10 +- deps/v8/test/mjsunit/regress/regress-4173.js | 4 +- deps/v8/test/mjsunit/regress/regress-4380.js | 2 +- deps/v8/test/mjsunit/regress/regress-5404.js | 2 +- deps/v8/test/mjsunit/regress/regress-5636-1.js | 22 + deps/v8/test/mjsunit/regress/regress-5636-2.js | 23 + deps/v8/test/mjsunit/regress/regress-5638.js | 32 + deps/v8/test/mjsunit/regress/regress-5638b.js | 44 + deps/v8/test/mjsunit/regress/regress-5692.js | 16 + deps/v8/test/mjsunit/regress/regress-5790.js | 2 +- deps/v8/test/mjsunit/regress/regress-5802.js | 2 +- deps/v8/test/mjsunit/regress/regress-5845.js | 6 + deps/v8/test/mjsunit/regress/regress-5888.js | 76 + deps/v8/test/mjsunit/regress/regress-5902.js | 63 + deps/v8/test/mjsunit/regress/regress-5911.js | 32 + deps/v8/test/mjsunit/regress/regress-5927.js | 7 + deps/v8/test/mjsunit/regress/regress-5938.js | 14 + deps/v8/test/mjsunit/regress/regress-5972.js | 17 + deps/v8/test/mjsunit/regress/regress-5974.js | 9 + deps/v8/test/mjsunit/regress/regress-6063.js | 17 + deps/v8/test/mjsunit/regress/regress-6121.js | 23 + deps/v8/test/mjsunit/regress/regress-618608.js | 38 +- deps/v8/test/mjsunit/regress/regress-618657.js | 2 +- deps/v8/test/mjsunit/regress/regress-6209.js | 25 + deps/v8/test/mjsunit/regress/regress-6210.js | 34 + deps/v8/test/mjsunit/regress/regress-681984.js | 13 + deps/v8/test/mjsunit/regress/regress-682242.js | 18 + deps/v8/test/mjsunit/regress/regress-682349.js | 13 + deps/v8/test/mjsunit/regress/regress-683617.js | 17 + deps/v8/test/mjsunit/regress/regress-685086.js | 8 + deps/v8/test/mjsunit/regress/regress-688690.js | 16 + deps/v8/test/mjsunit/regress/regress-689016.js | 12 + deps/v8/test/mjsunit/regress/regress-696251.js | 7 + deps/v8/test/mjsunit/regress/regress-696651.js | 22 + deps/v8/test/mjsunit/regress/regress-704811.js | 88 + deps/v8/test/mjsunit/regress/regress-706234-2.js | 37 + deps/v8/test/mjsunit/regress/regress-706234.js | 8 + deps/v8/test/mjsunit/regress/regress-708247.js | 26 + .../test/mjsunit/regress/regress-crbug-471702.js | 7 - .../test/mjsunit/regress/regress-crbug-500497.js | 2 +- .../test/mjsunit/regress/regress-crbug-505007-2.js | 20 - .../test/mjsunit/regress/regress-crbug-506443.js | 2 +- .../test/mjsunit/regress/regress-crbug-514081.js | 16 +- .../test/mjsunit/regress/regress-crbug-554831.js | 2 +- .../test/mjsunit/regress/regress-crbug-587068.js | 2 +- .../test/mjsunit/regress/regress-crbug-594183.js | 8 +- .../test/mjsunit/regress/regress-crbug-681983.js | 18 + .../test/mjsunit/regress/regress-crbug-683581.js | 13 + .../test/mjsunit/regress/regress-crbug-684208.js | 15 + .../test/mjsunit/regress/regress-crbug-685050.js | 19 + .../test/mjsunit/regress/regress-crbug-685504.js | 18 + .../test/mjsunit/regress/regress-crbug-685506.js | 26 + .../test/mjsunit/regress/regress-crbug-685634.js | 14 + .../test/mjsunit/regress/regress-crbug-685680.js | 15 + .../test/mjsunit/regress/regress-crbug-685965.js | 13 + .../test/mjsunit/regress/regress-crbug-686737.js | 13 + .../test/mjsunit/regress/regress-crbug-687029.js | 14 + .../test/mjsunit/regress/regress-crbug-687990.js | 16 + .../test/mjsunit/regress/regress-crbug-694416.js | 17 + .../test/mjsunit/regress/regress-crbug-694709.js | 13 + .../test/mjsunit/regress/regress-crbug-702058-1.js | 10 + .../test/mjsunit/regress/regress-crbug-702058-2.js | 10 + .../test/mjsunit/regress/regress-crbug-702058-3.js | 10 + .../test/mjsunit/regress/regress-crbug-706642.js | 37 + .../regress/regress-embedded-cons-string.js | 1 + .../mjsunit/regress/regress-map-invalidation-2.js | 4 +- .../mjsunit/regress/regress-param-local-type.js | 2 +- .../mjsunit/regress/regress-store-uncacheable.js | 2 +- deps/v8/test/mjsunit/regress/regress-v8-5697.js | 4 +- deps/v8/test/mjsunit/regress/regress-v8-5958.js | 16 + deps/v8/test/mjsunit/regress/wasm/regress-5860.js | 30 + .../test/mjsunit/regress/wasm/regression-02256.js | 1 + .../test/mjsunit/regress/wasm/regression-02256b.js | 1 + .../test/mjsunit/regress/wasm/regression-6054.js | 342 ++++ .../test/mjsunit/regress/wasm/regression-688876.js | 42 + .../test/mjsunit/regress/wasm/regression-689450.js | 25 + .../test/mjsunit/regress/wasm/regression-694433.js | 6 + .../test/mjsunit/regress/wasm/regression-698587.js | 10 + .../test/mjsunit/regress/wasm/regression-699485.js | 22 + deps/v8/test/mjsunit/setters-on-elements.js | 3 +- .../mjsunit/shared-function-tier-up-default.js | 17 +- .../mjsunit/shared-function-tier-up-ignition.js | 41 - .../test/mjsunit/shared-function-tier-up-turbo.js | 16 +- deps/v8/test/mjsunit/shift-for-integer-div.js | 2 +- deps/v8/test/mjsunit/sin-cos.js | 2 +- deps/v8/test/mjsunit/smi-mul-const.js | 2 +- deps/v8/test/mjsunit/smi-mul.js | 2 +- deps/v8/test/mjsunit/smi-representation.js | 6 +- deps/v8/test/mjsunit/string-indexof-1.js | 96 ++ deps/v8/test/mjsunit/string-replace.js | 13 + deps/v8/test/mjsunit/strong-rooted-literals.js | 55 + deps/v8/test/mjsunit/thin-strings.js | 90 + .../mjsunit/tools/tickprocessor-test.func-info | 10 +- deps/v8/test/mjsunit/track-fields.js | 3 + deps/v8/test/mjsunit/typed-array-slice.js | 2 +- deps/v8/test/mjsunit/unary-minus-deopt.js | 2 +- deps/v8/test/mjsunit/unbox-double-arrays.js | 4 +- deps/v8/test/mjsunit/wasm/asm-wasm.js | 16 + .../v8/test/mjsunit/wasm/float-constant-folding.js | 249 +-- deps/v8/test/mjsunit/wasm/import-memory.js | 14 + deps/v8/test/mjsunit/wasm/js-api.js | 36 +- deps/v8/test/mjsunit/wasm/jsapi-harness.js | 83 + deps/v8/test/mjsunit/wasm/wasm-module-builder.js | 16 + deps/v8/test/mozilla/mozilla.status | 5 - deps/v8/test/perf.isolate | 1 - deps/v8/test/simdjs/SimdJs.json | 244 --- deps/v8/test/simdjs/generate.py | 60 - deps/v8/test/simdjs/harness-adapt.js | 40 - deps/v8/test/simdjs/harness-finish.js | 26 - deps/v8/test/simdjs/simdjs.gyp | 26 - deps/v8/test/simdjs/simdjs.isolate | 14 - deps/v8/test/simdjs/simdjs.status | 34 - deps/v8/test/simdjs/testcfg.py | 57 - deps/v8/test/test262/harness-agent.js | 106 ++ .../default-currency-maximum-fraction-digits.js | 17 + .../fraction-digit-options-read-once.js | 18 + deps/v8/test/test262/prune-local-tests.sh | 8 +- deps/v8/test/test262/test262.isolate | 1 + deps/v8/test/test262/test262.status | 234 ++- deps/v8/test/test262/testcfg.py | 2 + deps/v8/test/unittests/BUILD.gn | 6 + deps/v8/test/unittests/api/exception-unittest.cc | 45 + deps/v8/test/unittests/api/isolate-unittest.cc | 73 + .../test/unittests/api/remote-object-unittest.cc | 97 ++ deps/v8/test/unittests/api/v8-object-unittest.cc | 37 + deps/v8/test/unittests/base/logging-unittest.cc | 19 + .../compiler-dispatcher-job-unittest.cc | 13 +- .../compiler-dispatcher-unittest.cc | 322 +++- .../optimizing-compile-dispatcher-unittest.cc | 95 ++ .../arm64/instruction-selector-arm64-unittest.cc | 18 +- .../compiler/instruction-selector-unittest.cc | 1 + .../unittests/compiler/int64-lowering-unittest.cc | 33 + .../compiler/js-builtin-reducer-unittest.cc | 444 ++--- .../compiler/js-create-lowering-unittest.cc | 43 +- .../unittests/compiler/js-operator-unittest.cc | 2 +- .../compiler/js-typed-lowering-unittest.cc | 348 +--- .../unittests/compiler/node-matchers-unittest.cc | 1241 +++++++++++++- .../compiler/regalloc/move-optimizer-unittest.cc | 1 + deps/v8/test/unittests/compiler/typer-unittest.cc | 33 +- .../x64/instruction-selector-x64-unittest.cc | 1 + deps/v8/test/unittests/heap/slot-set-unittest.cc | 11 +- .../interpreter/bytecode-array-builder-unittest.cc | 114 +- .../bytecode-array-iterator-unittest.cc | 17 +- .../bytecode-array-random-iterator-unittest.cc | 94 +- .../interpreter/bytecode-array-writer-unittest.cc | 4 +- .../interpreter/bytecode-decoder-unittest.cc | 5 +- .../interpreter/constant-array-builder-unittest.cc | 176 +- .../interpreter/interpreter-assembler-unittest.cc | 192 +-- deps/v8/test/unittests/test-utils.cc | 2 +- deps/v8/test/unittests/test-utils.h | 8 +- deps/v8/test/unittests/unittests.gyp | 6 + .../v8/test/unittests/value-serializer-unittest.cc | 26 +- .../wasm/function-body-decoder-unittest.cc | 13 +- .../wasm/loop-assignment-analysis-unittest.cc | 1 + .../test/unittests/wasm/module-decoder-unittest.cc | 19 + .../unittests/wasm/wasm-module-builder-unittest.cc | 1 + .../test/unittests/wasm/wasm-opcodes-unittest.cc | 34 + .../fast/js/parser-syntax-check-expected.txt | 8 +- .../fast/js/string-capitalization-expected.txt | 4 +- deps/v8/test/webkit/preventExtensions-expected.txt | 2 +- deps/v8/test/webkit/webkit.status | 5 + 696 files changed, 30026 insertions(+), 9892 deletions(-) create mode 100644 deps/v8/test/cctest/ffi/OWNERS create mode 100644 deps/v8/test/cctest/ffi/test-ffi.cc create mode 100644 deps/v8/test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden create mode 100644 deps/v8/test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden create mode 100644 deps/v8/test/cctest/interpreter/bytecode_expectations/NewAndSpread.golden create mode 100644 deps/v8/test/cctest/parsing/test-preparser.cc create mode 100644 deps/v8/test/cctest/scope-test-helper.h create mode 100644 deps/v8/test/cctest/test-managed.cc delete mode 100644 deps/v8/test/cctest/test-simd.cc create mode 100644 deps/v8/test/cctest/test-simulator-arm.cc create mode 100644 deps/v8/test/cctest/unicode-helpers.h delete mode 100644 deps/v8/test/cctest/wasm/test-managed.cc create mode 100644 deps/v8/test/cctest/wasm/test-wasm-interpreter-entry.cc create mode 100644 deps/v8/test/debugger/debug/debug-evaluate-no-side-effect-control.js create mode 100644 deps/v8/test/debugger/debug/debug-liveedit-replace-code.js delete mode 100644 deps/v8/test/debugger/debug/debug-scripts-throw.js delete mode 100644 deps/v8/test/debugger/debug/debug-stepframe-clearing.js delete mode 100644 deps/v8/test/debugger/debug/debug-stepframe.js create mode 100644 deps/v8/test/debugger/regress/regress-5901-1.js create mode 100644 deps/v8/test/debugger/regress/regress-5901-2.js create mode 100644 deps/v8/test/debugger/regress/regress-5950.js create mode 100644 deps/v8/test/fuzzer/README.md create mode 100644 deps/v8/test/fuzzer/wasm-compile.cc create mode 100644 deps/v8/test/fuzzer/wasm_compile/foo create mode 100644 deps/v8/test/inspector/cpu-profiler/coverage-expected.txt create mode 100644 deps/v8/test/inspector/cpu-profiler/coverage.js create mode 100644 deps/v8/test/inspector/debugger/async-stack-created-frame-expected.txt create mode 100644 deps/v8/test/inspector/debugger/async-stack-created-frame.js create mode 100644 deps/v8/test/inspector/debugger/es6-module-script-parsed-expected.txt create mode 100644 deps/v8/test/inspector/debugger/es6-module-script-parsed.js create mode 100644 deps/v8/test/inspector/debugger/es6-module-set-script-source-expected.txt create mode 100644 deps/v8/test/inspector/debugger/es6-module-set-script-source.js create mode 100644 deps/v8/test/inspector/debugger/framework-break-expected.txt create mode 100644 deps/v8/test/inspector/debugger/framework-break.js create mode 100644 deps/v8/test/inspector/debugger/framework-nested-scheduled-break-expected.txt create mode 100644 deps/v8/test/inspector/debugger/framework-nested-scheduled-break.js create mode 100644 deps/v8/test/inspector/debugger/framework-precise-ranges-expected.txt create mode 100644 deps/v8/test/inspector/debugger/framework-precise-ranges.js create mode 100644 deps/v8/test/inspector/debugger/framework-stepping-expected.txt create mode 100644 deps/v8/test/inspector/debugger/framework-stepping.js create mode 100644 deps/v8/test/inspector/debugger/inspector-break-api-expected.txt create mode 100644 deps/v8/test/inspector/debugger/inspector-break-api.js create mode 100644 deps/v8/test/inspector/debugger/pause-on-oom-expected.txt create mode 100644 deps/v8/test/inspector/debugger/pause-on-oom.js create mode 100644 deps/v8/test/inspector/debugger/side-effect-free-debug-evaluate-expected.txt create mode 100644 deps/v8/test/inspector/debugger/side-effect-free-debug-evaluate.js create mode 100644 deps/v8/test/inspector/debugger/step-into-next-script-expected.txt create mode 100644 deps/v8/test/inspector/debugger/step-into-next-script.js create mode 100644 deps/v8/test/inspector/debugger/wasm-get-breakable-locations-expected.txt create mode 100644 deps/v8/test/inspector/debugger/wasm-get-breakable-locations.js create mode 100644 deps/v8/test/inspector/debugger/wasm-stepping-expected.txt create mode 100644 deps/v8/test/inspector/debugger/wasm-stepping.js create mode 100644 deps/v8/test/inspector/heap-profiler/take-heap-snapshot-on-pause-expected.txt create mode 100644 deps/v8/test/inspector/heap-profiler/take-heap-snapshot-on-pause.js create mode 100644 deps/v8/test/inspector/runtime/console-methods-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-methods.js create mode 100644 deps/v8/test/inspector/runtime/console-time-end-format-expected.txt create mode 100644 deps/v8/test/inspector/runtime/console-time-end-format.js create mode 100644 deps/v8/test/inspector/runtime/es6-module-expected.txt create mode 100644 deps/v8/test/inspector/runtime/es6-module.js create mode 100644 deps/v8/test/inspector/runtime/internal-properties-entries-expected.txt create mode 100644 deps/v8/test/inspector/runtime/internal-properties-entries.js create mode 100644 deps/v8/test/inspector/runtime/internal-properties-expected.txt create mode 100644 deps/v8/test/inspector/runtime/internal-properties.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/array_destructuring/array_destructuring.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/array_destructuring/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/array_destructuring/es6.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/array_destructuring/run.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/defaults/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/defaults/es6.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/object_literals/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/object_literals/es6.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/object_literals/object_literals.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/object_literals/run.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/run.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread/babel.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread/es6.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread/run.js delete mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread/spread.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread_literal/babel.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread_literal/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/spread_literal/es6.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/super_spread/babel.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/super_spread/es5.js create mode 100644 deps/v8/test/js-perf-test/SixSpeed/super_spread/es6.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/construct-arraylike.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/construct-buffer.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/constructor.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/copywithin.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/run.js create mode 100644 deps/v8/test/js-perf-test/TypedArrays/sort.js create mode 100644 deps/v8/test/message/let-lexical-declaration-destructuring-brace-in-single-statement.js create mode 100644 deps/v8/test/message/let-lexical-declaration-destructuring-brace-in-single-statement.out create mode 100644 deps/v8/test/message/let-lexical-declaration-destructuring-in-single-statement.js create mode 100644 deps/v8/test/message/let-lexical-declaration-destructuring-in-single-statement.out create mode 100644 deps/v8/test/message/let-lexical-declaration-in-single-statement.js create mode 100644 deps/v8/test/message/let-lexical-declaration-in-single-statement.out create mode 100644 deps/v8/test/mjsunit/arguments-deopt.js create mode 100644 deps/v8/test/mjsunit/asm/regress-674089.js create mode 100644 deps/v8/test/mjsunit/asm/regress-681707.js create mode 100644 deps/v8/test/mjsunit/code-coverage-ad-hoc.js create mode 100644 deps/v8/test/mjsunit/code-coverage-precise.js create mode 100644 deps/v8/test/mjsunit/compiler/escape-analysis-15.js create mode 100644 deps/v8/test/mjsunit/compiler/regress-675704.js create mode 100644 deps/v8/test/mjsunit/const-field-tracking.js create mode 100644 deps/v8/test/mjsunit/es6/call-with-spread-modify-array-iterator.js create mode 100644 deps/v8/test/mjsunit/es6/call-with-spread-modify-next.js create mode 100644 deps/v8/test/mjsunit/es6/call-with-spread.js create mode 100644 deps/v8/test/mjsunit/es6/regress/regress-5929-1.js create mode 100644 deps/v8/test/mjsunit/es6/super-with-spread-modify-array-iterator.js create mode 100644 deps/v8/test/mjsunit/es6/super-with-spread-modify-next.js create mode 100644 deps/v8/test/mjsunit/es6/super-with-spread.js create mode 100644 deps/v8/test/mjsunit/es7/regress/regress-5986.js create mode 100644 deps/v8/test/mjsunit/harmony/async-from-sync-iterator.js create mode 100644 deps/v8/test/mjsunit/harmony/for-await-of.js create mode 100644 deps/v8/test/mjsunit/harmony/function-tostring.js create mode 100644 deps/v8/test/mjsunit/harmony/object-rest-basic.js create mode 100644 deps/v8/test/mjsunit/harmony/promise-prototype-finally.js delete mode 100644 deps/v8/test/mjsunit/harmony/simd.js create mode 100644 deps/v8/test/mjsunit/harmony/symbol-async-iterator.js create mode 100644 deps/v8/test/mjsunit/harmony/template-escapes.js create mode 100644 deps/v8/test/mjsunit/immutable-context-slot-inlining.js delete mode 100644 deps/v8/test/mjsunit/modules-turbo.js create mode 100644 deps/v8/test/mjsunit/modules-turbo1.js create mode 100644 deps/v8/test/mjsunit/modules-turbo2.js create mode 100644 deps/v8/test/mjsunit/proto-elements-add-during-foreach.js delete mode 100644 deps/v8/test/mjsunit/regress/regress-3281.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5636-1.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5636-2.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5638.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5638b.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5692.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5845.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5888.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5902.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5911.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5927.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5938.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5972.js create mode 100644 deps/v8/test/mjsunit/regress/regress-5974.js create mode 100644 deps/v8/test/mjsunit/regress/regress-6063.js create mode 100644 deps/v8/test/mjsunit/regress/regress-6121.js create mode 100644 deps/v8/test/mjsunit/regress/regress-6209.js create mode 100644 deps/v8/test/mjsunit/regress/regress-6210.js create mode 100644 deps/v8/test/mjsunit/regress/regress-681984.js create mode 100644 deps/v8/test/mjsunit/regress/regress-682242.js create mode 100644 deps/v8/test/mjsunit/regress/regress-682349.js create mode 100644 deps/v8/test/mjsunit/regress/regress-683617.js create mode 100644 deps/v8/test/mjsunit/regress/regress-685086.js create mode 100644 deps/v8/test/mjsunit/regress/regress-688690.js create mode 100644 deps/v8/test/mjsunit/regress/regress-689016.js create mode 100644 deps/v8/test/mjsunit/regress/regress-696251.js create mode 100644 deps/v8/test/mjsunit/regress/regress-696651.js create mode 100644 deps/v8/test/mjsunit/regress/regress-704811.js create mode 100644 deps/v8/test/mjsunit/regress/regress-706234-2.js create mode 100644 deps/v8/test/mjsunit/regress/regress-706234.js create mode 100644 deps/v8/test/mjsunit/regress/regress-708247.js delete mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-471702.js delete mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-505007-2.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-681983.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-683581.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-684208.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685050.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685504.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685506.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685634.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685680.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-685965.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-686737.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-687029.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-687990.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-694416.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-694709.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-702058-1.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-702058-2.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-702058-3.js create mode 100644 deps/v8/test/mjsunit/regress/regress-crbug-706642.js create mode 100644 deps/v8/test/mjsunit/regress/regress-v8-5958.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regress-5860.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-6054.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-688876.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-689450.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-694433.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-698587.js create mode 100644 deps/v8/test/mjsunit/regress/wasm/regression-699485.js delete mode 100644 deps/v8/test/mjsunit/shared-function-tier-up-ignition.js create mode 100644 deps/v8/test/mjsunit/strong-rooted-literals.js create mode 100644 deps/v8/test/mjsunit/thin-strings.js create mode 100644 deps/v8/test/mjsunit/wasm/jsapi-harness.js delete mode 100644 deps/v8/test/simdjs/SimdJs.json delete mode 100755 deps/v8/test/simdjs/generate.py delete mode 100644 deps/v8/test/simdjs/harness-adapt.js delete mode 100644 deps/v8/test/simdjs/harness-finish.js delete mode 100644 deps/v8/test/simdjs/simdjs.gyp delete mode 100644 deps/v8/test/simdjs/simdjs.isolate delete mode 100644 deps/v8/test/simdjs/simdjs.status delete mode 100644 deps/v8/test/simdjs/testcfg.py create mode 100644 deps/v8/test/test262/harness-agent.js create mode 100644 deps/v8/test/test262/local-tests/test/intl402/NumberFormat/default-currency-maximum-fraction-digits.js create mode 100644 deps/v8/test/test262/local-tests/test/intl402/NumberFormat/fraction-digit-options-read-once.js create mode 100644 deps/v8/test/unittests/api/exception-unittest.cc create mode 100644 deps/v8/test/unittests/api/isolate-unittest.cc create mode 100644 deps/v8/test/unittests/api/remote-object-unittest.cc create mode 100644 deps/v8/test/unittests/api/v8-object-unittest.cc create mode 100644 deps/v8/test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc create mode 100644 deps/v8/test/unittests/wasm/wasm-opcodes-unittest.cc (limited to 'deps/v8/test') diff --git a/deps/v8/test/BUILD.gn b/deps/v8/test/BUILD.gn index af6ae95745..09d3fb6058 100644 --- a/deps/v8/test/BUILD.gn +++ b/deps/v8/test/BUILD.gn @@ -31,7 +31,6 @@ group("gn_all") { ":bot_default_run", ":default_run", ":mozilla_run", - ":simdjs_run", "test262:test262_run", ] } @@ -185,14 +184,6 @@ v8_isolate_run("preparser") { isolate = "preparser/preparser.isolate" } -v8_isolate_run("simdjs") { - deps = [ - "..:d8_run", - ] - - isolate = "simdjs/simdjs.isolate" -} - v8_isolate_run("unittests") { deps = [ "unittests:unittests", diff --git a/deps/v8/test/cctest/BUILD.gn b/deps/v8/test/cctest/BUILD.gn index 54e733c2dc..1cc0f84167 100644 --- a/deps/v8/test/cctest/BUILD.gn +++ b/deps/v8/test/cctest/BUILD.gn @@ -60,6 +60,7 @@ v8_executable("cctest") { "compiler/test-run-wasm-machops.cc", "compiler/value-helper.h", "expression-type-collector-macros.h", + "ffi/test-ffi.cc", "gay-fixed.cc", "gay-fixed.h", "gay-precision.cc", @@ -91,12 +92,14 @@ v8_executable("cctest") { "libplatform/test-tracing.cc", "libsampler/test-sampler.cc", "parsing/test-parse-decision.cc", + "parsing/test-preparser.cc", "parsing/test-scanner-streams.cc", "parsing/test-scanner.cc", "print-extension.cc", "print-extension.h", "profiler-extension.cc", "profiler-extension.h", + "scope-test-helper.h", "test-access-checks.cc", "test-accessor-assembler.cc", "test-accessors.cc", @@ -148,6 +151,7 @@ v8_executable("cctest") { "test-liveedit.cc", "test-lockers.cc", "test-log.cc", + "test-managed.cc", "test-mementos.cc", "test-modules.cc", "test-object.cc", @@ -160,7 +164,6 @@ v8_executable("cctest") { "test-representation.cc", "test-sampler-api.cc", "test-serialize.cc", - "test-simd.cc", "test-strings.cc", "test-strtod.cc", "test-symbols.cc", @@ -183,7 +186,7 @@ v8_executable("cctest") { "trace-extension.cc", "trace-extension.h", "types-fuzz.h", - "wasm/test-managed.cc", + "unicode-helpers.h", "wasm/test-run-wasm-64.cc", "wasm/test-run-wasm-asmjs.cc", "wasm/test-run-wasm-interpreter.cc", @@ -192,6 +195,7 @@ v8_executable("cctest") { "wasm/test-run-wasm-relocation.cc", "wasm/test-run-wasm.cc", "wasm/test-wasm-breakpoints.cc", + "wasm/test-wasm-interpreter-entry.cc", "wasm/test-wasm-stack.cc", "wasm/test-wasm-trap-position.cc", "wasm/wasm-run-utils.h", @@ -206,6 +210,7 @@ v8_executable("cctest") { "test-disasm-arm.cc", "test-macro-assembler-arm.cc", "test-run-wasm-relocation-arm.cc", + "test-simulator-arm.cc", "wasm/test-run-wasm-simd.cc", ] } else if (v8_current_cpu == "arm64") { @@ -360,7 +365,12 @@ v8_executable("cctest") { # crbug.com/676417: Suppress symbol import warning from linker. if (is_win && is_component_build) { - ldflags = [ "/ignore:4217" ] + ldflags += [ + "/ignore:4217", + "/ignore:4049", + ] + remove_configs = [ "//build/config/win:default_incremental_linking" ] + configs += [ "//build/config/win:no_incremental_linking" ] } if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64" || diff --git a/deps/v8/test/cctest/asmjs/test-asm-typer.cc b/deps/v8/test/cctest/asmjs/test-asm-typer.cc index 892c968d1d..d01260fac2 100644 --- a/deps/v8/test/cctest/asmjs/test-asm-typer.cc +++ b/deps/v8/test/cctest/asmjs/test-asm-typer.cc @@ -45,33 +45,32 @@ class AsmTyperHarnessBuilder { : source_(source), validation_type_(type), handles_(), - zone_(handles_.main_zone()), isolate_(CcTest::i_isolate()), - ast_value_factory_(zone_, isolate_->ast_string_constants(), - isolate_->heap()->HashSeed()), factory_(isolate_->factory()), source_code_( factory_->NewStringFromUtf8(CStrVector(source)).ToHandleChecked()), - script_(factory_->NewScript(source_code_)) { - ParseInfo info(zone_, script_); - info.set_allow_lazy_parsing(false); - info.set_toplevel(true); - info.set_ast_value_factory(&ast_value_factory_); - info.set_ast_value_factory_owned(false); - Parser parser(&info); - - if (!Compiler::ParseAndAnalyze(&info)) { + script_(factory_->NewScript(source_code_)), + info_(script_), + ast_value_factory_(info_.zone(), isolate_->ast_string_constants(), + isolate_->heap()->HashSeed()) { + info_.set_allow_lazy_parsing(false); + info_.set_toplevel(true); + info_.set_ast_value_factory(&ast_value_factory_); + info_.set_ast_value_factory_owned(false); + Parser parser(&info_); + + if (!Compiler::ParseAndAnalyze(&info_)) { std::cerr << "Failed to parse:\n" << source_ << "\n"; CHECK(false); } - outer_scope_ = info.script_scope(); - module_ = info.scope() + outer_scope_ = info_.script_scope(); + module_ = info_.scope() ->declarations() ->AtForTest(0) ->AsFunctionDeclaration() ->fun(); - typer_.reset(new AsmTyper(isolate_, zone_, script_, module_)); + typer_.reset(new AsmTyper(isolate_, zone(), script_, module_)); if (validation_type_ == ValidateStatement || validation_type_ == ValidateExpression) { @@ -104,7 +103,7 @@ class AsmTyperHarnessBuilder { if (var->IsUnallocated()) { var->AllocateTo(VariableLocation::LOCAL, -1); } - auto* var_info = new (zone_) AsmTyper::VariableInfo(type); + auto* var_info = new (zone()) AsmTyper::VariableInfo(type); var_info->set_mutability(AsmTyper::VariableInfo::kLocal); CHECK(typer_->AddLocal(var, var_info)); return this; @@ -116,7 +115,7 @@ class AsmTyperHarnessBuilder { var->AllocateTo(VariableLocation::MODULE, -1); } if (type != nullptr) { - auto* var_info = new (zone_) AsmTyper::VariableInfo(type); + auto* var_info = new (zone()) AsmTyper::VariableInfo(type); var_info->set_mutability(AsmTyper::VariableInfo::kMutableGlobal); CHECK(typer_->AddGlobal(var, var_info)); } @@ -125,12 +124,12 @@ class AsmTyperHarnessBuilder { AsmTyperHarnessBuilder* WithGlobal( VariableName var_name, std::function type_creator) { - return WithGlobal(var_name, type_creator(zone_)); + return WithGlobal(var_name, type_creator(zone())); } AsmTyperHarnessBuilder* WithUndefinedGlobal( VariableName var_name, std::function type_creator) { - auto* type = type_creator(zone_); + auto* type = type_creator(zone()); CHECK(type->AsFunctionType() != nullptr || type->AsFunctionTableType() != nullptr); WithGlobal(var_name, type); @@ -157,7 +156,8 @@ class AsmTyperHarnessBuilder { CHECK(false); case AsmTyper::kFFI: stdlib_map = nullptr; - var_info = new (zone_) AsmTyper::VariableInfo(AsmType::FFIType(zone_)); + var_info = + new (zone()) AsmTyper::VariableInfo(AsmType::FFIType(zone())); var_info->set_mutability(AsmTyper::VariableInfo::kImmutableGlobal); break; case AsmTyper::kInfinity: @@ -176,7 +176,7 @@ class AsmTyperHarnessBuilder { } CHECK(var_info != nullptr); - var_info = var_info->Clone(zone_); + var_info = var_info->Clone(zone()); } CHECK(typer_->AddGlobal(var, var_info)); @@ -193,7 +193,7 @@ class AsmTyperHarnessBuilder { AsmTyperHarnessBuilder* WithStdlib(VariableName var_name) { auto* var = DeclareVariable(var_name); auto* var_info = - AsmTyper::VariableInfo::ForSpecialSymbol(zone_, AsmTyper::kStdlib); + AsmTyper::VariableInfo::ForSpecialSymbol(zone(), AsmTyper::kStdlib); CHECK(typer_->AddGlobal(var, var_info)); return this; } @@ -201,7 +201,7 @@ class AsmTyperHarnessBuilder { AsmTyperHarnessBuilder* WithHeap(VariableName var_name) { auto* var = DeclareVariable(var_name); auto* var_info = - AsmTyper::VariableInfo::ForSpecialSymbol(zone_, AsmTyper::kHeap); + AsmTyper::VariableInfo::ForSpecialSymbol(zone(), AsmTyper::kHeap); CHECK(typer_->AddGlobal(var, var_info)); return this; } @@ -209,7 +209,7 @@ class AsmTyperHarnessBuilder { AsmTyperHarnessBuilder* WithFFI(VariableName var_name) { auto* var = DeclareVariable(var_name); auto* var_info = - AsmTyper::VariableInfo::ForSpecialSymbol(zone_, AsmTyper::kFFI); + AsmTyper::VariableInfo::ForSpecialSymbol(zone(), AsmTyper::kFFI); CHECK(typer_->AddGlobal(var, var_info)); return this; } @@ -305,7 +305,7 @@ class AsmTyperHarnessBuilder { } bool ValidateAllStatements(FunctionDeclaration* fun_decl) { - AsmTyper::FlattenedStatements iter(zone_, fun_decl->fun()->body()); + AsmTyper::FlattenedStatements iter(zone(), fun_decl->fun()->body()); while (auto* curr = iter.Next()) { if (typer_->ValidateStatement(curr) == AsmType::None()) { return false; @@ -315,7 +315,7 @@ class AsmTyperHarnessBuilder { } AsmType* ValidateExpressionStatment(FunctionDeclaration* fun_decl) { - AsmTyper::FlattenedStatements iter(zone_, fun_decl->fun()->body()); + AsmTyper::FlattenedStatements iter(zone(), fun_decl->fun()->body()); AsmType* ret = AsmType::None(); bool last_was_expression_statement = false; while (auto* curr = iter.Next()) { @@ -337,15 +337,17 @@ class AsmTyperHarnessBuilder { return ret; } + Zone* zone() { return info_.zone(); } + std::string source_; ValidationType validation_type_; HandleAndZoneScope handles_; - Zone* zone_; Isolate* isolate_; - AstValueFactory ast_value_factory_; Factory* factory_; Handle source_code_; Handle