[llvm-commits] [llvm] r94601 - /llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Tue Jan 26 14:06:58 PST 2010
Author: lattner
Date: Tue Jan 26 16:06:58 2010
New Revision: 94601
URL: http://llvm.org/viewvc/llvm-project?rev=94601&view=rev
Log:
call emitconstantpool and emitjumptable like other targets.
Modified:
llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
Modified: llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp?rev=94601&r1=94600&r2=94601&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp Tue Jan 26 16:06:58 2010
@@ -142,6 +142,10 @@
if (MAI->hasDotTypeDotSizeDirective())
O << "\t.size\t" << *CurrentFnSym << ", .-" << *CurrentFnSym << '\n';
+ // Print out constants referenced by the function
+ EmitConstantPool(MF.getConstantPool());
+ EmitJumpTableInfo(MF);
+
// We didn't modify anything
return false;
}
More information about the llvm-commits
mailing list