[pypy-svn] r14134 - pypy/dist/pypy/translator/llvm2

hpk at codespeak.net hpk at codespeak.net
Sun Jul 3 14:10:51 CEST 2005


Author: hpk
Date: Sun Jul  3 14:10:51 2005
New Revision: 14134

Modified:
   pypy/dist/pypy/translator/llvm2/funcnode.py
Log:
(cfbolz,hpk)

use new trueargs helper


Modified: pypy/dist/pypy/translator/llvm2/funcnode.py
==============================================================================
--- pypy/dist/pypy/translator/llvm2/funcnode.py	(original)
+++ pypy/dist/pypy/translator/llvm2/funcnode.py	Sun Jul  3 14:10:51 2005
@@ -25,12 +25,11 @@
 
     def setup(self):
         self.db.prepare_repr_arg_type(self.type_.RESULT)
-        self.db.prepare_repr_arg_type(args_without_void(self.type_.ARGS))
+        self.db.prepare_repr_arg_type_multi(self.type_._trueargs())
 
     def writedatatypedecl(self, codewriter):
         returntype = self.db.repr_arg_type(self.type_.RESULT)
-        inputargtypes = self.db.repr_arg_type_multi(
-            args_without_void(self.type_.ARGS))
+        inputargtypes = self.db.repr_arg_type_multi(self.type_._trueargs())
         decl = "%s type %s (%s)*" % (self.ref, returntype,
                                      ", ".join(inputargtypes))
         codewriter.funcdef(self.ref, returntype, inputargtypes)



More information about the Pypy-commit mailing list