aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-05-18 17:01:45 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-05-20 02:47:20 -0700
commitcd04b49041200b36c5af23ac3700cbfa82f037ca (patch)
tree415600adaea3553fd3bf3020958812672f6aa97c /src/codegen/llvm.zig
parent5626bb45d24cd4a57a4f6a1c0f41ec0feb276f7b (diff)
downloadzig-cd04b49041200b36c5af23ac3700cbfa82f037ca.tar.gz
zig-cd04b49041200b36c5af23ac3700cbfa82f037ca.zip
stage2: fix `@call` when used in a comptime or nosuspend block
`@call` allows specifying the modifier explicitly, however it can still appear in a context that overrides the modifier. This commit adds flags to the BuiltinCall ZIR encoding. Since we have unused bits I also threw in the ensure_result_used mechanism. I also deleted a behavior test that was checking for bound function behavior where I think stage2 behavior is correct and stage1 behavior is incorrect.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions