[llvm-commits] [llvm] r75088 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Jul 8 19:43:56 PDT 2009
Author: lattner
Date: Wed Jul 8 21:43:55 2009
New Revision: 75088
URL: http://llvm.org/viewvc/llvm-project?rev=75088&view=rev
Log:
one more added assert.
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp?rev=75088&r1=75087&r2=75088&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Wed Jul 8 21:43:55 2009
@@ -405,8 +405,10 @@
O << ']';
}
- if (shouldPrintPLT(TM, Subtarget))
+ if (shouldPrintPLT(TM, Subtarget)) {
O << "@PLT";
+ assert(MO.getTargetFlags() == 0);
+ }
if (needCloseParen)
O << ')';
More information about the llvm-commits
mailing list