OSDN Git Service

don't emit constant pools twice.
authorChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 00:15:18 +0000 (00:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 00:15:18 +0000 (00:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94706 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp

index 5d98dcd..3064f77 100644 (file)
@@ -110,7 +110,6 @@ bool MSP430AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
     O << "\t.size\t" << *CurrentFnSym << ", .-" << *CurrentFnSym << '\n';
 
   // Print out constants referenced by the function
-  EmitConstantPool(MF.getConstantPool());
   EmitJumpTableInfo(MF);
   
   // We didn't modify anything