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

Unified Diff: tools/objdump-v8

Issue 2757263002: [disasm] Make jump target printing perf friendly (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « src/disassembler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/objdump-v8
diff --git a/tools/objdump-v8 b/tools/objdump-v8
index 25ec4745e64a6f58dc50841a6ba1b992bcd52c24..dc7310a5f8de74944d01b605ce6e1ac7fcb0cc07 100755
--- a/tools/objdump-v8
+++ b/tools/objdump-v8
@@ -73,8 +73,11 @@ def main():
sys.stdout.write(format_line(line))
elif printing:
break
- elif printing and not is_comment(line):
- break
+ elif printing:
+ if not is_comment(line):
+ break
+ else:
+ sys.stdout.write(line)
else:
sys.argv[0] = "objdump"
sys.exit(subprocess.call(sys.argv))
« no previous file with comments | « src/disassembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698