[pypy-commit] pypy dynamic-specialized-tuple: working!
alex_gaynor
noreply at buildbot.pypy.org
Tue Apr 24 02:20:00 CEST 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54702:80f3aa6cedeb
Date: 2012-04-23 20:19 -0400
http://bitbucket.org/pypy/pypy/changeset/80f3aa6cedeb/
Log: working!
diff --git a/pypy/translator/c/node.py b/pypy/translator/c/node.py
--- a/pypy/translator/c/node.py
+++ b/pypy/translator/c/node.py
@@ -642,6 +642,7 @@
for line in lines:
yield "\t" + line
# XXX: write out length of the array.
+ yield '\t%s, ' % len(self.obj.data.items)
arraydef = self.db.gettypedefnode(getattr(T, arrayfld))
for i, obj in ll_enumerate_elements(self.obj):
c_expr = '(void*)' + arraydef.access_expr(
More information about the pypy-commit
mailing list