summaryrefslogtreecommitdiff
path: root/lib/VMCore/Type.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-14 02:25:34 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-14 02:25:34 +0000
commitaf7263d51edaf55f56808fd7796d1a910aac46ee (patch)
tree4b94149be0f71a91f87710f2bb9bf01d61ab1b7e /lib/VMCore/Type.cpp
parent5df6ffd9480f0f0165bbc752e16c38cffd206527 (diff)
downloadllvm-af7263d51edaf55f56808fd7796d1a910aac46ee.tar.gz
llvm-af7263d51edaf55f56808fd7796d1a910aac46ee.tar.bz2
llvm-af7263d51edaf55f56808fd7796d1a910aac46ee.tar.xz
Fix a pair of comment typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r--lib/VMCore/Type.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 1abeffa99f..19c91c5f03 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -509,7 +509,8 @@ void DerivedType::dropAllTypeUses() {
// Change the rest of the types to be Int32Ty's. It doesn't matter what we
// pick so long as it doesn't point back to this type. We choose something
- // concrete to avoid overhead for adding to AbstracTypeUser lists and stuff.
+ // concrete to avoid overhead for adding to AbstractTypeUser lists and
+ // stuff.
for (unsigned i = 1, e = NumContainedTys; i != e; ++i)
ContainedTys[i] = Type::getInt32Ty(getContext());
}
@@ -1046,7 +1047,7 @@ void DerivedType::unlockedRefineAbstractTypeTo(const Type *NewType) {
// refined, that we will not continue using a dead reference...
//
PATypeHolder NewTy(NewType);
- // Any PATypeHolders referring to this type will now automatically forward o
+ // Any PATypeHolders referring to this type will now automatically forward to
// the type we are resolved to.
ForwardType = NewType;
if (NewType->isAbstract())