Author: Armin Rigo <[email protected]>
Branch: cleanup-llgraph-backend
Changeset: r58166:3286418ab00f
Date: 2012-10-17 14:32 +0200
http://bitbucket.org/pypy/pypy/changeset/3286418ab00f/
Log: fixes
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
@@ -3027,7 +3027,7 @@
expected = rffi.cast(lltype.Signed, rffi.cast(RESTYPE, value))
a[3] = rffi.cast(RESTYPE, value)
x = cpu.bh_getarrayitem_gc_i(
- descrarray, lltype.cast_opaque_ptr(llmemory.GCREF, a), 3)
+ lltype.cast_opaque_ptr(llmemory.GCREF, a), 3, descrarray)
assert x == expected, (
"%r: got %r, expected %r" % (RESTYPE, x, expected))
@@ -3069,7 +3069,7 @@
expected = rffi.cast(lltype.Signed, rffi.cast(RESTYPE, value))
a[3] = rffi.cast(RESTYPE, value)
a_rawint = heaptracker.adr2int(llmemory.cast_ptr_to_adr(a))
- x = cpu.bh_getarrayitem_raw_i(descrarray, a_rawint, 3)
+ x = cpu.bh_getarrayitem_raw_i(a_rawint, 3, descrarray)
assert x == expected, (
"%r: got %r, expected %r" % (RESTYPE, x, expected))
lltype.free(a, flavor='raw')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit