[pypy-svn] r23521 - pypy/dist/pypy/rpython/memory
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Feb 20 18:59:49 CET 2006
Author: cfbolz
Date: Mon Feb 20 18:59:48 2006
New Revision: 23521
Modified:
pypy/dist/pypy/rpython/memory/gcwrapper.py
Log:
actually the QueryTypes class does not actually need an llinterpreter
Modified: pypy/dist/pypy/rpython/memory/gcwrapper.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gcwrapper.py (original)
+++ pypy/dist/pypy/rpython/memory/gcwrapper.py Mon Feb 20 18:59:48 2006
@@ -9,8 +9,7 @@
from pypy.rpython.memory.convertlltype import FlowGraphConstantConverter
class QueryTypes(object):
- def __init__(self, llinterp):
- self.llinterp = llinterp
+ def __init__(self):
self.types = []
self.type_to_typeid = {}
@@ -138,7 +137,7 @@
class GcWrapper(object):
def __init__(self, llinterp, flowgraphs, gc_class):
- self.query_types = QueryTypes(llinterp)
+ self.query_types = QueryTypes()
# XXX there might me GCs that have headers that depend on the type
# therefore we have to change the query functions to annotatable ones
# later
More information about the Pypy-commit
mailing list