Author: Armin Rigo <ar...@tunes.org> Branch: heapcache-refactor Changeset: r83131:be279330887e Date: 2016-03-18 17:23 +0100 http://bitbucket.org/pypy/pypy/changeset/be279330887e/
Log: comment diff --git a/rpython/jit/metainterp/heapcache.py b/rpython/jit/metainterp/heapcache.py --- a/rpython/jit/metainterp/heapcache.py +++ b/rpython/jit/metainterp/heapcache.py @@ -155,6 +155,9 @@ return ref_frontend_op._get_heapc_flags() >= self.likely_virtual_version def update_version(self, ref_frontend_op): + """Ensure the version of 'ref_frontend_op' is current. If not, + it will update 'ref_frontend_op' (removing most flags currently set). + """ if not self.test_head_version(ref_frontend_op): f = self.head_version if (self.test_likely_virtual_version(ref_frontend_op) and _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit