[llvm-commits] [llvm] r152201 - /llvm/trunk/include/llvm/ADT/TinyPtrVector.h
Eli Friedman
eli.friedman at gmail.com
Tue Mar 6 19:37:33 PST 2012
Author: efriedma
Date: Tue Mar 6 21:37:32 2012
New Revision: 152201
URL: http://llvm.org/viewvc/llvm-project?rev=152201&view=rev
Log:
Missing change in r152106 for TinyPtrVector.
Modified:
llvm/trunk/include/llvm/ADT/TinyPtrVector.h
Modified: llvm/trunk/include/llvm/ADT/TinyPtrVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/TinyPtrVector.h?rev=152201&r1=152200&r2=152201&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/TinyPtrVector.h (original)
+++ llvm/trunk/include/llvm/ADT/TinyPtrVector.h Tue Mar 6 21:37:32 2012
@@ -42,7 +42,7 @@
if (Val.isNull())
return ArrayRef<EltTy>();
if (Val.template is<EltTy>())
- return *Val.template getAddrOf<EltTy>();
+ return *Val.getAddrOfPtr1();
return *Val.template get<VecTy*>();
}
More information about the llvm-commits
mailing list