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 | 13b3e5bdab2901a3f0b0f532ccaa61ae851b5cdd (patch) | |
| tree | 18bd8500a9e53645c82ac5cb745e2e21f612ce9a /llvm/lib | |
| parent | ae1f73b4f5f8f545c4848b033acd3e096269b25b (diff) | |
| download | bcm5719-llvm-13b3e5bdab2901a3f0b0f532ccaa61ae851b5cdd.tar.gz bcm5719-llvm-13b3e5bdab2901a3f0b0f532ccaa61ae851b5cdd.zip | |
Fix typeo
llvm-svn: 5624
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 70e8886a93f..1ab065e9612 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/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)) |

