aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 7af4648c79..b0b9d6bc00 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -1251,11 +1251,10 @@ fn astgenAndSemaFn(
.param_types = param_types,
.cc = cc,
});
- } else
- try astgen.addZirInstTag(mod, &fn_type_scope.base, fn_src, .fn_type, .{
- .return_type = return_type_inst,
- .param_types = param_types,
- });
+ } else try astgen.addZirInstTag(mod, &fn_type_scope.base, fn_src, .fn_type, .{
+ .return_type = return_type_inst,
+ .param_types = param_types,
+ });
if (std.builtin.mode == .Debug and mod.comp.verbose_ir) {
zir.dumpZir(mod.gpa, "fn_type", decl.name, fn_type_scope.instructions.items) catch {};