diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-10 15:42:57 -0700 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-12 11:18:23 +0100 |
| commit | f293fbbeaf6c48e6ce1410743181f89f359eb697 (patch) | |
| tree | a9df71d5e092872e8ba68a03337a03c3481f486b /lib/std/math.zig | |
| parent | beb275b371cd50ee1d57528d2792f2f267e6013d (diff) | |
| download | zig-f293fbbeaf6c48e6ce1410743181f89f359eb697.tar.gz zig-f293fbbeaf6c48e6ce1410743181f89f359eb697.zip | |
stage2: LLVM backend: adjust replaceAllUsesWith usage
replaceAllUsesWith requires the type to be unchanged. So we bitcast
the new global to the old type and use that as the thing to replace
old uses.
Fixes an LLVM assertion found while troubleshooting #10837.
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions
