aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-09-02 19:49:11 +0300
committerVeikka Tuominen <git@vexu.eu>2022-09-02 19:49:11 +0300
commit6aee07c1446f3ce98d326998c887fbca3b7fd945 (patch)
treeba0dbe68453d8ac431c9ba7aabd4f2cd40a18a56 /src/Module.zig
parentf281f3d10e4eaedc7c68afc4fcbbfd35e1f29a0f (diff)
downloadzig-6aee07c1446f3ce98d326998c887fbca3b7fd945.tar.gz
zig-6aee07c1446f3ce98d326998c887fbca3b7fd945.zip
Sema: remove unused src param from typeRequiresComptime
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 9410c4ea4a..c63fe43158 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -4635,7 +4635,7 @@ fn semaDecl(mod: *Module, decl_index: Decl.Index) !bool {
decl.analysis = .complete;
decl.generation = mod.generation;
- const has_runtime_bits = try sema.fnHasRuntimeBits(&block_scope, ty_src, decl.ty);
+ const has_runtime_bits = try sema.fnHasRuntimeBits(decl.ty);
if (has_runtime_bits) {
// We don't fully codegen the decl until later, but we do need to reserve a global