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

Issue 981203003: Stack allocate lexical locals + hoist stack slots (Closed)

Created:
5 years, 9 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 8 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Stack allocate lexical locals + hoist stack slots Committed: https://crrev.com/aec46ca54ad4e2849ba1c02bf033f03b7c216d74 Cr-Commit-Position: refs/heads/master@{#28008}

Patch Set 1 #

Patch Set 2 : Progress #

Patch Set 3 : Progress: only TF and debugger tests fail #

Patch Set 4 : Debugger (non) support #

Patch Set 5 : Debugger progress #

Patch Set 6 : More progress #

Patch Set 7 : Debugger tests pass; code ugly #

Patch Set 8 : All existing tests pass.. Uff.. #

Patch Set 9 : Exception fixed #

Patch Set 10 : fix locals shadowing #

Patch Set 11 : Some "beautification" #

Patch Set 12 : Debugger done #

Patch Set 13 : cleanup #

Total comments: 1

Patch Set 14 : More cleanup #

Total comments: 23

Patch Set 15 : More testswq #

Patch Set 16 : Clean-up #

Total comments: 10

Patch Set 17 : CR feedback #

Total comments: 2

Patch Set 18 : Feedback + rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -215 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +18 lines, -8 lines 0 comments Download
M src/full-codegen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +5 lines, -3 lines 0 comments Download
M src/full-codegen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +15 lines, -10 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +25 lines, -21 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +17 lines, -9 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -2 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 14 chunks +277 lines, -128 lines 0 comments Download
M src/scopeinfo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +27 lines, -11 lines 0 comments Download
M src/scopes.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +13 lines, -5 lines 0 comments Download
M test/mjsunit/bugs/harmony/debug-blockscopes.js View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/debug-scopes.js View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A test/mjsunit/es6/block-scoping-top-level.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +34 lines, -0 lines 0 comments Download
M test/mjsunit/es6/debug-blockscopes.js View 1 2 3 4 5 6 7 8 9 1 chunk +41 lines, -1 line 0 comments Download
M test/mjsunit/es6/debug-function-scopes.js View 1 2 3 4 1 chunk +6 lines, -9 lines 0 comments Download
M test/mjsunit/es6/regress/regress-468661.js View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981203003/140001
5 years, 8 months ago (2015-04-16 12:25:56 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/2062)
5 years, 8 months ago (2015-04-16 12:46:51 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981203003/160001
5 years, 8 months ago (2015-04-16 16:44:52 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981203003/200001
5 years, 8 months ago (2015-04-17 10:41:36 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/4974)
5 years, 8 months ago (2015-04-17 11:02:26 UTC) #10
commit-bot: I haz the power
Dry run: COMMIT=false is deprecated please use the dry run button instead.
5 years, 8 months ago (2015-04-17 14:14:44 UTC) #13
Dmitry Lomov (no reviews)
This is ready for a first round of comments - some cleaunup still needs to ...
5 years, 8 months ago (2015-04-17 14:22:17 UTC) #15
rossberg
Dude, heroic debugger hacking, thanks https://codereview.chromium.org/981203003/diff/260001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/981203003/diff/260001/src/parser.cc#newcode522 src/parser.cc:522: scope->RecordEvalCall(); Hm, why is ...
5 years, 8 months ago (2015-04-17 15:16:27 UTC) #16
Dmitry Lomov (no reviews)
Some replies https://codereview.chromium.org/981203003/diff/260001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/981203003/diff/260001/src/parser.cc#newcode522 src/parser.cc:522: scope->RecordEvalCall(); On 2015/04/17 15:16:27, rossberg wrote: > ...
5 years, 8 months ago (2015-04-17 15:21:55 UTC) #17
rossberg
https://codereview.chromium.org/981203003/diff/260001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/981203003/diff/260001/src/parser.cc#newcode522 src/parser.cc:522: scope->RecordEvalCall(); On 2015/04/17 15:21:54, Dmitry Lomov (chromium) wrote: > ...
5 years, 8 months ago (2015-04-17 15:26:07 UTC) #18
Dmitry Lomov (no reviews)
Ready for next round. https://codereview.chromium.org/981203003/diff/260001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/981203003/diff/260001/src/parser.cc#newcode4060 src/parser.cc:4060: s != nullptr && s->is_block_scope(); ...
5 years, 8 months ago (2015-04-20 11:53:21 UTC) #19
commit-bot: I haz the power
Dry run: COMMIT=false is deprecated please use the dry run button instead.
5 years, 8 months ago (2015-04-20 11:53:47 UTC) #22
commit-bot: I haz the power
Dry run: COMMIT=false is deprecated please use the dry run button instead.
5 years, 8 months ago (2015-04-20 12:07:11 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981203003/290001
5 years, 8 months ago (2015-04-20 12:08:22 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-20 13:32:55 UTC) #29
rossberg
LGTM module comments, but I can't claim that I fully understand the debugger changes. Adding ...
5 years, 8 months ago (2015-04-21 14:41:02 UTC) #31
Dmitry Lomov (no reviews)
Comments addressed. Yang, could you take a look at changes in runtime-debug.cc? https://codereview.chromium.org/981203003/diff/290001/src/objects.h File src/objects.h ...
5 years, 8 months ago (2015-04-21 16:59:24 UTC) #32
Yang
The debugger part LGTM. Nice clean up! https://codereview.chromium.org/981203003/diff/310001/src/runtime/runtime-debug.cc File src/runtime/runtime-debug.cc (right): https://codereview.chromium.org/981203003/diff/310001/src/runtime/runtime-debug.cc#newcode698 src/runtime/runtime-debug.cc:698: DCHECK(frame_inspector != ...
5 years, 8 months ago (2015-04-22 11:32:23 UTC) #33
Dmitry Lomov (no reviews)
Comments addressed, landing https://codereview.chromium.org/981203003/diff/290001/src/scopes.cc File src/scopes.cc (right): https://codereview.chromium.org/981203003/diff/290001/src/scopes.cc#newcode1313 src/scopes.cc:1313: auto decl_scope = DeclarationScope(); On 2015/04/21 ...
5 years, 8 months ago (2015-04-22 12:24:31 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981203003/330001
5 years, 8 months ago (2015-04-22 12:26:29 UTC) #37
commit-bot: I haz the power
Committed patchset #18 (id:330001)
5 years, 8 months ago (2015-04-22 13:22:42 UTC) #38
commit-bot: I haz the power
5 years, 8 months ago (2015-04-22 13:22:54 UTC) #39
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/aec46ca54ad4e2849ba1c02bf033f03b7c216d74
Cr-Commit-Position: refs/heads/master@{#28008}

Powered by Google App Engine
This is Rietveld 408576698