[pypy-commit] pypy ppc-jit-backend: fix test_spilling

hager noreply at buildbot.pypy.org
Thu Jan 5 00:00:36 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r51024:c7d964550b10
Date: 2012-01-04 14:40 -0800
http://bitbucket.org/pypy/pypy/changeset/c7d964550b10/

Log:	fix test_spilling

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -553,8 +553,7 @@
         looptoken = JitCellToken()
         self.cpu.compile_loop(loop.inputargs, loop.operations, looptoken)
         
-        self.cpu.set_future_value_int(0, 42)
-        fail = self.cpu.execute_token(looptoken)
+        fail = self.cpu.execute_token(looptoken, 42)
         result = self.cpu.get_latest_value_int(0)
         assert result == 42
 


More information about the pypy-commit mailing list