[pypy-svn] r24177 - pypy/dist/pypy/rpython/memory

mwh at codespeak.net mwh at codespeak.net
Thu Mar 9 14:59:00 CET 2006


Author: mwh
Date: Thu Mar  9 14:59:00 2006
New Revision: 24177

Modified:
   pypy/dist/pypy/rpython/memory/gctransform.py
Log:
oops.  give a Constant() a concretetype.


Modified: pypy/dist/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform.py	(original)
+++ pypy/dist/pypy/rpython/memory/gctransform.py	Thu Mar  9 14:59:00 2006
@@ -892,7 +892,6 @@
                         for T, inst in lltype.dissect_ll_instance(v.value, t, ll_instance_memo):
                             if isinstance(T, (lltype.GcArray, lltype.GcStruct)):
                                 self.get_type_id(T)
-                                
 
             table = lltype.malloc(self.gcdata.TYPE_INFO_TABLE,
                                   len(self.type_info_list), immortal=True)
@@ -973,7 +972,7 @@
         
         newop0 = SpaceOperation(
             "getfield",
-            [rmodel.inputconst(r_gcdata, self.gcdata), Constant("inst_gc")],
+            [rmodel.inputconst(r_gcdata, self.gcdata), Constant("inst_gc", lltype.Void)],
             varoftype(r_gc.lowleveltype))
         newop = SpaceOperation("direct_call",
                                [self.malloc_ptr, newop0.result, c_type_id, v_length],



More information about the Pypy-commit mailing list