mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-117901: Add option for compiler's codegen to save nested instruction sequences for introspection (#118007)
This commit is contained in:
parent
692e902c74
commit
0aa0fc3d3c
4 changed files with 115 additions and 1 deletions
|
@ -61,6 +61,7 @@ _PyJumpTargetLabel _PyInstructionSequence_NewLabel(_PyInstructionSequence *seq);
|
|||
int _PyInstructionSequence_ApplyLabelMap(_PyInstructionSequence *seq);
|
||||
int _PyInstructionSequence_InsertInstruction(_PyInstructionSequence *seq, int pos,
|
||||
int opcode, int oparg, _Py_SourceLocation loc);
|
||||
int _PyInstructionSequence_AddNested(_PyInstructionSequence *seq, _PyInstructionSequence *nested);
|
||||
void PyInstructionSequence_Fini(_PyInstructionSequence *seq);
|
||||
|
||||
extern PyTypeObject _PyInstructionSequence_Type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue