diff options
author | Mark Shannon <mark@hotpy.org> | 2023-10-12 09:34:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 09:34:32 (GMT) |
commit | 19b7ead5eb2fd1a0d19403e800a6f3adffbaac69 (patch) | |
tree | 06d2c2db6d13cab161597286d03225659c3e91f9 /Python/ceval_macros.h | |
parent | fb7843ee895ac7f6eeb58f356b1a320eea081cfc (diff) | |
download | cpython-19b7ead5eb2fd1a0d19403e800a6f3adffbaac69.zip cpython-19b7ead5eb2fd1a0d19403e800a6f3adffbaac69.tar.gz cpython-19b7ead5eb2fd1a0d19403e800a6f3adffbaac69.tar.bz2 |
GH-109214: Convert _SAVE_CURRENT_IP to _SET_IP in tier 2 trace creation. (GH-110755)
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r-- | Python/ceval_macros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h index 872e0a2..bd28126 100644 --- a/Python/ceval_macros.h +++ b/Python/ceval_macros.h @@ -372,6 +372,9 @@ static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate) { /* Marker to specify tier 1 only instructions */ #define TIER_ONE_ONLY +/* Marker to specify tier 2 only instructions */ +#define TIER_TWO_ONLY + /* Implementation of "macros" that modify the instruction pointer, * stack pointer, or frame pointer. * These need to treated differently by tier 1 and 2. */ |