From 3ba6da49f55809cc2ee88ecdcafa34b456b09343 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 26 Jan 2010 22:06:58 +0000 Subject: [PATCH] call emitconstantpool and emitjumptable like other targets. llvm-svn: 94601 --- llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index 4748cc55eaea..3f832c889546 100644 --- a/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp +++ b/llvm/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; }