Author: Richard Plangger <planri...@gmail.com> Branch: s390x-backend Changeset: r81806:2b0a2ef88c35 Date: 2016-01-15 16:59 +0100 http://bitbucket.org/pypy/pypy/changeset/2b0a2ef88c35/
Log: do not assert, but check if it is a CallDescr, in the case call_assembler, assume the default word size diff --git a/rpython/jit/backend/zarch/callbuilder.py b/rpython/jit/backend/zarch/callbuilder.py --- a/rpython/jit/backend/zarch/callbuilder.py +++ b/rpython/jit/backend/zarch/callbuilder.py @@ -24,8 +24,7 @@ type = INT size = WORD self.ressign = True - if calldescr is not None: - assert isinstance(calldescr, CallDescr) + if calldescr is not None and isinstance(calldescr, CallDescr) type = calldescr.get_result_type() size = calldescr.get_result_size() self.ressign = calldescr.is_result_signed() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit