mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Minor code clean up.
llvm-svn: 32067
This commit is contained in:
parent
5b43e8613e
commit
d326e5b35e
@ -256,9 +256,8 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
|
||||
O << Name;
|
||||
}
|
||||
|
||||
if (GV->hasExternalWeakLinkage()) {
|
||||
if (GV->hasExternalWeakLinkage())
|
||||
ExtWeakSymbols.insert(Name);
|
||||
}
|
||||
|
||||
int Offset = MO.getOffset();
|
||||
if (Offset > 0)
|
||||
|
@ -283,10 +283,9 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
O << "\t.ascii \" -export:" << *i << "\"\n";
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetCygwin()) {
|
||||
if (!Subtarget->isTargetCygwin()) {
|
||||
// There is no external weak linkage on Mingw32 platform.
|
||||
// Defaulting to external
|
||||
} else {
|
||||
if (ExtWeakSymbols.begin() != ExtWeakSymbols.end())
|
||||
SwitchToDataSection("");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user