[pypy-commit] pypy jit-targets: translation fix
hakanardo
noreply at buildbot.pypy.org
Mon Nov 14 20:48:23 CET 2011
Author: Hakan Ardo <hakan at debian.org>
Branch: jit-targets
Changeset: r49416:36b8365a8bba
Date: 2011-11-14 20:47 +0100
http://bitbucket.org/pypy/pypy/changeset/36b8365a8bba/
Log: translation fix
diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py
--- a/pypy/jit/metainterp/optimizeopt/unroll.py
+++ b/pypy/jit/metainterp/optimizeopt/unroll.py
@@ -112,6 +112,8 @@
self.export_state(stop_label)
loop.operations.append(stop_label)
else:
+ assert stop_label
+ assert start_label
stop_target = stop_label.getdescr()
start_target = start_label.getdescr()
assert isinstance(stop_target, TargetToken)
More information about the pypy-commit
mailing list