Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r69516:e6b3dda85360 Date: 2014-02-27 15:44 +0100 http://bitbucket.org/pypy/pypy/changeset/e6b3dda85360/
Log: Print this extra info diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py --- a/rpython/jit/codewriter/call.py +++ b/rpython/jit/codewriter/call.py @@ -247,14 +247,14 @@ from rpython.jit.codewriter.policy import log; log.WARNING( "in operation %r: this calls a _jit_loop_invariant_ function," " but this contradicts other sources (e.g. it can have random" - " effects)" % (op,)) + " effects, code %s)" % (op, extraeffect)) if elidable: if extraeffect not in (EffectInfo.EF_ELIDABLE_CANNOT_RAISE, EffectInfo.EF_ELIDABLE_CAN_RAISE): from rpython.jit.codewriter.policy import log; log.WARNING( "in operation %r: this calls an _elidable_function_," " but this contradicts other sources (e.g. it can have random" - " effects)" % (op,)) + " effects, code %s)" % (op, extraeffect)) # effectinfo = effectinfo_from_writeanalyze( self.readwrite_analyzer.analyze(op, self.seen), self.cpu, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit