Fix typos in comments.
authorDan Gohman <gohman@apple.com>
Wed, 12 Mar 2008 20:50:04 +0000 (20:50 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 12 Mar 2008 20:50:04 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48297 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/VirtRegMap.h

index 63d5b87b26b15049e4c520798a6f1c96f53cd988..6f82cfb62c7f6a9ba15bab3a5c6135d58dbe1292 100644 (file)
@@ -58,7 +58,7 @@ namespace llvm {
     /// at.
     IndexedMap<int, VirtReg2IndexFunctor> Virt2StackSlotMap;
 
-    /// Virt2StackSlotMap - This is virtual register to rematerialization id
+    /// Virt2ReMatIdMap - This is virtual register to rematerialization id
     /// mapping. Each spilled virtual register that should be remat'd has an
     /// entry in it which corresponds to the remat id.
     IndexedMap<int, VirtReg2IndexFunctor> Virt2ReMatIdMap;
@@ -173,7 +173,7 @@ namespace llvm {
       return Virt2SplitMap[virtReg];
     }
 
-    /// @brief returns true is the specified virtual register is not
+    /// @brief returns true if the specified virtual register is not
     /// mapped to a stack slot or rematerialized.
     bool isAssignedReg(unsigned virtReg) const {
       if (getStackSlot(virtReg) == NO_STACK_SLOT &&