DescriptionMove generator-close on exception from the generator function to the GeneratorResume builtin.
The change also moves creation of the iterator result from the parser to the bytecode generator.
Unfortunately, async generators will stay on the old scheme (try-finally around generator body) because I am not exactly sure how they work.
Review-Url: https://codereview.chromium.org/2917263002
Cr-Commit-Position: refs/heads/master@{#45713}
Committed: https://chromium.googlesource.com/v8/v8/+/7fa77063cf98cddf5ee721df7279b0f0c8ebf0d3
Patch Set 1 #Patch Set 2 : Improve comments #Patch Set 3 : Add the builtins to the uncaught exception prediction list #
Total comments: 3
Patch Set 4 : Move creation of IteratorResult for final return to the builtin." #Patch Set 5 : Scope for the old unused context register #
Total comments: 4
Patch Set 6 : Address comments & rebase #
Total comments: 2
Patch Set 7 : Rebase #Patch Set 8 : Add register allocation scope #
Messages
Total messages: 37 (26 generated)
|