From c73ede0a9beaee2e11d004f816a8207d9bd79072 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 22 Mar 2008 07:53:40 +0000 Subject: [PATCH] Another comments fixing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48683 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 +- lib/Target/X86/X86ATTAsmPrinter.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 94eba83e05d..2f109a2018a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -822,7 +822,7 @@ SDOperand SelectionDAG::getGlobalAddress(const GlobalValue *GV, const GlobalVariable *GVar = dyn_cast(GV); if (!GVar) { - // If GV is an alias - use aliasee for determing thread-localness + // If GV is an alias then use the aliasee for determining thread-localness. if (const GlobalAlias *GA = dyn_cast(GV)) GVar = dyn_cast_or_null(GA->resolveAliasedGlobal()); } diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index ea003c33193..37afb46078f 100644 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp @@ -281,7 +281,8 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo, const GlobalValue *GV = MO.getGlobal(); const GlobalVariable *GVar = dyn_cast(GV); if (!GVar) { - // If GV is an alias - use aliasee for determing thread-localness + // If GV is an alias then use the aliasee for determining + // thread-localness. if (const GlobalAlias *GA = dyn_cast(GV)) GVar = dyn_cast_or_null(GA->resolveAliasedGlobal()); }