[pypy-svn] r26402 - pypy/dist/pypy/rpython/ootypesystem
nik at codespeak.net
nik at codespeak.net
Thu Apr 27 08:28:09 CEST 2006
Author: nik
Date: Thu Apr 27 08:28:06 2006
New Revision: 26402
Modified:
pypy/dist/pypy/rpython/ootypesystem/rtuple.py
Log:
really use Record now for tuples of ootypesystem.
Modified: pypy/dist/pypy/rpython/ootypesystem/rtuple.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/rtuple.py (original)
+++ pypy/dist/pypy/rpython/ootypesystem/rtuple.py Thu Apr 27 08:28:06 2006
@@ -8,8 +8,7 @@
def __init__(self, rtyper, items_r):
AbstractTupleRepr.__init__(self, rtyper, items_r)
- #self.lowleveltype = ootype.Record(dict(zip(self.fieldnames, self.lltypes)))
- self.lowleveltype = tuple_type(self.fieldnames, self.lltypes)
+ self.lowleveltype = ootype.Record(dict(zip(self.fieldnames, self.lltypes)))
def newtuple(cls, llops, r_tuple, items_v):
# items_v should have the lowleveltype of the internal reprs
More information about the Pypy-commit
mailing list