diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h index 511b8bb784f..7aa10867fbc 100644 --- a/include/llvm/CodeGen/RegisterScavenging.h +++ b/include/llvm/CodeGen/RegisterScavenging.h @@ -121,7 +121,7 @@ private: /// isReserved - Returns true if a register is reserved. It is never "unused". bool isReserved(unsigned Reg) const { return ReservedRegs.test(Reg); } - /// isUsed / isUsed - Test if a register is currently being used. + /// isUsed / isUnused - Test if a register is currently being used. /// bool isUsed(unsigned Reg) const { return !RegsAvailable.test(Reg); } bool isUnused(unsigned Reg) const { return RegsAvailable.test(Reg); }