1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

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 add7163c0d
commit c2ed857dfb

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);