Author: David Schneider <[email protected]>
Branch: arm-backed-float
Changeset: r44837:65d69628e74d
Date: 2011-06-08 18:24 +0200
http://bitbucket.org/pypy/pypy/changeset/65d69628e74d/

Log:    (arigo, bivab) give generated functions more meaningful names

diff --git a/pypy/jit/backend/arm/instruction_builder.py 
b/pypy/jit/backend/arm/instruction_builder.py
--- a/pypy/jit/backend/arm/instruction_builder.py
+++ b/pypy/jit/backend/arm/instruction_builder.py
@@ -359,6 +359,7 @@
             continue
         try:
             func = globals()['define_%s_func' % name]
+            func.__name__ = name
         except KeyError:
             print 'No instr generator for %s instructions' % name
             continue
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to