From: Chris Lattner Date: Tue, 26 Jan 2010 22:06:58 +0000 (+0000) Subject: call emitconstantpool and emitjumptable like other targets. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=844be89d2db159c82ab83e8162319242252a3b53;p=oota-llvm.git call emitconstantpool and emitjumptable like other targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94601 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index 4748cc55eae..3f832c88954 100644 --- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp +++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp @@ -142,6 +142,10 @@ bool MSP430AsmPrinter::runOnMachineFunction(MachineFunction &MF) { 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; }