[pypy-commit] pypy default: better method name
cfbolz
noreply at buildbot.pypy.org
Fri Apr 4 18:44:08 CEST 2014
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch:
Changeset: r70442:c7a48d308402
Date: 2014-04-04 18:43 +0200
http://bitbucket.org/pypy/pypy/changeset/c7a48d308402/
Log: better method name
diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/optimizeopt/virtualstate.py
--- a/rpython/jit/metainterp/optimizeopt/virtualstate.py
+++ b/rpython/jit/metainterp/optimizeopt/virtualstate.py
@@ -23,7 +23,7 @@
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
@@ -75,7 +75,7 @@
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
@@ -151,7 +151,7 @@
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):
@@ -188,7 +188,7 @@
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
@@ -256,7 +256,7 @@
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):
More information about the pypy-commit
mailing list