[llvm-commits] [llvm] r48297 - /llvm/trunk/lib/CodeGen/VirtRegMap.h

Dan Gohman gohman at apple.com
Wed Mar 12 13:50:04 PDT 2008


Author: djg
Date: Wed Mar 12 15:50:04 2008
New Revision: 48297

URL: http://llvm.org/viewvc/llvm-project?rev=48297&view=rev
Log:
Fix typos in comments.

Modified:
    llvm/trunk/lib/CodeGen/VirtRegMap.h

Modified: llvm/trunk/lib/CodeGen/VirtRegMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegMap.h?rev=48297&r1=48296&r2=48297&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/VirtRegMap.h (original)
+++ llvm/trunk/lib/CodeGen/VirtRegMap.h Wed Mar 12 15:50:04 2008
@@ -58,7 +58,7 @@
     /// 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 @@
       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 &&





More information about the llvm-commits mailing list