summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:42:19 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:42:19 +0000
commitd5d96b9fcd779806555cf5db602f80d5a308a471 (patch)
tree73f935e3b896987b77a25cdb0b027e6eba915c35
parentaa41c3ca20df402e1626be590ff5c784afb734cc (diff)
downloadllvm-d5d96b9fcd779806555cf5db602f80d5a308a471.tar.gz
llvm-d5d96b9fcd779806555cf5db602f80d5a308a471.tar.bz2
llvm-d5d96b9fcd779806555cf5db602f80d5a308a471.tar.xz
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9021 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Interval.h2
-rw-r--r--include/llvm/Pass.h2
-rw-r--r--include/llvm/Support/CallSite.h2
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp2
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h
index 86965df90d..8c7569fca8 100644
--- a/include/llvm/Analysis/Interval.h
+++ b/include/llvm/Analysis/Interval.h
@@ -50,7 +50,7 @@ public:
// Successors - List of BasicBlocks that are reachable directly from nodes in
// this interval, but are not in the interval themselves.
- // These nodes neccesarily must be header nodes for other intervals.
+ // These nodes necessarily must be header nodes for other intervals.
//
std::vector<BasicBlock*> Successors;
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index 637d26bf55..de339b4988 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -65,7 +65,7 @@ public:
/// implemented in terms of the name that is registered by one of the
/// Registration templates, but can be overloaded directly, and if nothing
/// else is available, C++ RTTI will be consulted to get a SOMEWHAT
- /// intelligable name for the pass.
+ /// intelligible name for the pass.
///
virtual const char *getPassName() const;
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index c30f00c9b9..dc137d83b5 100644
--- a/include/llvm/Support/CallSite.h
+++ b/include/llvm/Support/CallSite.h
@@ -52,7 +52,7 @@ public:
return dyn_cast<Function>(getCalledValue());
}
- /// setCalledFunction - Set the callee to the specied value...
+ /// setCalledFunction - Set the callee to the specified value...
///
void setCalledFunction(Value *V) {
I->setOperand(0, V);
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index e6ca036c3f..7d9d727e76 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -640,7 +640,7 @@ GenericValue Interpreter::executeGEPOperation(Value *Ptr, User::op_iterator I,
if (const StructType *STy = dyn_cast<StructType>(Ty)) {
const StructLayout *SLO = TD.getStructLayout(STy);
- // Indicies must be ubyte constants...
+ // Indices must be ubyte constants...
const ConstantUInt *CPU = cast<ConstantUInt>(*I);
assert(CPU->getType() == Type::UByteTy);
unsigned Index = CPU->getValue();
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index a7814397a2..12a2936b0c 100644
--- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -81,7 +81,7 @@ GenericValue Interpreter::callExternalFunction(Function *M,
TheInterpreter = this;
// Do a lookup to see if the function is in our cache... this should just be a
- // defered annotation!
+ // deferred annotation!
std::map<const Function *, ExFunc>::iterator FI = Functions.find(M);
ExFunc Fn = (FI == Functions.end()) ? lookupFunction(M) : FI->second;
if (Fn == 0) {