diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 91b2bb8f28a..e6d56244c9c 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -132,10 +132,10 @@ void AsmPrinter::EmitConstantPool(MachineConstantPool *MCP) { if (TAI->getFourByteConstantSection() && TM.getTargetData()->getTypeSize(Ty) == 4) FourByteCPs.push_back(std::make_pair(CPE, i)); - else if (TAI->getSectionEndDirectiveSuffix() && + else if (TAI->getEightByteConstantSection() && TM.getTargetData()->getTypeSize(Ty) == 8) EightByteCPs.push_back(std::make_pair(CPE, i)); - else if (TAI->getSectionEndDirectiveSuffix() && + else if (TAI->getSixteenByteConstantSection() && TM.getTargetData()->getTypeSize(Ty) == 16) SixteenByteCPs.push_back(std::make_pair(CPE, i)); else