[pypy-svn] r65768 - pypy/branch/pyjitpl5/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Sun Jun 14 02:47:38 CEST 2009
Author: fijal
Date: Sun Jun 14 02:47:35 2009
New Revision: 65768
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
Kill comparison. CodeWriter is doing additional caching and was overusing
calldescrs.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py Sun Jun 14 02:47:35 2009
@@ -44,15 +44,6 @@
return False
return self.sort_key() == other.sort_key()
- def __hash__(self):
- return hash(self._v())
-
- def __eq__(self, other):
- return self.__class__ is other.__class__ and self._v() == other._v()
-
- def __ne__(self, other):
- return not self == other
-
def __repr__(self):
return '<ConstDescr3 %s, %s, %s>' % (self.v0, self.v1, self.flag2)
More information about the Pypy-commit
mailing list