Commits

Carl Friedrich Bolz committed c7a48d3

better method name

  • Participants
  • Parent commits e16936f

Comments (0)

Files changed (1)

rpython/jit/metainterp/optimizeopt/virtualstate.py

             result = renum[self.position] == other.position
         else:
             renum[self.position] = other.position
-            result = self.generalization_of_dont_handle_bad(other, renum, bad)
+            result = self.generalization_of_renumbering_done(other, renum, bad)
         if not result:
             bad[self] = bad[other] = None
         return result
     def __init__(self, fielddescrs):
         self.fielddescrs = fielddescrs
 
-    def generalization_of_dont_handle_bad(self, other, renum, bad):
+    def generalization_of_renumbering_done(self, other, renum, bad):
         if not self._generalization_of(other):
             return False
 
         return (isinstance(other, VArrayStateInfo) and
             self.arraydescr is other.arraydescr)
 
-    def generalization_of_dont_handle_bad(self, other, renum, bad):
+    def generalization_of_renumbering_done(self, other, renum, bad):
         if not self._generalization_of(other):
             return False
         if len(self.fieldstate) != len(other.fieldstate):
         self.arraydescr = arraydescr
         self.fielddescrs = fielddescrs
 
-    def generalization_of_dont_handle_bad(self, other, renum, bad):
+    def generalization_of_renumbering_done(self, other, renum, bad):
         if not self._generalization_of(other):
             return False
 
         self.position_in_notvirtuals = -1
         self.lenbound = value.lenbound
 
-    def generalization_of_dont_handle_bad(self, other, renum, bad):
+    def generalization_of_renumbering_done(self, other, renum, bad):
         # XXX This will always retrace instead of forcing anything which
         # might be what we want sometimes?
         if not isinstance(other, NotVirtualStateInfo):