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}
This commit is contained in:
parent
787516891f
commit
cf8de862ab
@ -199,6 +199,10 @@ class Code(object):
|
||||
self.origin)
|
||||
|
||||
def _GetDisasmLines(self, arch, options):
|
||||
if self.origin == JS_ORIGIN:
|
||||
inplace = False
|
||||
filename = options.log + ".ll"
|
||||
else:
|
||||
inplace = True
|
||||
filename = self.origin
|
||||
return disasm.GetDisasmLines(filename,
|
||||
|
Loading…
Reference in New Issue
Block a user