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

Issue 1177123002: Decompiler improvements. (Closed)

Created:
5 years, 6 months ago by Mircea Trofin
Modified:
5 years, 6 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

Decompiler improvements. The main motivation is simplifying profiling activities: 1) Use hex instead of decimal for offsets, just like perf does. This affects --print-opt-code 2) When printing block information, indicate loop information: if block is header, where the end is; if block is in a loop, where the loop starts. This affects --code-comments. Using --print-opt-code --code-comments, and cross-referencing with data obtained from perf, one may now find the block a hotspot belongs to without needing to do hex2dec/dec2hex conversions. Once found, loop info is available locally, on the block. BUG= Committed: https://crrev.com/32f4bd659d38eb5485eedb1d0dd236ff1bdc01d5 Cr-Commit-Position: refs/heads/master@{#28964}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M src/compiler/code-generator.cc View 1 1 chunk +23 lines, -6 lines 0 comments Download
M src/disassembler.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Mircea Trofin
Pretty printing improvements pulled out from the register allocation work. I believe this also updates ...
5 years, 6 months ago (2015-06-11 03:29:38 UTC) #2
Jarin
lgtm with a nit. https://codereview.chromium.org/1177123002/diff/1/src/compiler/code-generator.cc File src/compiler/code-generator.cc (right): https://codereview.chromium.org/1177123002/diff/1/src/compiler/code-generator.cc#newcode101 src/compiler/code-generator.cc:101: auto buffer_start = buffer.start(); auto ...
5 years, 6 months ago (2015-06-11 04:22:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177123002/20001
5 years, 6 months ago (2015-06-11 19:00:45 UTC) #6
Mircea Trofin
FYI - incorporated feedback, waiting for CQ. https://codereview.chromium.org/1177123002/diff/1/src/compiler/code-generator.cc File src/compiler/code-generator.cc (right): https://codereview.chromium.org/1177123002/diff/1/src/compiler/code-generator.cc#newcode101 src/compiler/code-generator.cc:101: auto buffer_start ...
5 years, 6 months ago (2015-06-11 19:00:56 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 6 months ago (2015-06-11 20:10:30 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/32f4bd659d38eb5485eedb1d0dd236ff1bdc01d5 Cr-Commit-Position: refs/heads/master@{#28964}
5 years, 6 months ago (2015-06-11 20:10:50 UTC) #9
Michael Starzinger
5 years, 6 months ago (2015-06-16 10:36:42 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1188093002/ by mstarzinger@chromium.org.

The reason for reverting is: Code printout has become unreadable. Offsets are
printed in decimal numbers everywhere else. This is inconsistent with the rest
of the code-base. Some examples are tables for deoptimization data, safepoints
and exception handlers. I would be fine with this change if _all_ tracing would
be adapted. But there are _many_ places to touch..

Powered by Google App Engine
This is Rietveld 408576698