//
// The LLVM Compiler Infrastructure
//
-// This file was developed by Chris Lattner and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
void addRef() { ++RefCount; }
void dropRef() { if (--RefCount == 0) delete this; }
- unsigned getNumOperandInfos() const { return OperandList.size(); }
+ unsigned getNumOperandInfos() const {
+ return static_cast<unsigned>(OperandList.size());
+ }
const BitCodeAbbrevOp &getOperandInfo(unsigned N) const {
return OperandList[N];
}