OSDN Git Service

Another comments fixing
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 22 Mar 2008 07:53:40 +0000 (07:53 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 22 Mar 2008 07:53:40 +0000 (07:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48683 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ATTAsmPrinter.cpp

index 94eba83..2f109a2 100644 (file)
@@ -822,7 +822,7 @@ SDOperand SelectionDAG::getGlobalAddress(const GlobalValue *GV,
 
   const GlobalVariable *GVar = dyn_cast<GlobalVariable>(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<GlobalAlias>(GV))
       GVar = dyn_cast_or_null<GlobalVariable>(GA->resolveAliasedGlobal());
   }
index ea003c3..37afb46 100644 (file)
@@ -281,7 +281,8 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
     const GlobalValue *GV = MO.getGlobal();
     const GlobalVariable *GVar = dyn_cast<GlobalVariable>(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<GlobalAlias>(GV))
         GVar = dyn_cast_or_null<GlobalVariable>(GA->resolveAliasedGlobal());
     }