one more assertion!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-09 00:49:29 +00:00
parent 033bcee4ef
commit 885ce84ab8

View File

@ -360,8 +360,10 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MachineInstr *MI, unsigned OpNo) {
if (shouldPrintPLT(TM, Subtarget)) { if (shouldPrintPLT(TM, Subtarget)) {
// Assemble call via PLT for externally visible symbols // Assemble call via PLT for externally visible symbols
if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() && if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() &&
!GV->hasLocalLinkage()) !GV->hasLocalLinkage()) {
O << "@PLT"; O << "@PLT";
assert(MO.getTargetFlags() == 0);
}
} }
if (Subtarget->isTargetCygMing() && GV->isDeclaration()) if (Subtarget->isTargetCygMing() && GV->isDeclaration())
// Save function name for later type emission // Save function name for later type emission