diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-18 02:22:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-18 02:22:55 +0000 |
commit | f746a7d09b219619b16ffa875e762d6e24868d6f (patch) | |
tree | 51be9a351ad3c9880f3a44fd308255b4094f01bc /lib/Target/X86 | |
parent | b6e678b1c8ff07e3ba681f1f365762ef8c4d84f7 (diff) | |
download | external_llvm-f746a7d09b219619b16ffa875e762d6e24868d6f.zip external_llvm-f746a7d09b219619b16ffa875e762d6e24868d6f.tar.gz external_llvm-f746a7d09b219619b16ffa875e762d6e24868d6f.tar.bz2 |
Rename var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index e137277..a0f046b 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -150,7 +150,7 @@ void X86AsmPrinter::printConstantPool(MachineConstantPool *MCP) { for (unsigned i = 0, e = CP.size(); i != e; ++i) { O << "\t.section .rodata\n"; emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType())); - O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentChar + O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString << *CP[i] << "\n"; emitGlobalConstant(CP[i]); } @@ -178,7 +178,7 @@ bool X86AsmPrinter::runOnMachineFunction(MachineFunction &MF) { I != E; ++I) { // Print a label for the basic block. O << ".LBB" << CurrentFnName << "_" << I->getNumber() << ":\t" - << CommentChar << " " << I->getBasicBlock()->getName() << "\n"; + << CommentString << " " << I->getBasicBlock()->getName() << "\n"; for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end(); II != E; ++II) { // Print the assembly for the instruction. |