Commit 4f9313e
committed
pythongh-141579: Fix perf_jit backend in sys.activate_stack_trampoline()
The perf_jit backend was unreachable due to incorrect if-else nesting
in the backend selection logic. The else-if checking for "perf_jit"
was nested inside the if statement checking for "perf", making it
impossible to activate the perf_jit trampoline.1 parent 46f11b3 commit 4f9313e
File tree
3 files changed
+28
-8
lines changed- Lib/test
- Misc/NEWS.d/next/Core_and_Builtins
- Python
3 files changed
+28
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
241 | 259 | | |
242 | 260 | | |
243 | 261 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2378 | 2378 | | |
2379 | 2379 | | |
2380 | 2380 | | |
2381 | | - | |
2382 | | - | |
2383 | | - | |
2384 | | - | |
2385 | | - | |
2386 | | - | |
2387 | | - | |
2388 | | - | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
2389 | 2389 | | |
2390 | 2390 | | |
2391 | 2391 | | |
| |||
0 commit comments