Author: hager <[email protected]>
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
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to