motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 6b944492b5f35ce61591e1231dc6c8d44ccf17e3 (tree)
parent b4baa9eda2b4398d9fe0ea5847a8bb8dfdd16ba4
Author: jacob gw <jacoblevgw@gmail.com>
Date:   Tue, 20 Apr 2021 16:54:28 -0400

stage2: fix compile error in codegen

Diffstat:
Msrc/codegen.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/codegen.zig b/src/codegen.zig @@ -2721,7 +2721,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { return MCValue.dead; switch (arch) { .spu_2 => { - if (inst.inputs.len > 0 or inst.output != null) { + if (inst.inputs.len > 0 or inst.output_constraint != null) { return self.fail(inst.base.src, "TODO implement inline asm inputs / outputs for SPU Mark II", .{}); } if (mem.eql(u8, inst.asm_source, "undefined0")) {