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:
parent
b1aeaf7efb
commit
ce3e651af6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user