diff options
author | Adam Nemet <anemet@apple.com> | 2016-11-07 23:12:13 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-11-07 23:12:13 +0000 |
commit | 3fbb1a90c3b46d3796c58001ff05781d8506a2ad (patch) | |
tree | 1d505788497945059bf964a1a3947229de607073 /utils | |
parent | c312996e7a99eae912f6c1c67b6d1bef5a84c42c (diff) | |
download | llvm-3fbb1a90c3b46d3796c58001ff05781d8506a2ad.tar.gz |
[opt-viewer] Avoid division by zero
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/opt-viewer/opt-viewer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/opt-viewer/opt-viewer.py b/utils/opt-viewer/opt-viewer.py index 9d699f5d0327..eceb083ee269 100755 --- a/utils/opt-viewer/opt-viewer.py +++ b/utils/opt-viewer/opt-viewer.py @@ -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): |