diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-17 22:54:56 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-17 22:54:56 -0700 |
| commit | 66245ac834969b84548ec325ee20a6910456e5ec (patch) | |
| tree | 8cc868711c42c16843e0a7f5bc18c7e3de9c4629 /src/link/Coff.zig | |
| parent | 38b3d4b00a693dd91af578d06dfe4ac6071d4536 (diff) | |
| download | zig-66245ac834969b84548ec325ee20a6910456e5ec.tar.gz zig-66245ac834969b84548ec325ee20a6910456e5ec.zip | |
stage2: Module and Sema are compiling again
Next up is reworking the seam between the LazySrcLoc emitted by Sema
and the byte offsets currently expected by codegen.
And then the big one: updating astgen.zig to use the new memory layout.
Diffstat (limited to 'src/link/Coff.zig')
| -rw-r--r-- | src/link/Coff.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Coff.zig b/src/link/Coff.zig index 8b2b13eb71..308164ac95 100644 --- a/src/link/Coff.zig +++ b/src/link/Coff.zig @@ -727,7 +727,7 @@ pub fn freeDecl(self: *Coff, decl: *Module.Decl) void { self.offset_table_free_list.append(self.base.allocator, decl.link.coff.offset_table_index) catch {}; } -pub fn updateDeclExports(self: *Coff, module: *Module, decl: *const Module.Decl, exports: []const *Module.Export) !void { +pub fn updateDeclExports(self: *Coff, module: *Module, decl: *Module.Decl, exports: []const *Module.Export) !void { if (self.llvm_ir_module) |_| return; for (exports) |exp| { |
