Commits

Philip Jenvey committed 7cd4c46

get_printable_location doesn't work w/ autoreds

  • Participants
  • Parent commits 9d0be76

Comments (0)

Files changed (1)

File rpython/rlib/jit.py

     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):