one more added assert.

llvm-svn: 75088
This commit is contained in:
Chris Lattner 2009-07-09 02:43:55 +00:00
parent 44f6bcfa0b
commit b1f0ac2a2f
1 changed files with 3 additions and 1 deletions

View File

@ -405,8 +405,10 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MachineInstr *MI, unsigned OpNo) {
O << ']';
}
if (shouldPrintPLT(TM, Subtarget))
if (shouldPrintPLT(TM, Subtarget)) {
O << "@PLT";
assert(MO.getTargetFlags() == 0);
}
if (needCloseParen)
O << ')';