mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Fix TrackingVH to handle const Value subclasses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75d4ec3cae
commit
070c07f2c8
@ -315,7 +315,7 @@ class TrackingVH : public ValueHandleBase {
|
||||
|
||||
public:
|
||||
TrackingVH() : ValueHandleBase(Tracking) {}
|
||||
TrackingVH(ValueTy *P) : ValueHandleBase(Tracking, P) {}
|
||||
TrackingVH(ValueTy *P) : ValueHandleBase(Tracking, GetAsValue(P)) {}
|
||||
TrackingVH(const TrackingVH &RHS) : ValueHandleBase(Tracking, RHS) {}
|
||||
|
||||
operator ValueTy*() const {
|
||||
|
Loading…
Reference in New Issue
Block a user