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; }