[pypy-svn] r31792 - pypy/branch/no-zeroing-assumption-2/pypy/translator/c

mwh at codespeak.net mwh at codespeak.net
Tue Aug 29 15:52:28 CEST 2006


Author: mwh
Date: Tue Aug 29 15:52:27 2006
New Revision: 31792

Modified:
   pypy/branch/no-zeroing-assumption-2/pypy/translator/c/database.py
Log:
it doesn't seem that this hack is needed any more


Modified: pypy/branch/no-zeroing-assumption-2/pypy/translator/c/database.py
==============================================================================
--- pypy/branch/no-zeroing-assumption-2/pypy/translator/c/database.py	(original)
+++ pypy/branch/no-zeroing-assumption-2/pypy/translator/c/database.py	Tue Aug 29 15:52:27 2006
@@ -1,7 +1,7 @@
 from pypy.rpython.lltypesystem.lltype import \
      Primitive, Ptr, typeOf, RuntimeTypeInfo, \
      Struct, Array, FuncType, PyObject, Void, \
-     ContainerType, OpaqueType, FixedSizeArray, Uninitialized
+     ContainerType, OpaqueType, FixedSizeArray, _uninitialized
 from pypy.rpython.lltypesystem import lltype
 from pypy.rpython.lltypesystem.llmemory import Address
 from pypy.rpython.memory.lladdress import NULL
@@ -282,8 +282,8 @@
 
         def add_dependencies(newdependencies):
             for value in newdependencies:
-                if value is Uninitialized:
-                    continue
+                #if isinstance(value, _uninitialized):
+                #    continue
                 if isinstance(typeOf(value), ContainerType):
                     self.getcontainernode(value)
                 else:



More information about the Pypy-commit mailing list