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

Issue 2522223002: Fix zone in which temp-zone parsed data is allocated for the function scope on the boundary. (Closed)

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

Description

Fix zone in which temp-zone parsed data is allocated for the function scope on the boundary. BUG=chromium:417697 Committed: https://crrev.com/c4ccbaa3ea09490098989b9b743bace954c7b369 Cr-Commit-Position: refs/heads/master@{#41271}

Patch Set 1 #

Patch Set 2 : Make scope on boundary immediately allocate in the tempzone #

Patch Set 3 : Cleanup #

Total comments: 11

Patch Set 4 : Addressed comments #

Patch Set 5 : Add DCHECK #

Total comments: 1

Patch Set 6 : Drop map_++ #

Total comments: 1

Patch Set 7 : Update comment #

Patch Set 8 : Rebase #

Patch Set 9 : Skip the lazily parsed scope in FetchFreeVariables #

Patch Set 10 : Add comment #

Patch Set 11 : Also force context allocation when collecting non-locals for the debugger #

Patch Set 12 : simplify and add comment #

Patch Set 13 : Also free map_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -31 lines) Patch
M src/ast/scopes.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +58 lines, -17 lines 0 comments Download
M src/base/hashmap.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +16 lines, -1 line 0 comments Download
M src/parsing/parser.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -9 lines 0 comments Download
M src/parsing/parser-base.h View 1 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
Toon Verwaest
ptal
4 years ago (2016-11-23 15:09:09 UTC) #2
marja
Cool! LAGTM (looks almost good to me) The hashmap thing is my only non-trivial comment. ...
4 years ago (2016-11-23 18:52:56 UTC) #3
Toon Verwaest
Will deal with it tomorrow, thanks for the review https://codereview.chromium.org/2522223002/diff/40001/src/base/hashmap.h File src/base/hashmap.h (right): https://codereview.chromium.org/2522223002/diff/40001/src/base/hashmap.h#newcode77 src/base/hashmap.h:77: ...
4 years ago (2016-11-23 19:20:48 UTC) #4
Toon Verwaest
https://codereview.chromium.org/2522223002/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2522223002/diff/40001/src/ast/scopes.cc#newcode1267 src/ast/scopes.cc:1267: // Prepare scope for outer in the outer zone. ...
4 years ago (2016-11-24 09:08:11 UTC) #5
marja
lgtm https://codereview.chromium.org/2522223002/diff/40001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2522223002/diff/40001/src/parsing/parser.cc#newcode2654 src/parsing/parser.cc:2654: // This Scope lives in the main zone. ...
4 years ago (2016-11-24 12:48:16 UTC) #6
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/2522223002/120001
4 years ago (2016-11-24 12:50:16 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/16857) v8_linux_dbg_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years ago (2016-11-24 13:10:30 UTC) #11
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/2522223002/220001
4 years ago (2016-11-24 15:14:04 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/2522223002/240001
4 years ago (2016-11-24 15:27:25 UTC) #25
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years ago (2016-11-24 16:06:49 UTC) #28
commit-bot: I haz the power
4 years ago (2016-11-24 16:07:14 UTC) #30
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/c4ccbaa3ea09490098989b9b743bace954c7b369
Cr-Commit-Position: refs/heads/master@{#41271}

Powered by Google App Engine
This is Rietveld 408576698