| ... | ... | @@ -115,6 +115,7 @@ pub fn createEmpty(gpa: *Allocator, options: link.Options) !*Plan9 { |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | pub fn updateDecl(self: *Plan9, module: *Module, decl: *Module.Decl) !void { |
| 118 | _ = module; |
| 118 | 119 | _ = try self.decl_table.getOrPut(self.base.allocator, decl); |
| 119 | 120 | } |
| 120 | 121 | |
| ... | ... | @@ -131,6 +132,7 @@ pub fn flush(self: *Plan9, comp: *Compilation) !void { |
| 131 | 132 | } |
| 132 | 133 | |
| 133 | 134 | pub fn flushModule(self: *Plan9, comp: *Compilation) !void { |
| 135 | _ = comp; |
| 134 | 136 | const tracy = trace(@src()); |
| 135 | 137 | defer tracy.end(); |
| 136 | 138 | |
| ... | ... | @@ -301,6 +303,10 @@ pub fn updateDeclExports( |
| 301 | 303 | exports: []const *Module.Export, |
| 302 | 304 | ) !void { |
| 303 | 305 | // we do all the things in flush |
| 306 | _ = self; |
| 307 | _ = module; |
| 308 | _ = decl; |
| 309 | _ = exports; |
| 304 | 310 | } |
| 305 | 311 | pub fn deinit(self: *Plan9) void { |
| 306 | 312 | self.decl_table.deinit(self.base.allocator); |