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

Issue 2242783002: Don't use AstValueFactory in scope analysis. (Closed)

Created:
4 years, 4 months ago by marja
Modified:
4 years, 4 months ago
Reviewers:
Toon Verwaest
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

Scopes: Clean up temporaries handling. There was a weird check in AllocateNonParameterLocal which looked like ".result" was treated differently from other temporaries. This couldn't be generalized to other temporaries, since some temporaries were both in temps_ and params_ (and some, like ".result" would be only in params_). Side product: Don't use AstValueFactory in scope analysis. It's unnecessary (was only used for some DCHECKs which can be replaced with more general checks). This change also ensures we don't create new values during scope analysis. BUG=v8:5209 Committed: https://crrev.com/696ae1eead43d4beb37cde56d479623fb0eb9102 Cr-Commit-Position: refs/heads/master@{#38655}

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : . #

Patch Set 4 : rebased #

Patch Set 5 : removing leftover change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -29 lines) Patch
M src/ast/scopes.h View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 7 chunks +14 lines, -21 lines 0 comments Download

Messages

Total messages: 22 (18 generated)
Toon Verwaest
nice, lgtm
4 years, 4 months ago (2016-08-16 10:39:31 UTC) #15
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/2242783002/80001
4 years, 4 months ago (2016-08-16 11:36:44 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-16 12:02:53 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 12:03:13 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/696ae1eead43d4beb37cde56d479623fb0eb9102
Cr-Commit-Position: refs/heads/master@{#38655}

Powered by Google App Engine
This is Rietveld 408576698