1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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

llvm-svn: 123452
This commit is contained in:
Jay Foad 2011-01-14 18:41:56 +00:00
parent 70a277119f
commit 41923da581
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 {