projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename some GC classes so that their roll will hopefully be clearer.
[oota-llvm.git]
/
include
/
llvm
/
Bitcode
/
BitCodes.h
diff --git
a/include/llvm/Bitcode/BitCodes.h
b/include/llvm/Bitcode/BitCodes.h
index 94e3a6615cf8ffdb7c07a780aa8f8d8b7f0ea48b..f140cc3b19d912ac77e1037e3e7d611e8e5b9f70 100644
(file)
--- a/
include/llvm/Bitcode/BitCodes.h
+++ b/
include/llvm/Bitcode/BitCodes.h
@@
-165,7
+165,9
@@
public:
void addRef() { ++RefCount; }
void dropRef() { if (--RefCount == 0) delete this; }
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];
}
const BitCodeAbbrevOp &getOperandInfo(unsigned N) const {
return OperandList[N];
}