OperandTraits<>::Layout isn't used for anything. Remove it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jay Foad 2011-01-14 18:41:56 +00:00
parent 04b9a4331c
commit f18e4c3ab4
2 changed files with 0 additions and 14 deletions

View File

@ -38,16 +38,6 @@ struct FixedNumOperandTraits {
static unsigned operands(const User*) {
return ARITY;
}
struct prefix {
Use Ops[ARITY];
prefix(); // DO NOT IMPLEMENT
};
template <class U>
struct Layout {
struct overlay : public prefix, public U {
overlay(); // DO NOT IMPLEMENT
};
};
};
//===----------------------------------------------------------------------===//

View File

@ -37,10 +37,6 @@ struct OperandTraits<User> {
static inline Use *op_begin(User*);
static inline Use *op_end(User*);
static inline unsigned operands(const User*);
template <class U>
struct Layout {
typedef U overlay;
};
};
class User : public Value {