Skip to content

Commit 14161c6

Browse files
committed
fix msvc build
1 parent fd9595b commit 14161c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontends/llvm/l2s_instr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,11 @@ EmittedInstr convert_instruction(Parser* p, Node* fn_or_bb, BodyBuilder* b, LLVM
394394
String name = get_string_literal(target->arena, name_node);
395395
assert(name);
396396
set_variable_name((Node*) target, name);
397-
return (EmittedInstr) {};
397+
return (EmittedInstr) { 0 };
398398
}
399399
if (strcmp(intrinsic, "llvm.dbg.label") == 0) {
400400
// TODO
401-
return (EmittedInstr) {};
401+
return (EmittedInstr) { 0 };
402402
}
403403
if (string_starts_with(intrinsic, "llvm.memcpy")) {
404404
Nodes ops = convert_operands(p, num_ops, instr);

0 commit comments

Comments
 (0)