summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/IR/User.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/IR/User.cpp')
-rw-r--r--contrib/llvm/lib/IR/User.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/llvm/lib/IR/User.cpp b/contrib/llvm/lib/IR/User.cpp
index 497b4aa..d460391 100644
--- a/contrib/llvm/lib/IR/User.cpp
+++ b/contrib/llvm/lib/IR/User.cpp
@@ -19,8 +19,6 @@ class BasicBlock;
// User Class
//===----------------------------------------------------------------------===//
-void User::anchor() {}
-
void User::replaceUsesOfWith(Value *From, Value *To) {
if (From == To) return; // Duh what?
@@ -193,12 +191,4 @@ void User::operator delete(void *Usr) {
}
}
-//===----------------------------------------------------------------------===//
-// Operator Class
-//===----------------------------------------------------------------------===//
-
-Operator::~Operator() {
- llvm_unreachable("should never destroy an Operator");
-}
-
} // End llvm namespace
OpenPOWER on IntegriCloud