Simplify. NFC.

llvm-svn: 289062
This commit is contained in:
Rafael Espindola 2016-12-08 15:36:58 +00:00
parent 872764f6fe
commit 39c16dfbce
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ SymbolTable<ELFT>::findAllDemangled(StringRef GlobPat) {
// In this function, we make specified symbols global.
template <class ELFT> void SymbolTable<ELFT>::handleAnonymousVersion() {
for (SymbolVersion &Ver : Config->VersionScriptGlobals) {
if (hasWildcard(Ver.Name)) {
if (Ver.HasWildcard) {
for (SymbolBody *B : findAll(Ver.Name))
B->symbol()->VersionId = VER_NDX_GLOBAL;
continue;