|
WIP [esnext] implement async iteration proposal
Submitted for early review. There are still missing pieces, and likely places where it could be done better
(generating smaller code, for example).
TODO(caitp): Finish cleanup and split apart into separate/easier-to-review patches and land separately.
BUG=
Total comments: 13
Total comments: 20
Total comments: 24
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+3585 lines, -193 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/v8.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/macro-assembler-arm64.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
2
3
|
11 chunks |
+53 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-numbering.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-types.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/bailout-reason.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+206 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/builtins/builtins.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+48 lines, -1 line |
0 comments
|
Download
|
|
A |
src/builtins/builtins-async.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/builtins/builtins-async.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/builtins/builtins-async-generator.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+503 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/builtins/builtins-async-iterator.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+542 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins/builtins-function.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins/builtins-promise.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins/builtins-promise.cc
|
View
|
1
|
2 chunks |
+70 lines, -1 line |
0 comments
|
Download
|
|
M |
src/builtins/x64/builtins-x64.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+31 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/code-factory.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/code-factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stub-assembler.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/access-builder.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/access-builder.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+28 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-intrinsic-lowering.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-intrinsic-lowering.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+34 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/types.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
1
2
3
|
6 chunks |
+57 lines, -38 lines |
0 comments
|
Download
|
|
M |
src/factory.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
1
2
3
4
|
3 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/flag-definitions.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/globals.h
|
View
|
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap-symbols.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+98 lines, -24 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter-intrinsics.h
|
View
|
1
2
3
4
|
1 chunk |
+19 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter-intrinsics.cc
|
View
|
1
2
3
4
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/messages.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+85 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+25 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/objects-body-descriptors-inl.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.h
|
View
|
1
2
3
|
4 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.cc
|
View
|
1
2
3
4
5
6
7
|
25 chunks |
+196 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser-base.h
|
View
|
1
2
3
4
|
13 chunks |
+183 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/parsing/pattern-rewriter.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/parsing/preparser.h
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-generator.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-internal.cc
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/v8.gyp
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-NSPL-with-USD.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-arguments-in-formal-parameters.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-await-as-function-binding-identifier.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-binding-identifier-arguments.js
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-binding-identifier-eval.js
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-body-contains-super-call.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-body-contains-super-property.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-eval-in-formal-parameters.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-body-duplicate-const.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-body-duplicate-let.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-await.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-await-expr.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-super-call.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-super-property.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-yield.js
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-formals-contains-yield-expr.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-label-name-await.js
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-label-name-yield.js
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-not-simple-assignment-target.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-yield-as-function-binding-identifier.js
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/early-errors-expression-yield-star-after-newline.js
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-await-as-yield-operand.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-await-promise-as-yield-operand.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-await-thenable-as-yield-operand.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-yield-as-operand.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-yield-as-statement.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-yield-newline.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/expressions/async-generators/expression-yield-star-before-newline.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/statements/for-await-of/Symbol.asyncIterator-async-generator.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/test262/local-tests/test/language/statements/for-await-of/Symbol.iterator-async-generator.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/test262/test262.status
|
View
|
1
2
3
4
5
|
6 chunks |
+110 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/test262/testcfg.py
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
Total messages: 24 (4 generated)
|