projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3386e45
)
Explicitly cast type, so we aren't passing output_vbr a size_t.
author
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 29 Oct 2003 20:09:01 +0000
(20:09 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 29 Oct 2003 20:09:01 +0000
(20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9590
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Writer/ConstantWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/ConstantWriter.cpp
b/lib/Bytecode/Writer/ConstantWriter.cpp
index dcb034f78398774d7f53187292ba438c920ab84e..a9aaffe3ecad35aa2189e1486fc8705339af58c8 100644
(file)
--- a/
lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/
lib/Bytecode/Writer/ConstantWriter.cpp
@@
-32,7
+32,7
@@
void BytecodeWriter::outputType(const Type *T) {
output_vbr((unsigned)Slot, Out);
// Output the number of arguments to method (+1 if varargs):
- output_vbr(MT->getParamTypes().size()+MT->isVarArg(), Out);
+ output_vbr(
(unsigned)
MT->getParamTypes().size()+MT->isVarArg(), Out);
// Output all of the arguments...
FunctionType::ParamTypes::const_iterator I = MT->getParamTypes().begin();