[opt-viewer] Avoid division by zero

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adam Nemet 2016-11-07 23:12:13 +00:00
parent c312996e7a
commit 3fbb1a90c3

View File

@ -24,7 +24,7 @@ def demangle(name):
return p.stdout.readline().rstrip()
class Remark(yaml.YAMLObject):
max_hotness = 0
max_hotness = 1
@property
def File(self):