Author: Gregor Wegberg <c...@gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r72793:d6f675594c58
Date: 2014-08-13 20:04 +0200
http://bitbucket.org/pypy/pypy/changeset/d6f675594c58/

Log:    assert for case that should never happen

diff --git a/rpython/jit/backend/llsupport/gc.py 
b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -135,8 +135,7 @@
         #
         if op.is_guard() or op.getopnum() == rop.FINISH:
             llref = cast_instance_to_gcref(op.getdescr())
-            if not rgc._make_sure_does_not_move(llref):
-                raise NotImplementedError("blub") # XXX handle (groggi)
+            assert rgc._make_sure_does_not_move(llref)
             gcrefs_output_list.append(llref)
         newops.append(op)
         return newops
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to