Skip to content

Commit cde996c

Browse files
committed
[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.
1 parent 169c32e commit cde996c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/COFF/SymbolTable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void forceLazy(Symbol *s) {
116116
}
117117
case Symbol::Kind::LazyObjectKind: {
118118
InputFile *file = cast<LazyObject>(s)->file;
119-
file->symtab.ctx.symtab.addFile(file);
119+
file->symtab.addFile(file);
120120
break;
121121
}
122122
case Symbol::Kind::LazyDLLSymbolKind: {

0 commit comments

Comments
 (0)