mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
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:
parent
04b9a4331c
commit
f18e4c3ab4
@ -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…
Reference in New Issue
Block a user