Author: Ronan Lamy <[email protected]>
Branch: 
Changeset: r58375:952cce31989d
Date: 2012-10-22 22:08 +0100
http://bitbucket.org/pypy/pypy/changeset/952cce31989d/

Log:    Kill unneeded .make_arguments() and .argument_factory()

diff --git a/pypy/objspace/flow/flowcontext.py 
b/pypy/objspace/flow/flowcontext.py
--- a/pypy/objspace/flow/flowcontext.py
+++ b/pypy/objspace/flow/flowcontext.py
@@ -977,8 +977,8 @@
             keywords = None
             keywords_w = None
         arguments = self.popvalues(n_arguments)
-        args = self.argument_factory(arguments, keywords, keywords_w, w_star,
-                                     w_starstar)
+        args = ArgumentsForTranslation(self.space, arguments, keywords,
+                keywords_w, w_star, w_starstar)
         w_function  = self.popvalue()
         w_result = self.space.call_args(w_function, args)
         self.pushvalue(w_result)
@@ -1164,11 +1164,6 @@
     LOAD_CLOSURE = BAD_OPCODE
     MAKE_CLOSURE = BAD_OPCODE
 
-    def make_arguments(self, nargs):
-        return ArgumentsForTranslation(self.space, self.peekvalues(nargs))
-    def argument_factory(self, *args):
-        return ArgumentsForTranslation(self.space, *args)
-
 ### Frame blocks ###
 
 class SuspendedUnroller(object):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to