From 13b3e5bdab2901a3f0b0f532ccaa61ae851b5cdd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 25 Feb 2003 21:14:59 +0000 Subject: Fix typeo llvm-svn: 5624 --- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 70e8886a93f..1ab065e9612 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -698,7 +698,7 @@ GenericValue Interpreter::executeGEPOperation(Value *Ptr, User::op_iterator I, Ty = STy->getElementTypes()[Index]; } else if (const SequentialType *ST = cast(Ty)) { - // Get the index number for the array... which must be uint type... + // Get the index number for the array... which must be long type... assert((*I)->getType() == Type::LongTy); unsigned Idx = getOperandValue(*I, SF).LongVal; if (const ArrayType *AT = dyn_cast(ST)) -- cgit v1.2.3