macho: remove dead code

This commit is contained in:
Jakub Konka 2023-08-25 07:38:28 +02:00
parent e54f286c3b
commit 19afd794d0

View File

@ -788,11 +788,6 @@ pub fn flushModule(self: *MachO, comp: *Compilation, prog_node: *std.Progress.No
try d_sym.flushModule(self);
}
// if (build_options.enable_link_snapshots) {
// if (self.base.options.enable_link_snapshots)
// try self.snapshotState();
// }
if (cache_miss) {
// Update the file with the digest. If it fails we can continue; it only
// means that the next invocation will have an unnecessary cache miss.