Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opcode.h
I suggest to include the following in opcode.h:
#ifdef Py_DEBUG const char *const _PyOpcode_OpName[256] = { [0] = "CACHE", [1] = "POP_TOP", ... [255] = "DO_TRACING", }; #endif
The goal is to make debugging easier. Possible uses:
#if 0
dump_instr
dump_basicblock
compile.c
The text was updated successfully, but these errors were encountered:
gh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430)
8a35ce3
Successfully merging a pull request may close this issue.
I suggest to include the following in opcode.h:
The goal is to make debugging easier. Possible uses:
#if 0-ed outdump_instranddump_basicblockofcompile.cbecome easier to understand.The text was updated successfully, but these errors were encountered: