1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix typeo

llvm-svn: 5624
This commit is contained in:
Chris Lattner 2003-02-25 21:14:59 +00:00
parent b1aeaf7efb
commit ce3e651af6

View File

@ -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))