diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-01-19 18:14:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 18:14:55 (GMT) |
commit | e9ccfe4a636d5fe33f65cea2605c3621ffa55f19 (patch) | |
tree | 56949db98d45d3f744f893e6f8d4909041a679fc /Include/opcode.h | |
parent | a1e051a23736fdf3da812363bcaf32e53a294f03 (diff) | |
download | cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.zip cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.tar.gz cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.tar.bz2 |
gh-100712: make it possible to disable specialization (for debugging) (#100713)
Diffstat (limited to 'Include/opcode.h')
-rw-r--r-- | Include/opcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index e057a44..827f993 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -226,6 +226,8 @@ extern "C" { #define NB_INPLACE_TRUE_DIVIDE 24 #define NB_INPLACE_XOR 25 +/* Defined in Lib/opcode.py */ +#define ENABLE_SPECIALIZATION 1 #define IS_PSEUDO_OPCODE(op) (((op) >= MIN_PSEUDO_OPCODE) && ((op) <= MAX_PSEUDO_OPCODE)) |