aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-03-07 03:37:32 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-03-07 03:37:32 +0000
commitbb9dbb7d6b4f39b74b755795e31b219a5518dd77 (patch)
tree0ce03781b4051768e5a1e984568244f5a6e12830 /include/llvm/ADT
parenteea81f32cdd2f0408aaf83878cf45b5024cf6b57 (diff)
downloadexternal_llvm-bb9dbb7d6b4f39b74b755795e31b219a5518dd77.zip
external_llvm-bb9dbb7d6b4f39b74b755795e31b219a5518dd77.tar.gz
external_llvm-bb9dbb7d6b4f39b74b755795e31b219a5518dd77.tar.bz2
Missing change in r152106 for TinyPtrVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/TinyPtrVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/TinyPtrVector.h b/include/llvm/ADT/TinyPtrVector.h
index 5be9370..5014517 100644
--- a/include/llvm/ADT/TinyPtrVector.h
+++ b/include/llvm/ADT/TinyPtrVector.h
@@ -42,7 +42,7 @@ public:
if (Val.isNull())
return ArrayRef<EltTy>();
if (Val.template is<EltTy>())
- return *Val.template getAddrOf<EltTy>();
+ return *Val.getAddrOfPtr1();
return *Val.template get<VecTy*>();
}