add missing *, patch by Peter O'Gorman!

llvm-svn: 75259
This commit is contained in:
Chris Lattner 2009-07-10 18:28:19 +00:00
parent 4898c32ce9
commit b797115561
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ namespace llvm {
template<typename T>
inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
#if DEBUG
for (LLVMValueRef *I = Vals, E = Vals + Length; I != E; ++I)
for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
cast<T>(*I);
#endif
return reinterpret_cast<T**>(Vals);