[pypy-svn] r48044 - pypy/dist/pypy/lang/smalltalk
oscar at codespeak.net
oscar at codespeak.net
Fri Oct 26 13:49:13 CEST 2007
Author: oscar
Date: Fri Oct 26 13:49:12 2007
New Revision: 48044
Modified:
pypy/dist/pypy/lang/smalltalk/squeakimage.py
Log:
(arigo, oscar) don't compile hasattr in invariant
Modified: pypy/dist/pypy/lang/smalltalk/squeakimage.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/squeakimage.py (original)
+++ pypy/dist/pypy/lang/smalltalk/squeakimage.py Fri Oct 26 13:49:12 2007
@@ -325,7 +325,8 @@
self.fillin_compiledmethod(casted)
else:
assert 0
- assert casted.invariant()
+ if not objectmodel.we_are_translated():
+ assert casted.invariant()
def fillin_pointersobject(self, w_pointersobject):
assert self.pointers is not None
More information about the Pypy-commit
mailing list