mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
gh-115778: Add tierN
annotation for instruction definitions (#115815)
This replaces the old `TIER_{ONE,TWO}_ONLY` macros. Note that `specialized` implies `tier1`. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
59057ce55a
commit
e4561e0501
13 changed files with 56 additions and 147 deletions
|
@ -372,12 +372,6 @@ static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate) {
|
|||
tstate->py_recursion_remaining++;
|
||||
}
|
||||
|
||||
/* 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue