Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: Changeset: r82080:246d32e32de9 Date: 2016-02-04 14:57 +0100 http://bitbucket.org/pypy/pypy/changeset/246d32e32de9/
Log: the ll_assert has the condition wrong :-( diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -1117,7 +1117,7 @@ from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem import lltype from rpython.rtyper.rclass import ll_type - ll_assert(ll_value == lltype.nullptr(lltype.typeOf(ll_value).TO), "record_exact_class called with None argument") + ll_assert(ll_value != lltype.nullptr(lltype.typeOf(ll_value).TO), "record_exact_class called with None argument") ll_assert(ll_type(ll_value) is ll_cls, "record_exact_class called with invalid arguments") llop.jit_record_exact_class(lltype.Void, ll_value, ll_cls) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit