diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-03-27 17:38:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 17:38:19 (GMT) |
commit | 262fb911ab7df8e890ebd0efb0773c3e0b5a757f (patch) | |
tree | 250f7b163f7cc074be10e6c5c2321579eca991b4 /Include | |
parent | 74c8568d07719529b874897598d8b3bc25ff0434 (diff) | |
download | cpython-262fb911ab7df8e890ebd0efb0773c3e0b5a757f.zip cpython-262fb911ab7df8e890ebd0efb0773c3e0b5a757f.tar.gz cpython-262fb911ab7df8e890ebd0efb0773c3e0b5a757f.tar.bz2 |
gh-117288: Allocate fewer label IDs in _PyCfg_ToInstructionSequence (#117290)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_compile.h b/Include/internal/pycore_compile.h index 0f446a0..f54f4f7 100644 --- a/Include/internal/pycore_compile.h +++ b/Include/internal/pycore_compile.h @@ -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; |