Author: Richard Plangger <[email protected]>
Branch: ppc-vsx-support
Changeset: r87286:46098ed56db2
Date: 2016-09-21 19:26 +0200
http://bitbucket.org/pypy/pypy/changeset/46098ed56db2/
Log: failargs can have None entries, consider this while iterating
diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py
b/rpython/jit/metainterp/optimizeopt/schedule.py
--- a/rpython/jit/metainterp/optimizeopt/schedule.py
+++ b/rpython/jit/metainterp/optimizeopt/schedule.py
@@ -46,7 +46,7 @@
if op.is_guard():
args = args[:] + op.getfailargs()
for arg in args:
- if arg.is_constant() or arg.is_inputarg():
+ if arg is None or arg.is_constant() or arg.is_inputarg():
continue
if arg not in self.seen:
box = self.renamer.rename_box(arg)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit