Simplify boolean test.

llvm-svn: 15145
This commit is contained in:
Misha Brukman 2004-07-23 21:43:26 +00:00
parent 1604b02c4c
commit 66c816a6a3
2 changed files with 2 additions and 2 deletions

View File

@ -462,7 +462,7 @@ void Printer::printOp(const MachineOperand &MO,
}
// External global variables need a non-lazily-resolved stub
if (GV->hasInternalLinkage() == false &&
if (!GV->hasInternalLinkage() &&
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
GVStubs.insert(Name);
O << "L" << Name << "$non_lazy_ptr";

View File

@ -462,7 +462,7 @@ void Printer::printOp(const MachineOperand &MO,
}
// External global variables need a non-lazily-resolved stub
if (GV->hasInternalLinkage() == false &&
if (!GV->hasInternalLinkage() &&
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
GVStubs.insert(Name);
O << "L" << Name << "$non_lazy_ptr";