[pypy-commit] pypy clean-exported-state: Additional consistency check

sbauman pypy.commits at gmail.com
Wed Oct 12 12:21:33 EDT 2016


Author: Spenser Bauman <sabauma at gmail.com>
Branch: clean-exported-state
Changeset: r87732:e9bb89961222
Date: 2016-10-12 12:20 -0400
http://bitbucket.org/pypy/pypy/changeset/e9bb89961222/

Log:	Additional consistency check

diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt/unroll.py
--- a/rpython/jit/metainterp/optimizeopt/unroll.py
+++ b/rpython/jit/metainterp/optimizeopt/unroll.py
@@ -471,6 +471,7 @@
         # to actually emit. Update the info
         assert (len(exported_state.next_iteration_args) ==
                 len(targetargs))
+        self._check_no_forwarding([targetargs])
         exported_state._check_no_forwarding(self)
         for i, target in enumerate(exported_state.next_iteration_args):
             source = targetargs[i]


More information about the pypy-commit mailing list