From cde996c31d6fb6ae1bbbc79aa71dff2b7fc0a8ae Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 17 Dec 2024 16:26:23 -0500 Subject: [PATCH] [lld/COFF] Remove needless indirection `symtab.ctx.symtab` is just `symtab`. Looks like #119296 added this using a global find-and-replace. This was the only instance of `symtab.ctx.symtab` in lld/. No behavior change. --- lld/COFF/SymbolTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp index 515239db029f..6b3375e13e83 100644 --- a/lld/COFF/SymbolTable.cpp +++ b/lld/COFF/SymbolTable.cpp @@ -116,7 +116,7 @@ static void forceLazy(Symbol *s) { } case Symbol::Kind::LazyObjectKind: { InputFile *file = cast(s)->file; - file->symtab.ctx.symtab.addFile(file); + file->symtab.addFile(file); break; } case Symbol::Kind::LazyDLLSymbolKind: {