Author: Armin Rigo <[email protected]>
Branch: jit-simplify-backendintf
Changeset: r50393:c87a6c079a01
Date: 2011-12-11 21:10 +0100
http://bitbucket.org/pypy/pypy/changeset/c87a6c079a01/

Log:    Fix test.

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
@@ -2955,8 +2955,7 @@
         operations[6].setfailargs([i1])
 
         self.cpu.compile_loop(inputargs, operations, looptoken)
-        self.cpu.set_future_value_int(0, 2)
-        fail = self.cpu.execute_token(looptoken)
+        fail = self.cpu.execute_token(looptoken, 2)
         assert fail.identifier == 2
         res = self.cpu.get_latest_value_int(0)
         assert res == 10
@@ -2968,8 +2967,7 @@
             ]
         self.cpu.compile_bridge(faildescr, inputargs, operations, looptoken)
         
-        self.cpu.set_future_value_int(0, 2)
-        fail = self.cpu.execute_token(looptoken)
+        fail = self.cpu.execute_token(looptoken, 2)
         assert fail.identifier == 3
         res = self.cpu.get_latest_value_int(0)
         assert res == -10
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to