fix comments to be correct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-25 01:15:47 +00:00
parent 0a1cb1ea86
commit 4b950ec072

View File

@ -415,7 +415,7 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MachineInstr *MI, unsigned OpNo) {
// call .piclabel
// piclabel:
// popl %some_register
// addl $_GLOBAL_ADDRESS_TABLE_ + [.-piclabel], %some_register
// addl $__GLOBAL_OFFSET_TABLE_ + [.-piclabel], %some_register
O << " + [.-";
PrintPICBaseSymbol();
O << ']';
@ -643,7 +643,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
// call .piclabel
// piclabel:
// popl %some_register
// addl $_GLOBAL_ADDRESS_TABLE_ + [.-piclabel], %some_register
// addl $__GLOBAL_OFFSET_TABLE_ + [.-piclabel], %some_register
O << " + [.-";
PrintPICBaseSymbol();
O << ']';