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

Issue 1206573004: Debugger: use list to find shared function info in a script. (Closed)

Created:
5 years, 6 months ago by Yang
Modified:
5 years, 5 months ago
CC:
v8-dev, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Debugger: use list to find shared function info in a script. Now that we keep tabs on shared function infos from a script, we can speed up finding shared function infos for debugging. However, in case we have to compile a function that cannot be lazily compiled without context, we fall back to the slow heap iteration. R=mstarzinger@chromium.org BUG=v8:4132, v8:4052 LOG=N Committed: https://crrev.com/cfe89a71a332ef9ed481c8210bc3ad6d2822034b Cr-Commit-Position: refs/heads/master@{#29296} Committed: https://crrev.com/058deb27132c97c62a99826455abc2bc87fae1b7 Cr-Commit-Position: refs/heads/master@{#29327}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix liveedit #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -123 lines) Patch
M src/compiler.cc View 1 2 4 chunks +10 lines, -9 lines 0 comments Download
M src/debug.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug.cc View 1 1 chunk +113 lines, -114 lines 3 comments Download

Messages

Total messages: 19 (7 generated)
Yang
5 years, 6 months ago (2015-06-25 09:47:06 UTC) #1
Michael Starzinger
LGTM.
5 years, 6 months ago (2015-06-25 10:33:39 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206573004/20001
5 years, 6 months ago (2015-06-25 14:00:32 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 6 months ago (2015-06-25 14:27:41 UTC) #6
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/cfe89a71a332ef9ed481c8210bc3ad6d2822034b Cr-Commit-Position: refs/heads/master@{#29296}
5 years, 6 months ago (2015-06-25 14:27:50 UTC) #7
Michael Achenbach
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1210393002/ by machenbach@chromium.org. ...
5 years, 6 months ago (2015-06-26 08:20:40 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206573004/40001
5 years, 6 months ago (2015-06-26 13:16:47 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-06-26 13:44:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206573004/40001
5 years, 5 months ago (2015-06-26 13:51:42 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-26 13:53:34 UTC) #16
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/058deb27132c97c62a99826455abc2bc87fae1b7 Cr-Commit-Position: refs/heads/master@{#29327}
5 years, 5 months ago (2015-06-26 13:53:43 UTC) #17
brucedawson
5 years, 5 months ago (2015-06-29 17:08:53 UTC) #19
Message was sent while issue was closed.
Three instances of potentially-confusing variable shadowing. Consider fixing?

https://codereview.chromium.org/1206573004/diff/40001/src/debug.cc
File src/debug.cc (right):

https://codereview.chromium.org/1206573004/diff/40001/src/debug.cc#newcode2064
src/debug.cc:2064: SharedFunctionInfo* shared = SharedFunctionInfo::cast(item);
Is it intentional that this shadows the outer-scope variable of the same name?
This is potentially confusing.

https://codereview.chromium.org/1206573004/diff/40001/src/debug.cc#newcode2084
src/debug.cc:2084: JSFunction* closure = NULL;
Is it intentional that this shadows the outer-scope variable of the same name?
This is potentially confusing.

https://codereview.chromium.org/1206573004/diff/40001/src/debug.cc#newcode2085
src/debug.cc:2085: SharedFunctionInfo* shared = NULL;
Is it intentional that this shadows the outer-scope variable of the same name?
This is potentially confusing.

Powered by Google App Engine
This is Rietveld 408576698