[pypy-commit] pypy optresult: Add an assert
arigo
noreply at buildbot.pypy.org
Fri Jun 12 19:01:11 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: optresult
Changeset: r78050:85c11181735e
Date: 2015-06-12 10:28 +0200
http://bitbucket.org/pypy/pypy/changeset/85c11181735e/
Log: Add an assert
diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit/backend/llsupport/rewrite.py
--- a/rpython/jit/backend/llsupport/rewrite.py
+++ b/rpython/jit/backend/llsupport/rewrite.py
@@ -119,6 +119,7 @@
#
for i in range(len(operations)):
op = operations[i]
+ assert op.get_forwarded() is None
if op.getopnum() == rop.DEBUG_MERGE_POINT:
continue
# ---------- turn NEWxxx into CALL_MALLOC_xxx ----------
More information about the pypy-commit
mailing list