[pypy-svn] r72863 - pypy/branch/kill-asm-call/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Thu Mar 25 23:47:17 CET 2010


Author: fijal
Date: Thu Mar 25 23:47:15 2010
New Revision: 72863

Modified:
   pypy/branch/kill-asm-call/pypy/jit/metainterp/support.py
Log:
Revert 72859


Modified: pypy/branch/kill-asm-call/pypy/jit/metainterp/support.py
==============================================================================
--- pypy/branch/kill-asm-call/pypy/jit/metainterp/support.py	(original)
+++ pypy/branch/kill-asm-call/pypy/jit/metainterp/support.py	Thu Mar 25 23:47:15 2010
@@ -80,15 +80,7 @@
     if hasattr(funcobj, 'graph'):
         llinterp = LLInterpreter(rtyper)  #, exc_data_ptr=exc_data_ptr)
         def on_top_of_llinterp(*args):
-            real_args = []
-            i = 0
-            for arg in funcobj.graph.startblock.inputargs:
-                if arg.concretetype is lltype.Void:
-                    real_args.append(None)
-                else:
-                    real_args.append(args[i])
-                    i += 1
-            return llinterp.eval_graph(funcobj.graph, real_args)
+            return llinterp.eval_graph(funcobj.graph, list(args))
     else:
         assert hasattr(funcobj, '_callable')
         def on_top_of_llinterp(*args):



More information about the Pypy-commit mailing list