Commits

Maciej Fijalkowski committed d5e9206

Display purity of getfield

  • Participants
  • Parent commits 259f6dd

Comments (0)

Files changed (1)

File _jitviewer/parser.py

             
         obj = self.getarg(0)
         return '%s = ((%s.%s)%s).%s' % (self.getres(), namespace, classname, obj, field)
-    repr_getfield_gc_pure = repr_getfield_gc
+
+    def repr_getfield_gc_pure(self):
+        return self.repr_getfield_gc() + " [pure]"
 
     def repr_setfield_raw(self):
         name, field = self.descr.split(' ')[1].rsplit('.', 1)