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

Issue 2133663002: [turbolizer] Improve code comments in disassembly (Closed)

Created:
4 years, 5 months ago by alegil02
Modified:
4 years, 5 months ago
Reviewers:
danno, alegil02
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

[turbolizer] Improve code comments in disassembly This change analyzes and links the output of --code-comments in the disassembly view within turbolizer with the other views, such that selecting these comments will also select the respective blocks/lines/nodes within the other views. The block start comments (e.g. -- B4 start --) are linked with the blocks in the schedule phase view and vice versa. The source position comments (e.g. -- primes.js:3:10 --) select the respective spans, lines, and nodes in the JavaScript code view, the schedule phase view, and the other compilation phase views respectively, and vice versa. It also modifies the display of the line and column numbers in the source position comments to be offset from 1 instead of 0 and ignore the initial source position of the first line of code (from removal of the function name in the compiler). Also fixed the bug where previous selections weren't being cleared properly across multiple views, adding appropriate clear calls when using the selection broker. Committed: https://crrev.com/7f162dbcb64ac75dce44868210bcb44a8e6a17c7 Cr-Commit-Position: refs/heads/master@{#37627}

Patch Set 1 #

Total comments: 1

Patch Set 2 : [turbolizer] Improve code comments in disassembly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -4 lines) Patch
M tools/turbolizer/code-view.js View 1 chunk +1 line, -0 lines 0 comments Download
M tools/turbolizer/disassembly-view.js View 1 4 chunks +74 lines, -1 line 0 comments Download
M tools/turbolizer/text-view.js View 1 4 chunks +10 lines, -3 lines 0 comments Download
M tools/turbolizer/turbo-visualizer.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
alegil02
4 years, 5 months ago (2016-07-08 10:02:51 UTC) #4
danno
thanks for the patch! did you mean to add the console.log? https://codereview.chromium.org/2133663002/diff/1/tools/turbolizer/text-view.js File tools/turbolizer/text-view.js (right): ...
4 years, 5 months ago (2016-07-08 11:28:07 UTC) #5
alegil02
On 2016/07/08 11:28:07, danno wrote: > thanks for the patch! > > did you mean ...
4 years, 5 months ago (2016-07-08 12:43:22 UTC) #7
danno
lgtm!
4 years, 5 months ago (2016-07-08 13:05:25 UTC) #9
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/2133663002/20001
4 years, 5 months ago (2016-07-08 13:06:12 UTC) #11
commit-bot: I haz the power
The author Alexander.Gilday2@arm.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
4 years, 5 months ago (2016-07-08 13:06:14 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/2133663002/20001
4 years, 5 months ago (2016-07-11 08:01:49 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-11 08:25:50 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 08:25:52 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 08:28:34 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7f162dbcb64ac75dce44868210bcb44a8e6a17c7
Cr-Commit-Position: refs/heads/master@{#37627}

Powered by Google App Engine
This is Rietveld 408576698