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

Issue 2579303002: Preparsing inner funcs: declare arguments for preparsed scopes (Closed)

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

Description

Preparsing inner funcs: declare arguments for preparsed scopes This makes maybe_assigned correct (instead of being overly pessimistic in the following case): function f() { function g() { arguments; }; } (Tests upcoming as part of https://codereview.chromium.org/2580833005 ) BUG=v8:5501, v8:5678 R=verwaest@chromium.org, neis@chromium.org Review-Url: https://codereview.chromium.org/2579303002 Cr-Commit-Position: refs/heads/master@{#41787} Committed: https://chromium.googlesource.com/v8/v8/+/b695c38842a05808106d3246f0c034bb0d2ebbcc

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : added this #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M src/parsing/preparser.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
marja
ptal
4 years ago (2016-12-16 13:23:07 UTC) #6
Toon Verwaest
lgtm. We should do the same for all of the DeclareDefaultFunctionVariables. Mh. Is "this" forced ...
4 years ago (2016-12-16 14:23:42 UTC) #9
marja
added "this" Not sure if preparser needs new_target; afaics not atm.
4 years ago (2016-12-19 09:21:59 UTC) #10
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/2579303002/40001
4 years ago (2016-12-19 09:22:08 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-19 09:47:11 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/b695c38842a05808106d3246f0c034bb0d2...

Powered by Google App Engine
This is Rietveld 408576698