Commit 91a7791
Ralph Küpper
docs(codegen): state the site-slot publish obligation now that #9890 is fixed
The comment at the `Expr::RegExp` lowering described the artifact-discarding
bail-out in `codegen/method.rs` in the present tense. #9896 fixed it: every
return there now goes through `publish_lowered_fn_artifacts`, which drains all
three collections and restores `llmod.ic_counter`, closing the duplicate
site-id half as well.
Rewritten as the obligation rather than the bug — every lowering exit must
PUBLISH `typed_parse_rodata`, and a future early return that drops it breaks
this site loudly at the in-process LLVM parse. A comment describing a hazard
that no longer exists is a false lead, which is the thing it was written to
prevent.1 parent 78e8b9d commit 91a7791
1 file changed
Lines changed: 13 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1332 | 1330 | | |
1333 | 1331 | | |
1334 | 1332 | | |
| |||
0 commit comments