[pypy-commit] pypy default: a bit blindly fix windows test

fijal noreply at buildbot.pypy.org
Sun Sep 13 13:31:48 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r79603:0446b26c5c6b
Date: 2015-09-13 13:32 +0200
http://bitbucket.org/pypy/pypy/changeset/0446b26c5c6b/

Log:	a bit blindly fix windows test

diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -2601,16 +2601,16 @@
         # call: 8 bytes too much.  If we repeat the call often enough, crash.
         ops = []
         for i in range(50):
-            i3 = InputArgInt()
             ops += [
-                ResOperation(rop.CALL_RELEASE_GIL,
-                             [ConstInt(0), funcbox, i1, i2], i3,
+                ResOperation(rop.CALL_RELEASE_GIL_N,
+                             [ConstInt(0), funcbox, i1, i2],
                              descr=calldescr),
                 ResOperation(rop.GUARD_NOT_FORCED, [], None, descr=faildescr),
                 ]
+            i3 = ops[-2]
             ops[-1].setfailargs([])
         ops += [
-            ResOperation(rop.FINISH, [i3], None, descr=BasicFinalDescr(0))
+            ResOperation(rop.FINISH, [i3], descr=BasicFinalDescr(0))
         ]
         looptoken = JitCellToken()
         self.cpu.compile_loop([i1, i2], ops, looptoken)


More information about the pypy-commit mailing list