mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Explicitly cast type, so we aren't passing output_vbr a size_t.
llvm-svn: 9590
This commit is contained in:
parent
0d26a4c53d
commit
ee245ddcdf
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user