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

Issue 1582783004: [es6] add SetFunctionName() behaviour to AssignmentExpression (Closed)

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

Description

[es6] add SetFunctionName() behaviour to AssignmentExpression BUG=v8:3699 LOG=N R=adamk@chromium.org, rossberg@chromium.org, littledan@chromium.org Committed: https://crrev.com/2a20d5183795da933c1df46d95fc60692b123879 Cr-Commit-Position: refs/heads/master@{#33276}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add a bunch more tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -0 lines) Patch
M src/parsing/parser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M src/parsing/parser-base.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/parsing/preparser.h View 1 chunk +2 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/function-name.js View 1 1 chunk +39 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (2 generated)
caitp (gmail)
Adds AssignmentExpression name inference, and some simple tests
4 years, 11 months ago (2016-01-13 22:26:43 UTC) #1
adamk
lgtm with a few more tests https://codereview.chromium.org/1582783004/diff/1/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1582783004/diff/1/test/mjsunit/harmony/function-name.js#newcode128 test/mjsunit/harmony/function-name.js:128: basicFn = function() ...
4 years, 11 months ago (2016-01-13 22:45:09 UTC) #2
caitp (gmail)
https://codereview.chromium.org/1582783004/diff/1/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1582783004/diff/1/test/mjsunit/harmony/function-name.js#newcode128 test/mjsunit/harmony/function-name.js:128: basicFn = function() { return true; }; On 2016/01/13 ...
4 years, 11 months ago (2016-01-13 22:53:46 UTC) #3
adamk
thanks, still lgtm
4 years, 11 months ago (2016-01-13 22:54:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1582783004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1582783004/20001
4 years, 11 months ago (2016-01-13 23:10:29 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-13 23:35:39 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/2a20d5183795da933c1df46d95fc60692b123879 Cr-Commit-Position: refs/heads/master@{#33276}
4 years, 11 months ago (2016-01-13 23:36:15 UTC) #9
rossberg
4 years, 11 months ago (2016-01-14 08:01:53 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/1582783004/diff/20001/test/mjsunit/harmony/fu...
File test/mjsunit/harmony/function-name.js (right):

https://codereview.chromium.org/1582783004/diff/20001/test/mjsunit/harmony/fu...
test/mjsunit/harmony/function-name.js:125: (function testAssignment() {
This could take a couple more tests. In particular, cases where name shall not
be set, e.g.:

dontSet = [function(){}][0];
assertEquals(undefined, dontSet.name);

etc.

Powered by Google App Engine
This is Rietveld 408576698