Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Issue 987083003: [es6] support rest parameters in arrow functions (Closed)

Created:
5 years, 9 months ago by caitp (gmail)
Modified:
5 years, 3 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] support rest parameters in arrow functions BUG=v8:2159 LOG=N R=marja@chromium.org, arv@chromium.org, dslomov@chromium.org

Patch Set 1 #

Patch Set 2 : Fix preparser bug #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -131 lines) Patch
M src/ast.h View 3 chunks +23 lines, -0 lines 1 comment Download
M src/ast-numbering.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/ast-loop-assignment-analyzer.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/full-codegen.cc View 2 chunks +10 lines, -0 lines 2 comments Download
M src/hydrogen.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/parser.cc View 2 chunks +6 lines, -1 line 1 comment Download
M src/preparser.h View 1 13 chunks +91 lines, -15 lines 11 comments Download
M src/prettyprinter.cc View 3 chunks +20 lines, -0 lines 0 comments Download
M src/scanner.h View 10 chunks +55 lines, -34 lines 0 comments Download
M src/scanner.cc View 30 chunks +114 lines, -76 lines 2 comments Download
M src/typing.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 4 chunks +8 lines, -2 lines 0 comments Download
M test/mjsunit/harmony/rest-params.js View 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
caitp (gmail)
okay... so, this incorporates a change to the parser to support more lookahead tokens, and ...
5 years, 9 months ago (2015-03-09 22:27:34 UTC) #1
marja
What do the efficiency results for this say? (You can try with e.g., parser-shell and ...
5 years, 9 months ago (2015-03-10 09:11:20 UTC) #2
arv (Not doing code reviews)
This look ahead looks scary. I don't think you need it for rest params in ...
5 years, 9 months ago (2015-03-10 13:44:03 UTC) #3
caitp (gmail)
I haven't run benchmarks, but I feel like the peeking approach is probably going to ...
5 years, 9 months ago (2015-03-10 14:47:51 UTC) #4
caitp (gmail)
speaking of running benchmarks, is there any way to run the Octane suite with patched ...
5 years, 9 months ago (2015-03-10 15:40:37 UTC) #5
Jakob Kummerow
On 2015/03/10 15:40:37, caitp wrote: > speaking of running benchmarks, is there any way to ...
5 years, 9 months ago (2015-03-10 19:00:19 UTC) #6
caitp (gmail)
On 2015/03/10 19:00:19, Jakob wrote: > On 2015/03/10 15:40:37, caitp wrote: > > speaking of ...
5 years, 9 months ago (2015-03-10 19:03:30 UTC) #7
caitp (gmail)
5 years, 9 months ago (2015-03-10 19:44:24 UTC) #8
https://docs.google.com/spreadsheets/d/1p2Q6kIVRTeUCa4iJJoV6MjO2s5NvBFI5YmVXT...

is a spreadsheet with 2 single runs (statistically not very significant), but
they look comparable.

Powered by Google App Engine
This is Rietveld 408576698