aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-12 20:50:04 +0000
committerDan Gohman <gohman@apple.com>2008-03-12 20:50:04 +0000
commit39e33acf0aba655c96d3e37703b506cbf470c483 (patch)
tree7b97b38628087ddb5a4ea5de46d367be796b173e /lib
parent89964b4ca1e631a4a4f51e6de1bb7feb4b781c93 (diff)
downloadexternal_llvm-39e33acf0aba655c96d3e37703b506cbf470c483.zip
external_llvm-39e33acf0aba655c96d3e37703b506cbf470c483.tar.gz
external_llvm-39e33acf0aba655c96d3e37703b506cbf470c483.tar.bz2
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/VirtRegMap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h
index 63d5b87..6f82cfb 100644
--- a/lib/CodeGen/VirtRegMap.h
+++ b/lib/CodeGen/VirtRegMap.h
@@ -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 &&