gh-118518: Rename PYTHONPERFJITSUPPORT and -X perfjit with underscores (#118693)

This commit is contained in:
Hugo van Kemenade 2024-05-07 13:47:21 +02:00 committed by GitHub
parent 48e52fe2c9
commit 04859228aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 20 additions and 20 deletions

View file

@ -2294,7 +2294,7 @@ sys_activate_stack_trampoline_impl(PyObject *module, const char *backend)
return NULL;
}
}
else if (strcmp(backend, "perfjit") == 0) {
else if (strcmp(backend, "perf_jit") == 0) {
_PyPerf_Callbacks cur_cb;
_PyPerfTrampoline_GetCallbacks(&cur_cb);
if (cur_cb.write_state != _Py_perfmap_jit_callbacks.write_state) {