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:
ssanfilippo 2016-04-06 05:38:16 -07:00 committed by Commit bot
parent 787516891f
commit cf8de862ab

View File

@ -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,