projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea81f3
)
Missing change in r152106 for TinyPtrVector.
author
Eli Friedman
<eli.friedman@gmail.com>
Wed, 7 Mar 2012 03:37:32 +0000
(
03:37
+0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Wed, 7 Mar 2012 03:37:32 +0000
(
03:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152201
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/TinyPtrVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/TinyPtrVector.h
b/include/llvm/ADT/TinyPtrVector.h
index 5be93702a30097d90a8caee6367a90fb1e9e6a01..5014517c9e05bae4a433bb402b165f8edc85e596 100644
(file)
--- 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*>();
}