aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-02-24 21:54:23 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-02-24 21:54:23 -0700
commit449f4de3825d3448c2aa0cda79c1a567adb08b59 (patch)
treeec2c79770135e854560743c489aa4b5eea7554ac /src/Module.zig
parent9b8a94265ab7313f07b300ddc349a60c85d556d1 (diff)
downloadzig-449f4de3825d3448c2aa0cda79c1a567adb08b59.tar.gz
zig-449f4de3825d3448c2aa0cda79c1a567adb08b59.zip
zig fmt src/
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 {};