Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r66806:f5f6266b122f
Date: 2013-09-05 17:00 +0200
http://bitbucket.org/pypy/pypy/changeset/f5f6266b122f/
Log: fix 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
@@ -2183,13 +2183,13 @@
del record[:]
p0 = BoxPtr()
operations = [
- ResOperation(rop.COND_CALL_GC_WB, [p0, ConstInt(0)], None,
+ ResOperation(rop.COND_CALL_GC_WB, [p0], None,
descr=WriteBarrierDescr()),
ResOperation(rop.FINISH, [p0], None, descr=BasicFinalDescr(0))
]
inputargs = [p0]
looptoken = JitCellToken()
- self.cpu.compile_loop(inputargs, operations, looptoken)
+ self.cpu.compile_loop(None, inputargs, operations, looptoken)
fail = self.cpu.execute_token(looptoken, sgcref)
assert fail.identifier == 1
res = self.cpu.get_latest_value_ref(0)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit