mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-105481: expose opcode metadata via the _opcode module (#106688)
This commit is contained in:
parent
243fdcb40e
commit
6a70edf24c
9 changed files with 558 additions and 21 deletions
|
@ -7,9 +7,7 @@
|
|||
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
|
||||
|
||||
#include "pycore_opcode_utils.h"
|
||||
#define NEED_OPCODE_METADATA
|
||||
#include "pycore_opcode_metadata.h" // _PyOpcode_opcode_metadata, _PyOpcode_num_popped/pushed
|
||||
#undef NEED_OPCODE_METADATA
|
||||
#include "pycore_opcode_metadata.h" // OPCODE_HAS_ARG, etc
|
||||
|
||||
|
||||
#undef SUCCESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue