gh-117288: Allocate fewer label IDs in _PyCfg_ToInstructionSequence (#117290)

This commit is contained in:
Irit Katriel 2024-03-27 17:38:19 +00:00 committed by GitHub
parent 74c8568d07
commit 262fb911ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 6 deletions

View file

@ -66,6 +66,7 @@ int _PyCompile_InstructionSequence_UseLabel(_PyCompile_InstructionSequence *seq,
int _PyCompile_InstructionSequence_Addop(_PyCompile_InstructionSequence *seq,
int opcode, int oparg,
_PyCompilerSrcLocation loc);
int _PyCompile_InstructionSequence_ApplyLabelMap(_PyCompile_InstructionSequence *seq);
typedef struct {
PyObject *u_name;