authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-09-10 00:59:46+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-09-10 00:59:46+02:00
loga1b8545265b4fb47fe45287655f8885d092aa9df
tree46bd43fb2a97db64b90f317495ed7b8586911680
parent08248084441497489065d8f66e7f79d5e5115b7c

coff: remove unused function


1 files changed, 0 insertions(+), 10 deletions(-)

src/link/Coff/Atom.zig-10
......@@ -111,13 +111,3 @@ pub fn addBaseRelocation(self: *Atom, coff_file: *Coff, offset: u32) !void {
111111 }
112112 try gop.value_ptr.append(gpa, offset);
113113}
114
115pub fn addBinding(self: *Atom, coff_file: *Coff, target: SymbolWithLoc) !void {
116 const gpa = coff_file.base.allocator;
117 log.debug(" (adding binding to target %{d} in %{d})", .{ target.sym_index, self.sym_index });
118 const gop = try coff_file.bindings.getOrPut(gpa, self);
119 if (!gop.found_existing) {
120 gop.value_ptr.* = .{};
121 }
122 try gop.value_ptr.append(gpa, target);
123}