diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-25 21:14:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-25 21:14:59 +0000 |
commit | 006a4a59905fd1d32bca5cc0426d1754a92746fa (patch) | |
tree | d128ad53956340a3c1c3cd5436f46212336e0c51 /lib/ExecutionEngine/Interpreter/Execution.cpp | |
parent | e45e32d924e8098ff8b67dfb2cd20b37bc81a778 (diff) |
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 70e8886a93..1ab065e961 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<SequentialType>(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<ArrayType>(ST)) |