Author: Alex Gaynor <[email protected]>
Branch: jit-raw-array-of-struct
Changeset: r48586:122a250914a5
Date: 2011-10-28 14:41 -0400
http://bitbucket.org/pypy/pypy/changeset/122a250914a5/
Log: test fix
diff --git a/pypy/jit/metainterp/test/test_ajit.py
b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -3564,7 +3564,7 @@
("x", lltype.Signed),
("y", lltype.Signed),
)
- ARRAY = lltype.Array(POINT)
+ ARRAY = lltype.Array(POINT, hints={"nolength": True})
myjitdriver = JitDriver(greens = [], reds=["vals", "i", "n", "result"])
def f(n):
vals = lltype.malloc(ARRAY, n, flavor="raw")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit