Commit c84928e
authored
* Enable specialization of CALL_KW
* Fix bug pushing frame in _PY_FRAME_KW
`_PY_FRAME_KW` pushes a pointer to the new frame onto the stack for
consumption by the next uop. When pushing the frame fails, we do not
want to push the result, `NULL`, to the stack because it is not
a valid stackref. This works in the default build because `PyStackRef_NULL`
and `NULL` are the same value, so the `PyStackRef_XCLOSE()` in the error
handler ignores it. In the free-threaded build the values are not the same;
`PyStackRef_XCLOSE()` will attempt to decref a null pointer.
1 parent e8f4e27 commit c84928e
File tree
4 files changed
+26
-35
lines changed- Python
4 files changed
+26
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4311 | 4311 | | |
4312 | 4312 | | |
4313 | 4313 | | |
4314 | | - | |
| 4314 | + | |
4315 | 4315 | | |
4316 | 4316 | | |
4317 | 4317 | | |
4318 | 4318 | | |
4319 | 4319 | | |
4320 | 4320 | | |
4321 | 4321 | | |
4322 | | - | |
| 4322 | + | |
4323 | 4323 | | |
4324 | 4324 | | |
| 4325 | + | |
4325 | 4326 | | |
4326 | 4327 | | |
4327 | 4328 | | |
| |||
4372 | 4373 | | |
4373 | 4374 | | |
4374 | 4375 | | |
4375 | | - | |
| 4376 | + | |
4376 | 4377 | | |
4377 | 4378 | | |
4378 | 4379 | | |
4379 | 4380 | | |
4380 | 4381 | | |
4381 | 4382 | | |
4382 | 4383 | | |
4383 | | - | |
| 4384 | + | |
4384 | 4385 | | |
4385 | 4386 | | |
4386 | 4387 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2107 | 2107 | | |
2108 | 2108 | | |
2109 | 2109 | | |
2110 | | - | |
| 2110 | + | |
2111 | 2111 | | |
2112 | 2112 | | |
2113 | 2113 | | |
| |||
2202 | 2202 | | |
2203 | 2203 | | |
2204 | 2204 | | |
2205 | | - | |
| 2205 | + | |
2206 | 2206 | | |
2207 | 2207 | | |
2208 | | - | |
2209 | 2208 | | |
2210 | 2209 | | |
2211 | 2210 | | |
| |||
2221 | 2220 | | |
2222 | 2221 | | |
2223 | 2222 | | |
2224 | | - | |
| 2223 | + | |
2225 | 2224 | | |
2226 | 2225 | | |
2227 | 2226 | | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
2232 | | - | |
2233 | | - | |
2234 | | - | |
2235 | | - | |
2236 | | - | |
| 2227 | + | |
2237 | 2228 | | |
2238 | 2229 | | |
2239 | 2230 | | |
| |||
0 commit comments