mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Fix more -Wshorten-64-to-32 warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -165,7 +165,9 @@ public:
|
||||
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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user