summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitaa7d26c8c8da1fd456bc1dbd4031110afdecc0d3 (patch)
treee76c3b30a5ee38b0ea4c0b8d59843afc106ead67 /llvm
parent80f283b316c12e15ba3db8b92e9b32b56b25406e (diff)
downloadbcm5719-llvm-aa7d26c8c8da1fd456bc1dbd4031110afdecc0d3.tar.gz
bcm5719-llvm-aa7d26c8c8da1fd456bc1dbd4031110afdecc0d3.zip
Fix spelling.
llvm-svn: 9021
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/Interval.h2
-rw-r--r--llvm/include/llvm/Pass.h2
-rw-r--r--llvm/include/llvm/Support/CallSite.h2
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/Analysis/Interval.h b/llvm/include/llvm/Analysis/Interval.h
index 86965df90d9..8c7569fca81 100644
--- a/llvm/include/llvm/Analysis/Interval.h
+++ b/llvm/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/llvm/include/llvm/Pass.h b/llvm/include/llvm/Pass.h
index 637d26bf554..de339b49886 100644
--- a/llvm/include/llvm/Pass.h
+++ b/llvm/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/llvm/include/llvm/Support/CallSite.h b/llvm/include/llvm/Support/CallSite.h
index c30f00c9b9a..dc137d83b5f 100644
--- a/llvm/include/llvm/Support/CallSite.h
+++ b/llvm/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/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index e6ca036c3ff..7d9d727e766 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/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/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index a7814397a2b..12a2936b0c5 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud