mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
GH-118095: Allow a variant of RESUME_CHECK in tier 2 (GH-118286)
This commit is contained in:
parent
aa8f6d2708
commit
ab6eda0ee5
6 changed files with 189 additions and 103 deletions
206
Include/internal/pycore_uop_ids.h
generated
206
Include/internal/pycore_uop_ids.h
generated
|
@ -94,46 +94,47 @@ extern "C" {
|
|||
#define _DYNAMIC_EXIT 343
|
||||
#define _END_SEND END_SEND
|
||||
#define _ERROR_POP_N 344
|
||||
#define _EVAL_BREAKER_EXIT 345
|
||||
#define _EXIT_INIT_CHECK EXIT_INIT_CHECK
|
||||
#define _FATAL_ERROR 345
|
||||
#define _FATAL_ERROR 346
|
||||
#define _FORMAT_SIMPLE FORMAT_SIMPLE
|
||||
#define _FORMAT_WITH_SPEC FORMAT_WITH_SPEC
|
||||
#define _FOR_ITER 346
|
||||
#define _FOR_ITER_GEN_FRAME 347
|
||||
#define _FOR_ITER_TIER_TWO 348
|
||||
#define _FOR_ITER 347
|
||||
#define _FOR_ITER_GEN_FRAME 348
|
||||
#define _FOR_ITER_TIER_TWO 349
|
||||
#define _GET_AITER GET_AITER
|
||||
#define _GET_ANEXT GET_ANEXT
|
||||
#define _GET_AWAITABLE GET_AWAITABLE
|
||||
#define _GET_ITER GET_ITER
|
||||
#define _GET_LEN GET_LEN
|
||||
#define _GET_YIELD_FROM_ITER GET_YIELD_FROM_ITER
|
||||
#define _GUARD_BOTH_FLOAT 349
|
||||
#define _GUARD_BOTH_INT 350
|
||||
#define _GUARD_BOTH_UNICODE 351
|
||||
#define _GUARD_BUILTINS_VERSION 352
|
||||
#define _GUARD_DORV_NO_DICT 353
|
||||
#define _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 354
|
||||
#define _GUARD_GLOBALS_VERSION 355
|
||||
#define _GUARD_IS_FALSE_POP 356
|
||||
#define _GUARD_IS_NONE_POP 357
|
||||
#define _GUARD_IS_NOT_NONE_POP 358
|
||||
#define _GUARD_IS_TRUE_POP 359
|
||||
#define _GUARD_KEYS_VERSION 360
|
||||
#define _GUARD_NOS_FLOAT 361
|
||||
#define _GUARD_NOS_INT 362
|
||||
#define _GUARD_NOT_EXHAUSTED_LIST 363
|
||||
#define _GUARD_NOT_EXHAUSTED_RANGE 364
|
||||
#define _GUARD_NOT_EXHAUSTED_TUPLE 365
|
||||
#define _GUARD_TOS_FLOAT 366
|
||||
#define _GUARD_TOS_INT 367
|
||||
#define _GUARD_TYPE_VERSION 368
|
||||
#define _INIT_CALL_BOUND_METHOD_EXACT_ARGS 369
|
||||
#define _INIT_CALL_PY_EXACT_ARGS 370
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_0 371
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_1 372
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_2 373
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_3 374
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_4 375
|
||||
#define _GUARD_BOTH_FLOAT 350
|
||||
#define _GUARD_BOTH_INT 351
|
||||
#define _GUARD_BOTH_UNICODE 352
|
||||
#define _GUARD_BUILTINS_VERSION 353
|
||||
#define _GUARD_DORV_NO_DICT 354
|
||||
#define _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 355
|
||||
#define _GUARD_GLOBALS_VERSION 356
|
||||
#define _GUARD_IS_FALSE_POP 357
|
||||
#define _GUARD_IS_NONE_POP 358
|
||||
#define _GUARD_IS_NOT_NONE_POP 359
|
||||
#define _GUARD_IS_TRUE_POP 360
|
||||
#define _GUARD_KEYS_VERSION 361
|
||||
#define _GUARD_NOS_FLOAT 362
|
||||
#define _GUARD_NOS_INT 363
|
||||
#define _GUARD_NOT_EXHAUSTED_LIST 364
|
||||
#define _GUARD_NOT_EXHAUSTED_RANGE 365
|
||||
#define _GUARD_NOT_EXHAUSTED_TUPLE 366
|
||||
#define _GUARD_TOS_FLOAT 367
|
||||
#define _GUARD_TOS_INT 368
|
||||
#define _GUARD_TYPE_VERSION 369
|
||||
#define _INIT_CALL_BOUND_METHOD_EXACT_ARGS 370
|
||||
#define _INIT_CALL_PY_EXACT_ARGS 371
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_0 372
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_1 373
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_2 374
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_3 375
|
||||
#define _INIT_CALL_PY_EXACT_ARGS_4 376
|
||||
#define _INSTRUMENTED_CALL INSTRUMENTED_CALL
|
||||
#define _INSTRUMENTED_CALL_FUNCTION_EX INSTRUMENTED_CALL_FUNCTION_EX
|
||||
#define _INSTRUMENTED_CALL_KW INSTRUMENTED_CALL_KW
|
||||
|
@ -150,65 +151,65 @@ extern "C" {
|
|||
#define _INSTRUMENTED_RETURN_CONST INSTRUMENTED_RETURN_CONST
|
||||
#define _INSTRUMENTED_RETURN_VALUE INSTRUMENTED_RETURN_VALUE
|
||||
#define _INSTRUMENTED_YIELD_VALUE INSTRUMENTED_YIELD_VALUE
|
||||
#define _INTERNAL_INCREMENT_OPT_COUNTER 376
|
||||
#define _IS_NONE 377
|
||||
#define _INTERNAL_INCREMENT_OPT_COUNTER 377
|
||||
#define _IS_NONE 378
|
||||
#define _IS_OP IS_OP
|
||||
#define _ITER_CHECK_LIST 378
|
||||
#define _ITER_CHECK_RANGE 379
|
||||
#define _ITER_CHECK_TUPLE 380
|
||||
#define _ITER_JUMP_LIST 381
|
||||
#define _ITER_JUMP_RANGE 382
|
||||
#define _ITER_JUMP_TUPLE 383
|
||||
#define _ITER_NEXT_LIST 384
|
||||
#define _ITER_NEXT_RANGE 385
|
||||
#define _ITER_NEXT_TUPLE 386
|
||||
#define _JUMP_TO_TOP 387
|
||||
#define _ITER_CHECK_LIST 379
|
||||
#define _ITER_CHECK_RANGE 380
|
||||
#define _ITER_CHECK_TUPLE 381
|
||||
#define _ITER_JUMP_LIST 382
|
||||
#define _ITER_JUMP_RANGE 383
|
||||
#define _ITER_JUMP_TUPLE 384
|
||||
#define _ITER_NEXT_LIST 385
|
||||
#define _ITER_NEXT_RANGE 386
|
||||
#define _ITER_NEXT_TUPLE 387
|
||||
#define _JUMP_TO_TOP 388
|
||||
#define _LIST_APPEND LIST_APPEND
|
||||
#define _LIST_EXTEND LIST_EXTEND
|
||||
#define _LOAD_ASSERTION_ERROR LOAD_ASSERTION_ERROR
|
||||
#define _LOAD_ATTR 388
|
||||
#define _LOAD_ATTR_CLASS 389
|
||||
#define _LOAD_ATTR_CLASS_0 390
|
||||
#define _LOAD_ATTR_CLASS_1 391
|
||||
#define _LOAD_ATTR 389
|
||||
#define _LOAD_ATTR_CLASS 390
|
||||
#define _LOAD_ATTR_CLASS_0 391
|
||||
#define _LOAD_ATTR_CLASS_1 392
|
||||
#define _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE 392
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE_0 393
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE_1 394
|
||||
#define _LOAD_ATTR_METHOD_LAZY_DICT 395
|
||||
#define _LOAD_ATTR_METHOD_NO_DICT 396
|
||||
#define _LOAD_ATTR_METHOD_WITH_VALUES 397
|
||||
#define _LOAD_ATTR_MODULE 398
|
||||
#define _LOAD_ATTR_NONDESCRIPTOR_NO_DICT 399
|
||||
#define _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES 400
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE 393
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE_0 394
|
||||
#define _LOAD_ATTR_INSTANCE_VALUE_1 395
|
||||
#define _LOAD_ATTR_METHOD_LAZY_DICT 396
|
||||
#define _LOAD_ATTR_METHOD_NO_DICT 397
|
||||
#define _LOAD_ATTR_METHOD_WITH_VALUES 398
|
||||
#define _LOAD_ATTR_MODULE 399
|
||||
#define _LOAD_ATTR_NONDESCRIPTOR_NO_DICT 400
|
||||
#define _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES 401
|
||||
#define _LOAD_ATTR_PROPERTY LOAD_ATTR_PROPERTY
|
||||
#define _LOAD_ATTR_SLOT 401
|
||||
#define _LOAD_ATTR_SLOT_0 402
|
||||
#define _LOAD_ATTR_SLOT_1 403
|
||||
#define _LOAD_ATTR_WITH_HINT 404
|
||||
#define _LOAD_ATTR_SLOT 402
|
||||
#define _LOAD_ATTR_SLOT_0 403
|
||||
#define _LOAD_ATTR_SLOT_1 404
|
||||
#define _LOAD_ATTR_WITH_HINT 405
|
||||
#define _LOAD_BUILD_CLASS LOAD_BUILD_CLASS
|
||||
#define _LOAD_CONST LOAD_CONST
|
||||
#define _LOAD_CONST_INLINE 405
|
||||
#define _LOAD_CONST_INLINE_BORROW 406
|
||||
#define _LOAD_CONST_INLINE_BORROW_WITH_NULL 407
|
||||
#define _LOAD_CONST_INLINE_WITH_NULL 408
|
||||
#define _LOAD_CONST_INLINE 406
|
||||
#define _LOAD_CONST_INLINE_BORROW 407
|
||||
#define _LOAD_CONST_INLINE_BORROW_WITH_NULL 408
|
||||
#define _LOAD_CONST_INLINE_WITH_NULL 409
|
||||
#define _LOAD_DEREF LOAD_DEREF
|
||||
#define _LOAD_FAST 409
|
||||
#define _LOAD_FAST_0 410
|
||||
#define _LOAD_FAST_1 411
|
||||
#define _LOAD_FAST_2 412
|
||||
#define _LOAD_FAST_3 413
|
||||
#define _LOAD_FAST_4 414
|
||||
#define _LOAD_FAST_5 415
|
||||
#define _LOAD_FAST_6 416
|
||||
#define _LOAD_FAST_7 417
|
||||
#define _LOAD_FAST 410
|
||||
#define _LOAD_FAST_0 411
|
||||
#define _LOAD_FAST_1 412
|
||||
#define _LOAD_FAST_2 413
|
||||
#define _LOAD_FAST_3 414
|
||||
#define _LOAD_FAST_4 415
|
||||
#define _LOAD_FAST_5 416
|
||||
#define _LOAD_FAST_6 417
|
||||
#define _LOAD_FAST_7 418
|
||||
#define _LOAD_FAST_AND_CLEAR LOAD_FAST_AND_CLEAR
|
||||
#define _LOAD_FAST_CHECK LOAD_FAST_CHECK
|
||||
#define _LOAD_FAST_LOAD_FAST LOAD_FAST_LOAD_FAST
|
||||
#define _LOAD_FROM_DICT_OR_DEREF LOAD_FROM_DICT_OR_DEREF
|
||||
#define _LOAD_FROM_DICT_OR_GLOBALS LOAD_FROM_DICT_OR_GLOBALS
|
||||
#define _LOAD_GLOBAL 418
|
||||
#define _LOAD_GLOBAL_BUILTINS 419
|
||||
#define _LOAD_GLOBAL_MODULE 420
|
||||
#define _LOAD_GLOBAL 419
|
||||
#define _LOAD_GLOBAL_BUILTINS 420
|
||||
#define _LOAD_GLOBAL_MODULE 421
|
||||
#define _LOAD_LOCALS LOAD_LOCALS
|
||||
#define _LOAD_NAME LOAD_NAME
|
||||
#define _LOAD_SUPER_ATTR_ATTR LOAD_SUPER_ATTR_ATTR
|
||||
|
@ -222,50 +223,51 @@ extern "C" {
|
|||
#define _MATCH_SEQUENCE MATCH_SEQUENCE
|
||||
#define _NOP NOP
|
||||
#define _POP_EXCEPT POP_EXCEPT
|
||||
#define _POP_FRAME 421
|
||||
#define _POP_JUMP_IF_FALSE 422
|
||||
#define _POP_JUMP_IF_TRUE 423
|
||||
#define _POP_FRAME 422
|
||||
#define _POP_JUMP_IF_FALSE 423
|
||||
#define _POP_JUMP_IF_TRUE 424
|
||||
#define _POP_TOP POP_TOP
|
||||
#define _POP_TOP_LOAD_CONST_INLINE_BORROW 424
|
||||
#define _POP_TOP_LOAD_CONST_INLINE_BORROW 425
|
||||
#define _PUSH_EXC_INFO PUSH_EXC_INFO
|
||||
#define _PUSH_FRAME 425
|
||||
#define _PUSH_FRAME 426
|
||||
#define _PUSH_NULL PUSH_NULL
|
||||
#define _REPLACE_WITH_TRUE 426
|
||||
#define _REPLACE_WITH_TRUE 427
|
||||
#define _RESUME_CHECK RESUME_CHECK
|
||||
#define _RETURN_GENERATOR RETURN_GENERATOR
|
||||
#define _SAVE_RETURN_OFFSET 427
|
||||
#define _SEND 428
|
||||
#define _SAVE_RETURN_OFFSET 428
|
||||
#define _SEND 429
|
||||
#define _SEND_GEN SEND_GEN
|
||||
#define _SETUP_ANNOTATIONS SETUP_ANNOTATIONS
|
||||
#define _SET_ADD SET_ADD
|
||||
#define _SET_FUNCTION_ATTRIBUTE SET_FUNCTION_ATTRIBUTE
|
||||
#define _SET_UPDATE SET_UPDATE
|
||||
#define _SIDE_EXIT 429
|
||||
#define _START_EXECUTOR 430
|
||||
#define _STORE_ATTR 431
|
||||
#define _STORE_ATTR_INSTANCE_VALUE 432
|
||||
#define _STORE_ATTR_SLOT 433
|
||||
#define _SIDE_EXIT 430
|
||||
#define _START_EXECUTOR 431
|
||||
#define _STORE_ATTR 432
|
||||
#define _STORE_ATTR_INSTANCE_VALUE 433
|
||||
#define _STORE_ATTR_SLOT 434
|
||||
#define _STORE_ATTR_WITH_HINT STORE_ATTR_WITH_HINT
|
||||
#define _STORE_DEREF STORE_DEREF
|
||||
#define _STORE_FAST 434
|
||||
#define _STORE_FAST_0 435
|
||||
#define _STORE_FAST_1 436
|
||||
#define _STORE_FAST_2 437
|
||||
#define _STORE_FAST_3 438
|
||||
#define _STORE_FAST_4 439
|
||||
#define _STORE_FAST_5 440
|
||||
#define _STORE_FAST_6 441
|
||||
#define _STORE_FAST_7 442
|
||||
#define _STORE_FAST 435
|
||||
#define _STORE_FAST_0 436
|
||||
#define _STORE_FAST_1 437
|
||||
#define _STORE_FAST_2 438
|
||||
#define _STORE_FAST_3 439
|
||||
#define _STORE_FAST_4 440
|
||||
#define _STORE_FAST_5 441
|
||||
#define _STORE_FAST_6 442
|
||||
#define _STORE_FAST_7 443
|
||||
#define _STORE_FAST_LOAD_FAST STORE_FAST_LOAD_FAST
|
||||
#define _STORE_FAST_STORE_FAST STORE_FAST_STORE_FAST
|
||||
#define _STORE_GLOBAL STORE_GLOBAL
|
||||
#define _STORE_NAME STORE_NAME
|
||||
#define _STORE_SLICE STORE_SLICE
|
||||
#define _STORE_SUBSCR 443
|
||||
#define _STORE_SUBSCR 444
|
||||
#define _STORE_SUBSCR_DICT STORE_SUBSCR_DICT
|
||||
#define _STORE_SUBSCR_LIST_INT STORE_SUBSCR_LIST_INT
|
||||
#define _SWAP SWAP
|
||||
#define _TO_BOOL 444
|
||||
#define _TIER2_RESUME_CHECK 445
|
||||
#define _TO_BOOL 446
|
||||
#define _TO_BOOL_BOOL TO_BOOL_BOOL
|
||||
#define _TO_BOOL_INT TO_BOOL_INT
|
||||
#define _TO_BOOL_LIST TO_BOOL_LIST
|
||||
|
@ -275,12 +277,12 @@ extern "C" {
|
|||
#define _UNARY_NEGATIVE UNARY_NEGATIVE
|
||||
#define _UNARY_NOT UNARY_NOT
|
||||
#define _UNPACK_EX UNPACK_EX
|
||||
#define _UNPACK_SEQUENCE 445
|
||||
#define _UNPACK_SEQUENCE 447
|
||||
#define _UNPACK_SEQUENCE_LIST UNPACK_SEQUENCE_LIST
|
||||
#define _UNPACK_SEQUENCE_TUPLE UNPACK_SEQUENCE_TUPLE
|
||||
#define _UNPACK_SEQUENCE_TWO_TUPLE UNPACK_SEQUENCE_TWO_TUPLE
|
||||
#define _WITH_EXCEPT_START WITH_EXCEPT_START
|
||||
#define MAX_UOP_ID 445
|
||||
#define MAX_UOP_ID 447
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue