diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-19 04:44:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-19 04:44:30 +0000 |
commit | 65a7bd8b8e111c51a51278ab46f1a1c91744441b (patch) | |
tree | eb094e0c4471ac1ed023f30c081d526fafea894f /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 2c69184fd6c982349b1a7a7a06596418ea7702f2 (diff) |
don't use the result of WriteTypeSymbolic or WriteAsOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 380b3bc214..2eccc36ccf 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -269,7 +269,8 @@ void AsmPrinter::EmitConstantPool(unsigned Alignment, const char *Section, for (unsigned i = 0, e = CP.size(); i != e; ++i) { O << TAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << '_' << CP[i].second << ":\t\t\t\t\t" << TAI->getCommentString() << ' '; - WriteTypeSymbolic(O, CP[i].first.getType(), 0) << '\n'; + WriteTypeSymbolic(O, CP[i].first.getType(), 0); + O << '\n'; if (CP[i].first.isMachineConstantPoolEntry()) EmitMachineConstantPoolValue(CP[i].first.Val.MachineCPVal); else |