Fix a typo in a comment.

llvm-svn: 36485
This commit is contained in:
Dan Gohman 2007-04-26 19:40:56 +00:00
parent a2f93b554d
commit e131e3ac02
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ public:
///
const Type *getIntPtrType() const;
/// getIndexOffset - return the offset from the beginning of the type for the
/// getIndexedOffset - return the offset from the beginning of the type for the
/// specified indices. This is used to implement getelementptr.
///
uint64_t getIndexedOffset(const Type *Ty,

View File

@ -634,7 +634,7 @@ bool bu_ls_rr_sort::operator()(const SUnit *left, const SUnit *right) const {
if (LPriority > RPriority)
return true;
else if (LPriority == RPriority) {
// Try schedule def + use closer whne Sethi-Ullman numbers are the same.
// Try schedule def + use closer when Sethi-Ullman numbers are the same.
// e.g.
// t1 = op t2, c1
// t3 = op t4, c2