summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 22:06:58 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 22:06:58 +0000
commit3ba6da49f55809cc2ee88ecdcafa34b456b09343 (patch)
treed84d9be3c382ac5007461cca26741a236e130b33 /llvm/lib
parent670ca2bcbf0fa2f91c9e75725cf0175161973a5b (diff)
downloadbcm5719-llvm-3ba6da49f55809cc2ee88ecdcafa34b456b09343.tar.gz
bcm5719-llvm-3ba6da49f55809cc2ee88ecdcafa34b456b09343.zip
call emitconstantpool and emitjumptable like other targets.
llvm-svn: 94601
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index 4748cc55eae..3f832c88954 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;
}
OpenPOWER on IntegriCloud