[pypy-svn] r47578 - pypy/dist/pypy/rpython/lltypesystem
arigo at codespeak.net
arigo at codespeak.net
Fri Oct 19 13:57:12 CEST 2007
Author: arigo
Date: Fri Oct 19 13:57:12 2007
New Revision: 47578
Modified:
pypy/dist/pypy/rpython/lltypesystem/llarena.py
Log:
Fix.
Modified: pypy/dist/pypy/rpython/lltypesystem/llarena.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/llarena.py (original)
+++ pypy/dist/pypy/rpython/lltypesystem/llarena.py Fri Oct 19 13:57:12 2007
@@ -160,7 +160,7 @@
# common case: top is a FixedSizeArray of size 1 with just obj in it
T = lltype.typeOf(top)
if (top is obj or (isinstance(T, lltype.FixedSizeArray) and
- T.OF == lltype.typeOf(obj))):
+ top.getitem(0) is obj)):
# in this case, addr(obj) == addr(top)
pass
else:
More information about the Pypy-commit
mailing list