[pypy-commit] pypy gc-incminimark-pinning: assert for case that should never happen
groggi
noreply at buildbot.pypy.org
Thu Aug 14 10:35:39 CEST 2014
Author: Gregor Wegberg <code at 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
More information about the pypy-commit
mailing list