Document that TargetRegisterInfo::contains does not cover virtual registers.

llvm-svn: 101903
This commit is contained in:
Dan Gohman 2010-04-20 14:51:20 +00:00
parent 7c845e4ea4
commit 7a6b0dfbe7
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public:
} }
/// contains - Return true if the specified register is included in this /// contains - Return true if the specified register is included in this
/// register class. /// register class. This does not include virtual registers.
bool contains(unsigned Reg) const { bool contains(unsigned Reg) const {
return RegSet.count(Reg); return RegSet.count(Reg);
} }