aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/c.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen/c.zig b/src/codegen/c.zig
index 0fdf5cb01b..441449707a 100644
--- a/src/codegen/c.zig
+++ b/src/codegen/c.zig
@@ -1036,11 +1036,11 @@ fn genAsm(o: *Object, as: *Inst.Assembly) !CValue {
}
const volatile_string: []const u8 = if (as.is_volatile) "volatile " else "";
try writer.print("__asm {s}(\"{s}\"", .{ volatile_string, as.asm_source });
- if (as.output) |_| {
- return o.dg.fail(.{ .node_offset = 0 }, "TODO inline asm output", .{});
+ if (as.output_constraint) |_| {
+ return o.dg.fail(.{ .node_offset = 0 }, "TODO: CBE inline asm output", .{});
}
if (as.inputs.len > 0) {
- if (as.output == null) {
+ if (as.output_constraint == null) {
try writer.writeAll(" :");
}
try writer.writeAll(": ");