Commit 77453e1
fix: drop bogus i64 return from cairo_native__dict_squash MLIR call (#1638)
The MLIR `llvm.call` to `cairo_native__dict_squash` declared an i64
result, but the C function returns void. The declared result was unused
and only harmless because dead-value elimination removed it; it is a
genuine ABI mismatch that could surface at higher OptLevels.
Remove `.add_results(...)` to match the void signature, matching the
pattern of other void calls like `dict_into_entries`, and fix the
copy-pasted doc comment.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c9b70b8 commit 77453e1
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
834 | 834 | | |
835 | | - | |
836 | | - | |
837 | | - | |
| 835 | + | |
838 | 836 | | |
839 | 837 | | |
840 | 838 | | |
| |||
856 | 854 | | |
857 | 855 | | |
858 | 856 | | |
859 | | - | |
860 | 857 | | |
861 | 858 | | |
862 | 859 | | |
| |||
0 commit comments