From: Chris Lattner Date: Tue, 14 Jul 2009 18:58:35 +0000 (+0000) Subject: Remove some dead functions, patch by Ryan Flynn! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e25dd388c0b23d34d44c4300e7d27dac9be1f39;p=oota-llvm.git 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 --- diff --git a/include/llvm/OperandTraits.h b/include/llvm/OperandTraits.h index 83c1025c07b..3702a01b809 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 8a244068b24..f8277952ee4 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -41,7 +41,6 @@ struct OperandTraits { struct Layout { typedef U overlay; }; - static inline void *allocate(unsigned); }; class User : public Value {