]> granicus.if.org Git - llvm/commitdiff
[opt-viewer] Remove message from the key
authorAdam Nemet <anemet@apple.com>
Fri, 27 Jan 2017 06:39:08 +0000 (06:39 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 27 Jan 2017 06:39:08 +0000 (06:39 +0000)
This is causing problems because the rendering of the text will depend on
varying global state to show relative hotness or a link in the inlining
context.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293265 91177308-0d34-0410-b5e6-96231b3b80d8

utils/opt-viewer/opt-viewer.py

index da7158a3ca3d94e423bf258b1024417ad89bf9ed..7cacc24bc4a7b9bd8b2394053b30f030db25469f 100755 (executable)
@@ -123,7 +123,7 @@ class Remark(yaml.YAMLObject):
 
     @property
     def key(self):
-        return (self.__class__, self.Pass, self.Name, self.File, self.Line, self.Column, self.Function, self.message)
+        return (self.__class__, self.Pass, self.Name, self.File, self.Line, self.Column, self.Function)
 
 
 class Analysis(Remark):