From 5e25dd388c0b23d34d44c4300e7d27dac9be1f39 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 14 Jul 2009 18:58:35 +0000 Subject: [PATCH] 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 --- include/llvm/OperandTraits.h | 3 --- include/llvm/User.h | 1 - 2 files changed, 4 deletions(-) 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 { -- 2.34.1