ELF2: Avoid bitwise-OR hack. NFC.

The previous code is too clever that that needs a bit more
brain power than this new code.

llvm-svn: 250934
diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp
index 5a1596a..11ca77c 100644
--- a/lld/ELF/Symbols.cpp
+++ b/lld/ELF/Symbols.cpp
@@ -43,8 +43,8 @@
   Visibility = Other->Visibility =
       getMinVisibility(Visibility, Other->Visibility);
 
-  IsUsedInRegularObj |= Other->IsUsedInRegularObj;
-  Other->IsUsedInRegularObj |= IsUsedInRegularObj;
+  if (IsUsedInRegularObj || Other->IsUsedInRegularObj)
+    IsUsedInRegularObj = Other->IsUsedInRegularObj = true;
 
   if (L != R)
     return -1;