Commit cf8de862 authored by ssanfilippo's avatar ssanfilippo Committed by Commit bot

Fix annotated disassembly in ll_prof.py

An overzealous removal in
https://crrev.com/9e39a9fff1c2966a3f650a4c31dbbe533886d614
caused the disassembly not to be annotated with ticks, even when
requested.

LOG=N

Review URL: https://codereview.chromium.org/1861323002

Cr-Commit-Position: refs/heads/master@{#35298}
parent 78751689
......@@ -199,8 +199,12 @@ class Code(object):
self.origin)
def _GetDisasmLines(self, arch, options):
inplace = True
filename = self.origin
if self.origin == JS_ORIGIN:
inplace = False
filename = options.log + ".ll"
else:
inplace = True
filename = self.origin
return disasm.GetDisasmLines(filename,
self.origin_offset,
self.end_address - self.start_address,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment