From aa7d26c8c8da1fd456bc1dbd4031110afdecc0d3 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 10 Oct 2003 17:42:19 +0000 Subject: Fix spelling. llvm-svn: 9021 --- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter') 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(Ty)) { const StructLayout *SLO = TD.getStructLayout(STy); - // Indicies must be ubyte constants... + // Indices must be ubyte constants... const ConstantUInt *CPU = cast(*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::iterator FI = Functions.find(M); ExFunc Fn = (FI == Functions.end()) ? lookupFunction(M) : FI->second; if (Fn == 0) { -- cgit v1.2.3