diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-05-07 11:47:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 11:47:21 (GMT) |
commit | 04859228aa11756558807bcf99ccff78e4e8c56d (patch) | |
tree | 050ba0bb7abecaa1b007267a774e07bcfa1f1f99 /Python/sysmodule.c | |
parent | 48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b (diff) | |
download | cpython-04859228aa11756558807bcf99ccff78e4e8c56d.zip cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.gz cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.bz2 |
gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores (#118693)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 601d8ae..4da13e4 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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) { |