diff options
Diffstat (limited to 'include/llvm/IR/Value.h')
| -rw-r--r-- | include/llvm/IR/Value.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/llvm/IR/Value.h b/include/llvm/IR/Value.h index 484afc6d232c..17a80c82d1bc 100644 --- a/include/llvm/IR/Value.h +++ b/include/llvm/IR/Value.h @@ -104,8 +104,8 @@ protected:    ///    /// Note, this should *NOT* be used directly by any class other than User.    /// User uses this value to find the Use list. -  static const unsigned NumUserOperandsBits = 29; -  unsigned NumUserOperands : 29; +  enum : unsigned { NumUserOperandsBits = 29 }; +  unsigned NumUserOperands : NumUserOperandsBits;    bool IsUsedByMD : 1;    bool HasName : 1; | 
