one more added assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-09 02:43:55 +00:00
parent 39f56b6d16
commit 7c10e0e26c

View File

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