diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2023-09-16 00:10:42 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-15 21:46:38 -0700 |
| commit | 6df78c3bc17e5922792fcef0025043c358daa52f (patch) | |
| tree | 08cef0a28f498b9bd946714d4bc91ddf284fa166 /src/codegen/spirv/Cache.zig | |
| parent | 61b70778bdf975957d45432987dde16029aca69a (diff) | |
| download | zig-6df78c3bc17e5922792fcef0025043c358daa52f.tar.gz zig-6df78c3bc17e5922792fcef0025043c358daa52f.zip | |
Sema: mark pointers to inline functions as comptime-only
This is supposed to be the case, similar to how pointers to generic
functions are comptime-only (several pieces of logic already assumed
this). These types being considered runtime was causing `dbg_var_val`
AIR instructions to be wrongly emitted for such values, causing codegen
backends to create a runtime reference to the inline function, which (at
least on the LLVM backend) triggers an error.
Resolves: #38
Diffstat (limited to 'src/codegen/spirv/Cache.zig')
0 files changed, 0 insertions, 0 deletions
