diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-14 05:57:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-14 05:57:21 +0000 |
commit | 347d39f1fd8ad825a7ec5b8a3dce816723a56d42 (patch) | |
tree | b53cc576e0aba064bc5630eb5a5eddb28ee58fd1 /lib/Target/Alpha | |
parent | 296c1761416df3eb706dbcf5319f1f2267e1b4f7 (diff) | |
download | external_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.cpp | 8 |
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: |