Author: Armin Rigo <[email protected]>
Branch: jitframe-on-heap
Changeset: r61820:6ed149cf3475
Date: 2013-02-26 11:56 +0100
http://bitbucket.org/pypy/pypy/changeset/6ed149cf3475/
Log: Fix
diff --git a/rpython/rtyper/lltypesystem/opimpl.py
b/rpython/rtyper/lltypesystem/opimpl.py
--- a/rpython/rtyper/lltypesystem/opimpl.py
+++ b/rpython/rtyper/lltypesystem/opimpl.py
@@ -529,7 +529,7 @@
assert A.TO.OF.TO._gckind == 'gc'
else:
assert isinstance(A.TO, lltype.GcStruct)
- assert hasattr(A.TO, '_arrayfld')
+ assert A.TO._arrayfld is not None
assert type(source_start) is int
assert type(dest_start) is int
assert type(length) is int
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit