[llvm-commits] [llvm] r57434 - in /llvm/trunk/include/llvm: Use.h Value.h
Gabor Greif
ggreif at gmail.com
Mon Oct 13 03:25:29 PDT 2008
Author: ggreif
Date: Mon Oct 13 05:25:27 2008
New Revision: 57434
URL: http://llvm.org/viewvc/llvm-project?rev=57434&view=rev
Log:
remove a deprecated internal interface
Modified:
llvm/trunk/include/llvm/Use.h
llvm/trunk/include/llvm/Value.h
Modified: llvm/trunk/include/llvm/Use.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Use.h?rev=57434&r1=57433&r2=57434&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Use.h (original)
+++ llvm/trunk/include/llvm/Use.h Mon Oct 13 05:25:27 2008
@@ -66,10 +66,6 @@
// Use is here to make keeping the "use" list of a Value up-to-date really easy.
//
class Use {
-private:
- /// init - specify Value and User
- /// @deprecated in 2.4, will be removed soon
- inline void init(Value *V, User *U);
public:
/// swap - provide a fast substitute to std::swap<Use>
/// that also works with less standard-compliant compilers
Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=57434&r1=57433&r2=57434&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Mon Oct 13 05:25:27 2008
@@ -253,11 +253,6 @@
return OS;
}
-void Use::init(Value *V, User *) {
- Val = V;
- if (V) V->addUse(*this);
-}
-
void Use::set(Value *V) {
if (Val) removeFromList();
Val = V;
More information about the llvm-commits
mailing list