[pypy-svn] r47124 - pypy/dist/pypy/rpython
rxe at codespeak.net
rxe at codespeak.net
Wed Oct 3 21:32:06 CEST 2007
Author: rxe
Date: Wed Oct 3 21:32:05 2007
New Revision: 47124
Modified:
pypy/dist/pypy/rpython/annlowlevel.py
Log:
try to get tests running in llvm backend again. the problem seems to be that None crept in to graph.name during typing. not sure i understand as to why, and looks likely it is an oversight. anyways feel free to revert.
Modified: pypy/dist/pypy/rpython/annlowlevel.py
==============================================================================
--- pypy/dist/pypy/rpython/annlowlevel.py (original)
+++ pypy/dist/pypy/rpython/annlowlevel.py Wed Oct 3 21:32:05 2007
@@ -41,7 +41,10 @@
def lowlevelspecialize(funcdesc, args_s, key_for_args):
args_s, key, ignored, builder = flatten_star_args(funcdesc, args_s)
- key = [key]
+ if key is not None:
+ key = [key]
+ else:
+ key = []
new_args_s = []
for i, s_obj in enumerate(args_s):
if i in key_for_args:
More information about the Pypy-commit
mailing list