Commit 5abe2dc
committed
Do not use void pointer for
I couldn't find where exactly it's documented, but apperantly pointers to void
type are invalid in llvm - void is only allowed as a return type of functions.ptr_mask intrinsic1 parent ccc558a commit 5abe2dc
File tree
2 files changed
+3
-4
lines changed- compiler/rustc_codegen_llvm/src
- src/test/codegen/intrinsics
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
659 | 658 | | |
660 | 659 | | |
661 | 660 | | |
| |||
899 | 898 | | |
900 | 899 | | |
901 | 900 | | |
902 | | - | |
| 901 | + | |
903 | 902 | | |
904 | 903 | | |
905 | 904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
0 commit comments