diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 16:29:54 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 16:29:54 +0000 |
commit | 96db51a3b6dfc28e6ed644630baf749acdb2c926 (patch) | |
tree | 0775048406b480af0434ca513bbcdc14eec9740f /llvm/lib/Target | |
parent | 53bb83bc43fb8441a30db90b0df21713e73f72e0 (diff) | |
download | bcm5719-llvm-96db51a3b6dfc28e6ed644630baf749acdb2c926.tar.gz bcm5719-llvm-96db51a3b6dfc28e6ed644630baf749acdb2c926.zip |
make constant pool labels local
llvm-svn: 22294
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp index 3f647d5cfe8..5caa5d9f772 100644 --- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -135,7 +135,7 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) { } case MachineOperand::MO_ConstantPoolIndex: - O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex(); + O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex(); return; case MachineOperand::MO_ExternalSymbol: @@ -226,7 +226,7 @@ void AlphaAsmPrinter::printConstantPool(MachineConstantPool *MCP) { for (unsigned i = 0, e = CP.size(); i != e; ++i) { // SwitchSection(O, "section .rodata, \"dr\""); emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType())); - O << "CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString + O << "$CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString << *CP[i] << "\n"; emitGlobalConstant(CP[i]); } |