Author: Maciej Fijalkowski <fij...@gmail.com> Branch: optresult-unroll Changeset: r79136:ed226eea752c Date: 2015-08-22 09:11 +0200 http://bitbucket.org/pypy/pypy/changeset/ed226eea752c/
Log: fix diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/optimizeopt/virtualstate.py --- a/rpython/jit/metainterp/optimizeopt/virtualstate.py +++ b/rpython/jit/metainterp/optimizeopt/virtualstate.py @@ -343,7 +343,7 @@ extra_guards = state.extra_guards cpu = state.cpu - if self.lenbound and not self.lenbound.generalization_of(other.lenbound): + if self.lenbound and not self.lenbound.contains_bound(other.lenbound): raise VirtualStatesCantMatch("length bound does not match") if self.level == LEVEL_UNKNOWN: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit