[pypy-svn] r53635 - pypy/branch/jit-hotpath/pypy/jit/timeshifter

antocuni at codespeak.net antocuni at codespeak.net
Thu Apr 10 00:15:45 CEST 2008


Author: antocuni
Date: Thu Apr 10 00:15:45 2008
New Revision: 53635

Modified:
   pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py
Log:
move rvalue.PtrRedBox to the abstract class instead of None, else the
rtyper complains



Modified: pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py	Thu Apr 10 00:15:45 2008
@@ -79,7 +79,7 @@
     firstsubstructdesc = None
     materialize = None
     StructFieldDesc = None
-    PtrRedBox = None
+    PtrRedBox = rvalue.PtrRedBox
 
     def __init__(self, RGenOp, TYPE):
         self.TYPE = TYPE
@@ -230,7 +230,6 @@
 class StructTypeDesc(AbstractStructTypeDesc):
     
     StructFieldDesc = None # patched later with StructFieldDesc
-    PtrRedBox = rvalue.PtrRedBox
 
     _attrs_ = []
 



More information about the Pypy-commit mailing list