diff options
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 725c9d00e5..209d012b24 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -36508,7 +36508,7 @@ pub fn analyzeAsAddressSpace( const address_space = try sema.interpretBuiltinType(block, src, addrspace_val, std.builtin.AddressSpace); const target = pt.zcu.getTarget(); - if (!target.cpu.supportsAddressSpace(address_space, ctx)) { + if (!target.supportsAddressSpace(address_space, ctx)) { // TODO error messages could be made more elaborate here const entity = switch (ctx) { .function => "functions", |
