[pypy-commit] pypy default: get_printable_location doesn't work w/ autoreds
pjenvey
noreply at buildbot.pypy.org
Fri Jan 25 07:09:19 CET 2013
Author: Philip Jenvey <pjenvey at underboss.org>
Branch:
Changeset: r60442:7cd4c46c8f85
Date: 2013-01-24 22:08 -0800
http://bitbucket.org/pypy/pypy/changeset/7cd4c46c8f85/
Log: get_printable_location doesn't work w/ autoreds
diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py
--- a/rpython/rlib/jit.py
+++ b/rpython/rlib/jit.py
@@ -310,10 +310,7 @@
def decorate(func):
from rpython.tool.sourcetools import compile2
#
- def get_printable_location():
- return name
- jitdriver = JitDriver(get_printable_location=get_printable_location,
- greens=[], reds='auto', name=name)
+ jitdriver = JitDriver(greens=[], reds='auto', name=name)
#
args = ','.join(['a%d' % i for i in range(func.func_code.co_argcount)])
source = """def callback_with_jitdriver(%(args)s):
More information about the pypy-commit
mailing list