[pypy-svn] r47672 - pypy/dist/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Sun Oct 21 17:44:23 CEST 2007


Author: arigo
Date: Sun Oct 21 17:44:23 2007
New Revision: 47672

Modified:
   pypy/dist/pypy/rpython/lltypesystem/lloperation.py
Log:
This operation cannot be arbitrarily moved around in the presence of a
moving GC.


Modified: pypy/dist/pypy/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/lloperation.py	Sun Oct 21 17:44:23 2007
@@ -369,7 +369,7 @@
     'adr_gt':               LLOp(canfold=True),
     'adr_ge':               LLOp(canfold=True),
     'adr_call':             LLOp(canraise=(Exception,)),
-    'cast_ptr_to_adr':      LLOp(canfold=True),
+    'cast_ptr_to_adr':      LLOp(sideeffects=False),
     'cast_adr_to_ptr':      LLOp(canfold=True),
     'cast_adr_to_int':      LLOp(canfold=True),
     'cast_int_to_adr':      LLOp(canfold=True),   # not implemented in llinterp



More information about the Pypy-commit mailing list