|
Get rid of the different kinds of yield in the AST & full-codegen.
Now there is just one kind, corresponding to what was called "initial" before.
Replacement for "suspend": when the parser sees a yield in JS code, it
will turn it into a Yield node but wrap its argument in an iterator result
object. Replacement for "final": the parser simply inserts a return statement
instead.
R=littledan@chromium.org, mstarzinger@chromium.org
BUG=
Committed: https://crrev.com/f24dffea4c459cd33e45019b206019908b2788a7
Cr-Commit-Position: refs/heads/master@{#34515}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+353 lines, -519 lines) |
Patch |
|
M |
src/ast/ast.h
|
View
|
|
2 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/arm/full-codegen-arm.cc
|
View
|
1
|
1 chunk |
+36 lines, -56 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/arm64/full-codegen-arm64.cc
|
View
|
1
|
1 chunk |
+39 lines, -59 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/ia32/full-codegen-ia32.cc
|
View
|
1
|
1 chunk |
+38 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips/full-codegen-mips.cc
|
View
|
1
|
1 chunk |
+34 lines, -55 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips64/full-codegen-mips64.cc
|
View
|
1
|
1 chunk |
+34 lines, -55 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/ppc/full-codegen-ppc.cc
|
View
|
1
|
1 chunk |
+37 lines, -57 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x64/full-codegen-x64.cc
|
View
|
|
1 chunk |
+39 lines, -59 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x87/full-codegen-x87.cc
|
View
|
1
|
1 chunk |
+38 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.cc
|
View
|
1
2
|
6 chunks |
+27 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser-base.h
|
View
|
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/parsing/preparser.h
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-ast-expression-visitor.cc
|
View
|
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
Total messages: 15 (5 generated)
|