projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45e32d
)
Fix typeo
author
Chris Lattner
<sabre@nondot.org>
Tue, 25 Feb 2003 21:14:59 +0000
(21:14 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 25 Feb 2003 21:14:59 +0000
(21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5624
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Execution.cpp
b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 70e8886a93f0d71570f76a74a583ea74c2813b32..1ab065e96125223d0db1638b3b6a5570b3e334a0 100644
(file)
--- 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))