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:
parent
70a277119f
commit
41923da581
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user