Author: Armin Rigo <[email protected]>
Branch: flow-no-local-exception
Changeset: r66008:4b5f79f9eb17
Date: 2013-08-08 11:39 +0200
http://bitbucket.org/pypy/pypy/changeset/4b5f79f9eb17/

Log:    Fixes

diff --git a/rpython/rtyper/lltypesystem/rtuple.py 
b/rpython/rtyper/lltypesystem/rtuple.py
--- a/rpython/rtyper/lltypesystem/rtuple.py
+++ b/rpython/rtyper/lltypesystem/rtuple.py
@@ -56,7 +56,6 @@
         cno = inputconst(Signed, nitems)
         hop.exception_is_here()
         vlist = hop.gendirectcall(LIST.ll_newlist, cno)
-        v_func = hop.inputconst(Void, rlist.dum_nocheck)
         for index in range(nitems):
             name = self.fieldnames[index]
             ritem = self.items_r[index]
@@ -64,7 +63,7 @@
             vitem = hop.genop('getfield', [vtup, cname], resulttype = ritem)
             vitem = hop.llops.convertvar(vitem, ritem, hop.r_result.item_repr)
             cindex = inputconst(Signed, index)
-            hop.gendirectcall(rlist.ll_setitem_nonneg, v_func, vlist, cindex, 
vitem)
+            hop.gendirectcall(rlist.ll_setitem_nonneg, vlist, cindex, vitem)
         return vlist
 
     def getitem_internal(self, llops, v_tuple, index):
diff --git a/rpython/translator/c/extfunc.py b/rpython/translator/c/extfunc.py
--- a/rpython/translator/c/extfunc.py
+++ b/rpython/translator/c/extfunc.py
@@ -51,7 +51,7 @@
         def _RPyListOfString_SetItem(l=p,
                                     index=lltype.Signed,
                                     newstring=lltype.Ptr(STR)):
-            rlist.ll_setitem_nonneg(rlist.dum_nocheck, l, index, newstring)
+            rlist.ll_setitem_nonneg(l, index, newstring)
 
         def _RPyListOfString_GetItem(l=p,
                                     index=lltype.Signed):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to