[pypy-svn] r64956 - in pypy/branch/pyjitpl5/pypy/jit/backend/minimal: . test
antocuni at codespeak.net
antocuni at codespeak.net
Fri May 1 19:50:19 CEST 2009
Author: antocuni
Date: Fri May 1 19:50:17 2009
New Revision: 64956
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py
pypy/branch/pyjitpl5/pypy/jit/backend/minimal/test/test_zrpy_tl.py
Log:
implement set_future_value_obj, and test_tlr passes
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py Fri May 1 19:50:17 2009
@@ -144,6 +144,11 @@
assert len(self._future_values) == index
self._future_values.append(BoxPtr(ptrvalue))
+ def set_future_value_obj(self, index, objvalue):
+ del self._future_values[index:]
+ assert len(self._future_values) == index
+ self._future_values.append(BoxObj(objvalue))
+
def get_latest_value_int(self, index):
op, env = self.latest_fail
return env[op.args[index]].getint()
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/minimal/test/test_zrpy_tl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/minimal/test/test_zrpy_tl.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/minimal/test/test_zrpy_tl.py Fri May 1 19:50:17 2009
@@ -7,7 +7,6 @@
def skip(self):
py.test.skip('in-progress')
- test_tlr = skip
test_tl_base = skip
test_tl_2 = skip
test_tl_call = skip
More information about the Pypy-commit
mailing list