Description[ESnext] Implement Object Rest
This rewrites the rest property into a runtime call which sets up the
correct properties in the newly created object.
- Changes flag to --harmony-object-rest-spread
- Changes pattern rewriter to desugar rest property
- Adds new runtime function CopyDataPropertiesWithExcludedProperties
BUG=v8:5549
Review-Url: https://codereview.chromium.org/2620943002
Cr-Commit-Position: refs/heads/master@{#42430}
Committed: https://chromium.googlesource.com/v8/v8/+/54b5c4b853e32d3a976072ead8ea880e55f45d9f
Patch Set 1 #Patch Set 2 : work work work #Patch Set 3 : Remove comment #
Total comments: 16
Patch Set 4 : more tests + address comments #Patch Set 5 : add todo and test #
Total comments: 10
Patch Set 6 : fix test #Patch Set 7 : rebase #Patch Set 8 : use %ToName #Patch Set 9 : fixes #
Total comments: 16
Patch Set 10 : more fixes #
Total comments: 2
Patch Set 11 : add test #Patch Set 12 : fix test + rebase #
Total comments: 8
Patch Set 13 : fix nits #
Messages
Total messages: 63 (44 generated)
|