[pypy-svn] r61802 - pypy/branch/pyjitpl5/pypy/jit/backend/llgraph
arigo at codespeak.net
arigo at codespeak.net
Thu Feb 12 18:14:19 CET 2009
Author: arigo
Date: Thu Feb 12 18:14:18 2009
New Revision: 61802
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
Log:
Fix bug.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py Thu Feb 12 18:14:18 2009
@@ -132,7 +132,7 @@
def repr_list(lst, types, cpu):
res_l = []
- if types[-1] == 'varargs':
+ if types and types[-1] == 'varargs':
types = types[:-1] + ('int',) * (len(lst) - len(types) + 1)
assert len(types) == len(lst)
for elem, tp in zip(lst, types):
More information about the Pypy-commit
mailing list