summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/ValueList.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:20:52 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-26 16:20:52 +0000
commit01de5577388a02ea289b5517d55dc0e8eb4efc76 (patch)
tree7b386ae783418f2d13c9c7dffd36d1f406c5aaaa /llvm/lib/Bitcode/Reader/ValueList.cpp
parentd283eb7091678d67b383cc324c1293f222ef9941 (diff)
downloadbcm5719-llvm-01de5577388a02ea289b5517d55dc0e8eb4efc76.tar.gz
bcm5719-llvm-01de5577388a02ea289b5517d55dc0e8eb4efc76.zip
Rename WeakVH to WeakTrackingVH; NFC
Summary: I plan to use WeakVH to mean "nulls itself out on deletion, but does not track RAUW" in a subsequent commit. Reviewers: dblaikie, davide Reviewed By: davide Subscribers: arsenm, mehdi_amini, mcrosier, mzolotukhin, jfb, llvm-commits, nhaehnle Differential Revision: https://reviews.llvm.org/D32266 llvm-svn: 301424
Diffstat (limited to 'llvm/lib/Bitcode/Reader/ValueList.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/ValueList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/ValueList.cpp b/llvm/lib/Bitcode/Reader/ValueList.cpp
index 7152a51cea6..d1a2a11bbfa 100644
--- a/llvm/lib/Bitcode/Reader/ValueList.cpp
+++ b/llvm/lib/Bitcode/Reader/ValueList.cpp
@@ -58,7 +58,7 @@ void BitcodeReaderValueList::assignValue(Value *V, unsigned Idx) {
if (Idx >= size())
resize(Idx + 1);
- WeakVH &OldV = ValuePtrs[Idx];
+ WeakTrackingVH &OldV = ValuePtrs[Idx];
if (!OldV) {
OldV = V;
return;
OpenPOWER on IntegriCloud