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

Issue 2578103002: [parsing] Be less pessimistic about maybe_assigned of parameters. (Closed)

Created:
4 years ago by neis
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parsing] Be less pessimistic about maybe_assigned of parameters. Instead of unconditionally setting maybe_assigned for parameters, treat parameters like other variables except that at the end we set maybe_assigned if the function has a sloppy arguments object. R=adamk@chromium.org, mstarzinger@chromium.org BUG=v8:5636 Review-Url: https://codereview.chromium.org/2578103002 Cr-Commit-Position: refs/heads/master@{#41731} Committed: https://chromium.googlesource.com/v8/v8/+/7ca72292834361e2ebcff5da44e7657d6f53d388

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove unused variable and add more tests. #

Patch Set 3 : Oooops #

Total comments: 3

Patch Set 4 : Add more tests and change setup. #

Patch Set 5 : Simplify. #

Patch Set 6 : Remove unused var. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -9 lines) Patch
M src/ast/scopes.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/parser.h View 1 1 chunk +2 lines, -9 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 1 chunk +89 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (22 generated)
neis
4 years ago (2016-12-15 11:54:39 UTC) #1
adamk
lgtm with the additional tests https://codereview.chromium.org/2578103002/diff/1/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2578103002/diff/1/test/cctest/test-parsing.cc#newcode3451 test/cctest/test-parsing.cc:3451: {false, "(function f(arg=1) {g(arg)})"}, ...
4 years ago (2016-12-15 11:58:36 UTC) #4
marja
lgtm % https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc#newcode3484 test/cctest/test-parsing.cc:3484: {true, "(function f(arg) {g(arg); eval('arguments[0] = 42'); ...
4 years ago (2016-12-15 13:09:54 UTC) #14
marja
https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc#newcode3445 test/cctest/test-parsing.cc:3445: {false, "(function f(arg) {})"}, Routing offline discussion here: The ...
4 years ago (2016-12-15 13:35:29 UTC) #17
Michael Starzinger
LGTM from my end.
4 years ago (2016-12-15 13:59:53 UTC) #18
gsathya
https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2578103002/diff/40001/test/cctest/test-parsing.cc#newcode3449 test/cctest/test-parsing.cc:3449: {false, "(function f(arg) {function h() { g(arg) }; return ...
4 years ago (2016-12-15 14:05:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578103002/80001
4 years ago (2016-12-15 15:17:00 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/9748)
4 years ago (2016-12-15 15:22:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578103002/100001
4 years ago (2016-12-15 15:36:41 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-15 16:04:52 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/7ca72292834361e2ebcff5da44e7657d6f5...

Powered by Google App Engine
This is Rietveld 408576698