diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-05-01 17:07:49 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-05-01 17:07:49 +0000 |
| commit | e6bca0eecbd31d9dd65040b212326330c9cf2655 (patch) | |
| tree | 3c31531a3f71ae4353cecb5d65ba544283be0a39 /llvm/lib/Bitcode | |
| parent | 2fa360483122f119070b272d93d858befc86cbf6 (diff) | |
| download | bcm5719-llvm-e6bca0eecbd31d9dd65040b212326330c9cf2655.tar.gz bcm5719-llvm-e6bca0eecbd31d9dd65040b212326330c9cf2655.zip | |
Rename WeakVH to WeakTrackingVH; NFC
This relands r301424.
llvm-svn: 301812
Diffstat (limited to 'llvm/lib/Bitcode')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/ValueList.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Bitcode/Reader/ValueList.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/llvm/lib/Bitcode/Reader/ValueList.h b/llvm/lib/Bitcode/Reader/ValueList.h index 3119d7735e2..72775a3cf3b 100644 --- a/llvm/lib/Bitcode/Reader/ValueList.h +++ b/llvm/lib/Bitcode/Reader/ValueList.h @@ -20,7 +20,7 @@ namespace llvm { class Constant; class BitcodeReaderValueList { - std::vector<WeakVH> ValuePtrs; + std::vector<WeakTrackingVH> ValuePtrs; /// As we resolve forward-referenced constants, we add information about them /// to this vector. This allows us to resolve them in bulk instead of |

