gh-129989: Change Py_TAIL_CALL_INTERP ifndef to ! (#130269)

Change Py_TAIL_CALL_INTERP ifndef to !
This commit is contained in:
Ken Jin 2025-02-18 23:48:49 +08:00 committed by GitHub
parent dab456dcef
commit 46ac85e4d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -160,7 +160,7 @@ def generate_tier1(
#define TIER_ONE 1
""")
outfile.write(f"""
#ifndef Py_TAIL_CALL_INTERP
#if !Py_TAIL_CALL_INTERP
#if !USE_COMPUTED_GOTOS
dispatch_opcode:
switch (opcode)
@ -173,7 +173,7 @@ def generate_tier1(
generate_tier1_cases(analysis, outfile, lines)
outfile.write(f"""
{INSTRUCTION_END_MARKER}
#ifndef Py_TAIL_CALL_INTERP
#if !Py_TAIL_CALL_INTERP
#if USE_COMPUTED_GOTOS
_unknown_opcode:
#else