summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/generate_opcode_h.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/generate_opcode_h.py')
-rw-r--r--Tools/scripts/generate_opcode_h.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/generate_opcode_h.py b/Tools/scripts/generate_opcode_h.py
index 48875d2..dca9bbc 100644
--- a/Tools/scripts/generate_opcode_h.py
+++ b/Tools/scripts/generate_opcode_h.py
@@ -72,7 +72,7 @@ def main(opcode_py, outfile='Include/opcode.h'):
next_op += 1
fobj.write("#define %-23s %3s\n" % (name, next_op))
used[next_op] = True
-
+ fobj.write("#define DO_TRACING 255\n")
fobj.write("#ifdef NEED_OPCODE_JUMP_TABLES\n")
write_int_array_from_ops("_PyOpcode_RelativeJump", opcode['hasjrel'], fobj)
write_int_array_from_ops("_PyOpcode_Jump", opcode['hasjrel'] + opcode['hasjabs'], fobj)