diff options
Diffstat (limited to 'lib/IR/Value.cpp')
-rw-r--r-- | lib/IR/Value.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/IR/Value.cpp b/lib/IR/Value.cpp index a56272f..35808a6 100644 --- a/lib/IR/Value.cpp +++ b/lib/IR/Value.cpp @@ -735,5 +735,9 @@ void ValueHandleBase::ValueIsRAUWd(Value *Old, Value *New) { #endif } -// pin vtable to this file -void CallbackVH::anchor() {} +// Default implementation for CallbackVH. +void CallbackVH::allUsesReplacedWith(Value *) {} + +void CallbackVH::deleted() { + setValPtr(NULL); +} |