mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e45e32d924
commit
006a4a5990
@ -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