aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/OperandTraits.h10
-rw-r--r--include/llvm/User.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/OperandTraits.h b/include/llvm/OperandTraits.h
index dbdb1a1549..f0df5fa9bd 100644
--- a/include/llvm/OperandTraits.h
+++ b/include/llvm/OperandTraits.h
@@ -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
- };
- };
};
//===----------------------------------------------------------------------===//
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 1b215e395e..db89b862c4 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -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 {