[pypy-svn] r55310 - pypy/branch/oo-jit/pypy/translator/cli

antocuni at codespeak.net antocuni at codespeak.net
Tue May 27 19:19:35 CEST 2008


Author: antocuni
Date: Tue May 27 19:19:34 2008
New Revision: 55310

Modified:
   pypy/branch/oo-jit/pypy/translator/cli/class_.py
Log:
it seems that this check is no longer needed these days, and moreover
it breaks the translation when using --jit.  Not sure why I added it,
need more investigation.



Modified: pypy/branch/oo-jit/pypy/translator/cli/class_.py
==============================================================================
--- pypy/branch/oo-jit/pypy/translator/cli/class_.py	(original)
+++ pypy/branch/oo-jit/pypy/translator/cli/class_.py	Tue May 27 19:19:34 2008
@@ -98,8 +98,8 @@
                 # there would be a type mismatch.
                 args =  m_meth.graph.getargs()
                 SELF = args[0].concretetype
-                if not ootype.isSubclass(self.INSTANCE, SELF):
-                    continue
+##                if not ootype.isSubclass(self.INSTANCE, SELF):
+##                    continue
                 f = self.db.genoo.Function(self.db, m_meth.graph, m_name, is_method = True)
                 f.render(ilasm)
             else:



More information about the Pypy-commit mailing list