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

Unified Diff: src/disassembler.cc

Issue 1157663007: Greedy allocator: perf work (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: signed/unsigned implicit cast fix Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/disassembler.cc
diff --git a/src/disassembler.cc b/src/disassembler.cc
index fbdda546465f190fcd3924ddcb4002739cdacc67..1c2e138b8cb91f7c5491b878d5a2fc5e4f223c8a 100644
--- a/src/disassembler.cc
+++ b/src/disassembler.cc
@@ -146,7 +146,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os,
}
// Instruction address and instruction offset.
- out.AddFormatted("%p %4d ", prev_pc, prev_pc - begin);
+ out.AddFormatted("%p %4X ", prev_pc, prev_pc - begin);
Jarin 2015/06/03 15:06:16 Why did you change this? I am worried that tools
Mircea Trofin 2015/06/04 03:38:39 "perf" (the tool) outputs offsets as hex, so this
Jarin 2015/06/08 13:32:49 Maybe use this only locally, or change the formatt
// Instruction.
out.AddFormatted("%s", decode_buffer.start());

Powered by Google App Engine
This is Rietveld 408576698