aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 18:58:35 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 18:58:35 +0000
commitd0f24a7585bec396748310bd4d5243f28f13dfdc (patch)
treed00a4d94ed68086f79d770877f3f80f27d0203ce
parent79b00468d2839632a96821d0e9670d9dbf4ec920 (diff)
downloadexternal_llvm-d0f24a7585bec396748310bd4d5243f28f13dfdc.zip
external_llvm-d0f24a7585bec396748310bd4d5243f28f13dfdc.tar.gz
external_llvm-d0f24a7585bec396748310bd4d5243f28f13dfdc.tar.bz2
Remove some dead functions, patch by Ryan Flynn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75664 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/OperandTraits.h3
-rw-r--r--include/llvm/User.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/OperandTraits.h b/include/llvm/OperandTraits.h
index 83c1025..3702a01 100644
--- a/include/llvm/OperandTraits.h
+++ b/include/llvm/OperandTraits.h
@@ -48,7 +48,6 @@ struct FixedNumOperandTraits {
overlay(); // DO NOT IMPLEMENT
};
};
- static inline void *allocate(unsigned); // FIXME
};
//===----------------------------------------------------------------------===//
@@ -81,7 +80,6 @@ struct VariadicOperandTraits {
static unsigned operands(const User *U) {
return U->getNumOperands();
}
- static inline void *allocate(unsigned); // FIXME
};
//===----------------------------------------------------------------------===//
@@ -109,7 +107,6 @@ struct HungoffOperandTraits {
static unsigned operands(const User *U) {
return U->getNumOperands();
}
- static inline void *allocate(unsigned); // FIXME
};
/// Macro for generating in-class operand accessor declarations.
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 8a24406..f827795 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -41,7 +41,6 @@ struct OperandTraits<User> {
struct Layout {
typedef U overlay;
};
- static inline void *allocate(unsigned);
};
class User : public Value {