aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-10 15:42:57 -0700
committerJakub Konka <kubkon@jakubkonka.com>2022-02-12 11:18:23 +0100
commitf293fbbeaf6c48e6ce1410743181f89f359eb697 (patch)
treea9df71d5e092872e8ba68a03337a03c3481f486b /src/value.zig
parentbeb275b371cd50ee1d57528d2792f2f267e6013d (diff)
downloadzig-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 'src/value.zig')
0 files changed, 0 insertions, 0 deletions