aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-14 05:57:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-14 05:57:21 +0000
commit347d39f1fd8ad825a7ec5b8a3dce816723a56d42 (patch)
treeb53cc576e0aba064bc5630eb5a5eddb28ee58fd1 /lib/Target/Alpha
parent296c1761416df3eb706dbcf5319f1f2267e1b4f7 (diff)
downloadexternal_llvm-347d39f1fd8ad825a7ec5b8a3dce816723a56d42.zip
external_llvm-347d39f1fd8ad825a7ec5b8a3dce816723a56d42.tar.gz
external_llvm-347d39f1fd8ad825a7ec5b8a3dce816723a56d42.tar.bz2
Revert 42908 for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r--lib/Target/Alpha/AlphaAsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp
index f726ff9..412f282 100644
--- a/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -104,8 +104,8 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) {
return;
case MachineOperand::MO_ConstantPoolIndex:
- O << TAI->getPrivateGlobalPrefix() << "CPI" << MO.getConstantPoolIndex()
- << '_' << CurrentFnName;
+ O << TAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << "_"
+ << MO.getConstantPoolIndex();
return;
case MachineOperand::MO_ExternalSymbol:
@@ -121,8 +121,8 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) {
}
case MachineOperand::MO_JumpTableIndex:
- O << TAI->getPrivateGlobalPrefix() << "JTI" << MO.getJumpTableIndex()
- << '_' << CurrentFnName;
+ O << TAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber()
+ << '_' << MO.getJumpTableIndex();
return;
default: