[pypy-svn] r21271 - in pypy/dist/pypy/jit: . test
arigo at codespeak.net
arigo at codespeak.net
Sun Dec 18 16:14:25 CET 2005
Author: arigo
Date: Sun Dec 18 16:14:23 2005
New Revision: 21271
Modified:
pypy/dist/pypy/jit/llabstractinterp.py
pypy/dist/pypy/jit/test/test_jit_tl.py
Log:
Missing check in match(): arrays of different sizes cannot match at the
moment.
The JIT-TL test now pass! It takes about 55 seconds to compute the factorial
function, but it works...
Modified: pypy/dist/pypy/jit/llabstractinterp.py
==============================================================================
--- pypy/dist/pypy/jit/llabstractinterp.py (original)
+++ pypy/dist/pypy/jit/llabstractinterp.py Sun Dec 18 16:14:23 2005
@@ -265,6 +265,8 @@
memo.other_alias[other] = self
assert self.T == other.T
+ if self.names != other.names:
+ return False
if self.a_length is not None:
if not self.a_length.match(other.a_length, memo):
return False
Modified: pypy/dist/pypy/jit/test/test_jit_tl.py
==============================================================================
--- pypy/dist/pypy/jit/test/test_jit_tl.py (original)
+++ pypy/dist/pypy/jit/test/test_jit_tl.py Sun Dec 18 16:14:23 2005
@@ -8,7 +8,7 @@
from pypy.rpython.llinterp import LLInterpreter
#from pypy.translator.backendopt import inline
-py.test.skip("in-progress")
+#py.test.skip("in-progress")
def setup_module(mod):
t = TranslationContext()
More information about the Pypy-commit
mailing list