diff options
author | Owen Anderson <resistor@mac.com> | 2010-12-20 22:28:03 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-12-20 22:28:03 +0000 |
commit | 3b77f56194952bc3767c11e8b216906d404fcb2c (patch) | |
tree | 3d1300f52f44e0c444b61d3d624d8754ccc0a891 /include/llvm/Support/ValueHandle.h | |
parent | 672fb6225b381b4dcb2e88fccb79d928eaabf82c (diff) | |
download | llvm-3b77f56194952bc3767c11e8b216906d404fcb2c.tar.gz llvm-3b77f56194952bc3767c11e8b216906d404fcb2c.tar.bz2 llvm-3b77f56194952bc3767c11e8b216906d404fcb2c.tar.xz |
Revert r122114 (CallbackVH observing use-list changes) because it caused severe slowdowns on the Linux self-host configuration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ValueHandle.h')
-rw-r--r-- | include/llvm/Support/ValueHandle.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index 7e5bc1b4cf..c0cdc35e99 100644 --- a/include/llvm/Support/ValueHandle.h +++ b/include/llvm/Support/ValueHandle.h @@ -105,7 +105,6 @@ private: // Callbacks made from Value. static void ValueIsDeleted(Value *V); static void ValueIsRAUWd(Value *Old, Value *New); - static void ValueAddedUse(Use &U); // Internal implementation details. ValueHandleBase **getPrevPtr() const { return PrevPair.getPointer(); } @@ -390,11 +389,6 @@ public: /// implemented as a CallbackVH, it would use this method to call /// setValPtr(new_value). AssertingVH would do nothing in this method. virtual void allUsesReplacedWith(Value *) {} - - /// Called when a new Use is added to the use-list of this->getValPtr(), - /// after the Use has been appended to the list. Other VH kinds would ignore - /// this callback, but clients can use it to trigger re-analysis of Values. - virtual void addedUse(Use &) {} }; // Specialize simplify_type to allow CallbackVH to participate in |