Author: fijal Branch: improve-vmprof-testing Changeset: r86038:f89c232d0bfe Date: 2016-08-05 19:10 +0200 http://bitbucket.org/pypy/pypy/changeset/f89c232d0bfe/
Log: make sure we call llfn() only when in the inside code diff --git a/rpython/jit/backend/test/test_rvmprof.py b/rpython/jit/backend/test/test_rvmprof.py --- a/rpython/jit/backend/test/test_rvmprof.py +++ b/rpython/jit/backend/test/test_rvmprof.py @@ -46,8 +46,9 @@ driver.jit_merge_point(code=code) if code.name == "main": f(codes, codes[1], 5) + else: + llfn() i += 1 - llfn() def main(n): codes = [CodeObj("main"), CodeObj("not main")] _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit