From 006a4a59905fd1d32bca5cc0426d1754a92746fa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 25 Feb 2003 21:14:59 +0000 Subject: [PATCH] Fix typeo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5624 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 70e8886a93f..1ab065e9612 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/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)) -- 2.34.1