diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-26 22:06:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 22:06:58 +0000 |
| commit | 08633c0eacebe29cae3fa2b330564954cef63a77 (patch) | |
| tree | 5ead2ca4af501492f3135fd97895ea0d2f56215c /lib/Target/MSP430/AsmPrinter | |
| parent | 5145bef2efe8eadea3cda8fabd23e1249256fd2d (diff) | |
| download | external_llvm-08633c0eacebe29cae3fa2b330564954cef63a77.zip external_llvm-08633c0eacebe29cae3fa2b330564954cef63a77.tar.gz external_llvm-08633c0eacebe29cae3fa2b330564954cef63a77.tar.bz2 | |
call emitconstantpool and emitjumptable like other targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/AsmPrinter')
| -rw-r--r-- | lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index 4748cc5..3f832c8 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; } |
