[pypy-svn] r31560 - in pypy/branch/no-zeroing-assumption/pypy: rpython translator/c
mwh at codespeak.net
mwh at codespeak.net
Wed Aug 23 17:46:28 CEST 2006
Author: mwh
Date: Wed Aug 23 17:46:27 2006
New Revision: 31560
Modified:
pypy/branch/no-zeroing-assumption/pypy/rpython/llinterp.py
pypy/branch/no-zeroing-assumption/pypy/translator/c/database.py
Log:
make a bundle more tests pass.
Modified: pypy/branch/no-zeroing-assumption/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/no-zeroing-assumption/pypy/rpython/llinterp.py (original)
+++ pypy/branch/no-zeroing-assumption/pypy/rpython/llinterp.py Wed Aug 23 17:46:27 2006
@@ -515,7 +515,7 @@
graph = obj.graph
args = []
for arg in obj.graph.startblock.inputargs:
- args.append(arg.concretetype._defl())
+ args.append(arg.concretetype._defl(example=True))
frame = self.__class__(graph, args, self.llinterpreter, self)
result = frame.eval()
from pypy.translator.stackless.frame import storage_type
Modified: pypy/branch/no-zeroing-assumption/pypy/translator/c/database.py
==============================================================================
--- pypy/branch/no-zeroing-assumption/pypy/translator/c/database.py (original)
+++ pypy/branch/no-zeroing-assumption/pypy/translator/c/database.py Wed Aug 23 17:46:27 2006
@@ -1,7 +1,7 @@
from pypy.rpython.lltypesystem.lltype import \
Primitive, Ptr, typeOf, RuntimeTypeInfo, \
Struct, Array, FuncType, PyObject, Void, \
- ContainerType, OpaqueType, FixedSizeArray
+ 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,6 +282,8 @@
def add_dependencies(newdependencies):
for value in newdependencies:
+ if value is Uninitialized:
+ continue
if isinstance(typeOf(value), ContainerType):
self.getcontainernode(value)
else:
More information about the Pypy-commit
mailing list