diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-18 22:54:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-18 22:54:59 -0700 |
| commit | abdbc11c7efb2f83804af64ac2fec10b972cdf2a (patch) | |
| tree | d2fd1e951676696e8c682fd28ea07bae0007f107 /src/codegen.zig | |
| parent | bd2154da3d90daa4520ee7ef69dac42f9049ed92 (diff) | |
| download | zig-abdbc11c7efb2f83804af64ac2fec10b972cdf2a.tar.gz zig-abdbc11c7efb2f83804af64ac2fec10b972cdf2a.zip | |
stage2: codegen: update asm IR to new names
Diffstat (limited to 'src/codegen.zig')
| -rw-r--r-- | src/codegen.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen.zig b/src/codegen.zig index 6649226426..8c18c6777b 100644 --- a/src/codegen.zig +++ b/src/codegen.zig @@ -2762,7 +2762,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { return self.fail(inst.base.src, "TODO implement support for more arm assembly instructions", .{}); } - if (inst.output) |output| { + if (inst.output_name) |output| { if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') { return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output}); } @@ -2794,7 +2794,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { return self.fail(inst.base.src, "TODO implement support for more aarch64 assembly instructions", .{}); } - if (inst.output) |output| { + if (inst.output_name) |output| { if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') { return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output}); } @@ -2824,7 +2824,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { return self.fail(inst.base.src, "TODO implement support for more riscv64 assembly instructions", .{}); } - if (inst.output) |output| { + if (inst.output_name) |output| { if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') { return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output}); } |
