[pypy-svn] r31576 - pypy/branch/no-zeroing-assumption/pypy/translator/stackless

mwh at codespeak.net mwh at codespeak.net
Wed Aug 23 19:06:47 CEST 2006


Author: mwh
Date: Wed Aug 23 19:06:46 2006
New Revision: 31576

Modified:
   pypy/branch/no-zeroing-assumption/pypy/translator/stackless/transform.py
Log:
fix resume point tests (grunk).


Modified: pypy/branch/no-zeroing-assumption/pypy/translator/stackless/transform.py
==============================================================================
--- pypy/branch/no-zeroing-assumption/pypy/translator/stackless/transform.py	(original)
+++ pypy/branch/no-zeroing-assumption/pypy/translator/stackless/transform.py	Wed Aug 23 19:06:46 2006
@@ -716,7 +716,7 @@
         realrettype = op.result.concretetype
         for i, a in enumerate(noexclink.args):
             if a is op.result:
-                noexclink.args[i] = model.Constant(realrettype._defl(), realrettype)
+                noexclink.args[i] = model.Constant(realrettype._defl(example=True), realrettype)
         block.recloseblock(*((noexclink,) + block.exits[1:]))        
 
     def insert_unwind_handling(self, block, i):



More information about the Pypy-commit mailing list