Author: Richard Plangger <r...@pasra.at>
Branch: vecopt
Changeset: r78753:6ef92e33b506
Date: 2015-08-03 16:49 +0200
http://bitbucket.org/pypy/pypy/changeset/6ef92e33b506/

Log:    failargs can be none

diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py 
b/rpython/jit/metainterp/optimizeopt/vectorize.py
--- a/rpython/jit/metainterp/optimizeopt/vectorize.py
+++ b/rpython/jit/metainterp/optimizeopt/vectorize.py
@@ -461,6 +461,8 @@
                 op = guard_node.getoperation()
                 failargs = op.getfailargs()
                 for i,arg in enumerate(failargs):
+                    if arg is None:
+                        continue
                     accum = arg.getaccum()
                     if accum:
                         accum.save_to_descr(op.getdescr(),i)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to