aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:54:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:54:14 +0000
commit6b63452c3ad26678b32f93dbca55902a313ee4e9 (patch)
treedb00e2706644d483f011b5c431934ccc6a113ba6 /lib/VMCore/Function.cpp
parent4afac18fd4cae1b93907d7db03c5fdb7f2f66d64 (diff)
Fix spelling/grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r--lib/VMCore/Function.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp
index a859a2b04a..e9ae634710 100644
--- a/lib/VMCore/Function.cpp
+++ b/lib/VMCore/Function.cpp
@@ -140,7 +140,7 @@ const Type *Function::getReturnType() const {
// go" of all references that they are maintaining. This allows one to
// 'delete' a whole class at a time, even though there may be circular
// references... first all references are dropped, and all use counts go to
-// zero. Then everything is delete'd for real. Note that no operations are
+// zero. Then everything is deleted for real. Note that no operations are
// valid on an object that has "dropped all references", except operator
// delete.
//
@@ -152,7 +152,7 @@ void Function::dropAllReferences() {
/// getIntrinsicID - This method returns the ID number of the specified
/// function, or LLVMIntrinsic::not_intrinsic if the function is not an
-/// instrinsic, or if the pointer is null. This value is always defined to be
+/// intrinsic, or if the pointer is null. This value is always defined to be
/// zero to allow easy checking for whether a function is intrinsic or not. The
/// particular intrinsic functions which correspond to this value are defined in
/// llvm/Intrinsics.h.