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

arigo at codespeak.net arigo at codespeak.net
Thu Sep 13 17:27:09 CEST 2007


Author: arigo
Date: Thu Sep 13 17:27:08 2007
New Revision: 46538

Modified:
   pypy/dist/pypy/rpython/lltypesystem/lloperation.py
Log:
Folding these doesn't work currently anyway.


Modified: pypy/dist/pypy/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/lloperation.py	Thu Sep 13 17:27:08 2007
@@ -406,8 +406,8 @@
     # in the framework GC, so it should never cause a stack unwind.
     'weakref_create':       LLOp(canraise=(MemoryError,), sideeffects=False),
     'weakref_deref':        LLOp(sideeffects=False),
-    'cast_ptr_to_weakrefptr': LLOp(canfold=True), # no-op, pure type hiding
-    'cast_weakrefptr_to_ptr': LLOp(canfold=True), # no-op, pure type revealing
+    'cast_ptr_to_weakrefptr': LLOp(sideeffects=False), # no-op type hiding
+    'cast_weakrefptr_to_ptr': LLOp(sideeffects=False), # no-op type revealing
 
     # __________ stackless operation(s) __________
 



More information about the Pypy-commit mailing list