projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330186e
)
call emitconstantpool and emitjumptable like other targets.
author
Chris Lattner
<sabre@nondot.org>
Tue, 26 Jan 2010 22:06:58 +0000
(22:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 26 Jan 2010 22:06:58 +0000
(22:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94601
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index 4748cc55eaeacdd3ee0236632d639c315d248a4f..3f832c8895469ae5487a21ddca62cea277473514 100644
(file)
--- 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;
}