Author: Benjamin Peterson <benja...@python.org>
Branch: unroll-if-alt
Changeset: r46170:29ff9dcb475b
Date: 2011-08-01 16:16 -0500
http://bitbucket.org/pypy/pypy/changeset/29ff9dcb475b/

Log:    bad things happen if this None

diff --git a/pypy/annotation/specialize.py b/pypy/annotation/specialize.py
--- a/pypy/annotation/specialize.py
+++ b/pypy/annotation/specialize.py
@@ -372,4 +372,5 @@
     return maybe_star_args(funcdesc, key, args_s)
 
 def specialize_call_location(funcdesc, args_s, op):
+    assert op is not None
     return maybe_star_args(funcdesc, op, args_s)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to