/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.14.4
Tools/jit/jit.h
8 строк
426 B
Brandt Bucher
GH-129709: Clean up tier two (GH-129710)
07 фев 2025, 20:52
Не верифицирован
07 фев 2025, 20:52
70e387c
Код
Авторство
О чём код?
// To use preserve_none in JIT builds, we need to declare a separate function // pointer with __attribute__((preserve_none)), since this attribute may not be // supported by the compiler used to build the rest of the interpreter. typedef jit_func __attribute__((preserve_none)) jit_func_preserve_none; #define PATCH_VALUE(TYPE, NAME, ALIAS) \ PyAPI_DATA(void) ALIAS; \ TYPE NAME = (TYPE)(uintptr_t)&ALIAS;