From: Jay Foad Date: Fri, 14 Jan 2011 18:41:56 +0000 (+0000) Subject: OperandTraits<>::Layout isn't used for anything. Remove it. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f18e4c3ab4735e278427f13e13603ecfa5608f0e;p=oota-llvm.git 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 --- diff --git a/include/llvm/OperandTraits.h b/include/llvm/OperandTraits.h index dbdb1a15494..f0df5fa9bde 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 - 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 1b215e395e7..db89b862c4b 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -37,10 +37,6 @@ struct OperandTraits { static inline Use *op_begin(User*); static inline Use *op_end(User*); static inline unsigned operands(const User*); - template - struct Layout { - typedef U overlay; - }; }; class User : public Value {