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

Issue 2635913002: [ast] Remove internalization before AST rewriting (Closed)

Created:
3 years, 11 months ago by Leszek Swirski
Modified:
3 years, 11 months ago
Reviewers:
rmcilroy, marja
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ast] Remove internalization before AST rewriting This internalization was not necessary, since the rewriting does not use the .result name string. The subsequent internalization is still needed, so to simplify later refactoring, this CL also adds "releasing" of the disallow scopes and uses them here immediately before the second internalize. Notably, this means that the rewriting is now also in the disallow scopes. Driveby: Remove isolate from the rewriter's processor constructor. BUG=v8:5832 Review-Url: https://codereview.chromium.org/2635913002 Cr-Commit-Position: refs/heads/master@{#42403} Committed: https://chromium.googlesource.com/v8/v8/+/bb71555e2e41678897187f3d0c0f42d742865305

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address Ross's comments #

Patch Set 3 : Be less stupid #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -21 lines) Patch
M src/assert-scope.h View 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/assert-scope.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M src/parsing/rewriter.cc View 1 4 chunks +18 lines, -20 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
Leszek Swirski
Hi Marja and Ross, Here's another de-heaping of the AST rewriter, this seems to work ...
3 years, 11 months ago (2017-01-16 13:53:28 UTC) #5
rmcilroy
https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc File src/parsing/rewriter.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc#newcode378 src/parsing/rewriter.cc:378: closure_scope, result, info->ast_value_factory()); It looks like the Processor is ...
3 years, 11 months ago (2017-01-16 14:54:59 UTC) #8
Leszek Swirski
https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc File src/parsing/rewriter.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc#newcode378 src/parsing/rewriter.cc:378: closure_scope, result, info->ast_value_factory()); On 2017/01/16 14:54:59, rmcilroy wrote: > ...
3 years, 11 months ago (2017-01-16 15:21:13 UTC) #9
rmcilroy
https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc File src/parsing/rewriter.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc#newcode378 src/parsing/rewriter.cc:378: closure_scope, result, info->ast_value_factory()); On 2017/01/16 15:21:13, Leszek Swirski wrote: ...
3 years, 11 months ago (2017-01-16 15:35:12 UTC) #10
Leszek Swirski
On 2017/01/16 15:35:12, rmcilroy wrote: > https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc > File src/parsing/rewriter.cc (right): > > https://codereview.chromium.org/2635913002/diff/1/src/parsing/rewriter.cc#newcode378 > ...
3 years, 11 months ago (2017-01-16 16:22:29 UTC) #11
marja
lgtm
3 years, 11 months ago (2017-01-17 10:04:08 UTC) #12
rmcilroy
LGTM with a comment. https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc File src/assert-scope.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc#newcode91 src/assert-scope.cc:91: } Could you just call ...
3 years, 11 months ago (2017-01-17 10:41:32 UTC) #13
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/2635913002/20001
3 years, 11 months ago (2017-01-17 11:57:12 UTC) #16
Leszek Swirski
https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc File src/assert-scope.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc#newcode91 src/assert-scope.cc:91: } On 2017/01/17 10:41:31, rmcilroy wrote: > Could you ...
3 years, 11 months ago (2017-01-17 12:11:49 UTC) #17
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/2635913002/40001
3 years, 11 months ago (2017-01-17 12:17:12 UTC) #21
Leszek Swirski
https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc File src/assert-scope.cc (right): https://codereview.chromium.org/2635913002/diff/1/src/assert-scope.cc#newcode91 src/assert-scope.cc:91: } On 2017/01/17 12:11:49, Leszek Swirski wrote: > On ...
3 years, 11 months ago (2017-01-17 12:17:18 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 12:46:08 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/bb71555e2e41678897187f3d0c0f42d7428...

Powered by Google App Engine
This is Rietveld 408576698