[pypy-svn] r65112 - in pypy/branch/pyjitpl5/pypy/jit: backend/llgraph metainterp/test
antocuni at codespeak.net
antocuni at codespeak.net
Wed May 6 18:05:17 CEST 2009
Author: antocuni
Date: Wed May 6 18:05:16 2009
New Revision: 65112
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py
pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_virtualizable.py
Log:
cool, last test passes
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py Wed May 6 18:05:16 2009
@@ -655,6 +655,10 @@
def sort_key(self):
return self._keys.getkey((self.TYPE, self.fieldname))
+ def equals(self, other):
+ return self.TYPE == other.TYPE and \
+ self.fieldname == other.fieldname
+
# ____________________________________________________________
Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_virtualizable.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_virtualizable.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_virtualizable.py Wed May 6 18:05:16 2009
@@ -611,12 +611,7 @@
class TestOOtype(ExplicitVirtualizableTests,
ImplicitVirtualizableTests,
OOJitMixin):
-
- def skip(self):
- py.test.skip('in-progress')
-
- test_pass_always_virtual_to_bridge = skip
-
+ pass
class TestLLtype(ExplicitVirtualizableTests,
ImplicitVirtualizableTests,
More information about the Pypy-commit
mailing list