mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +00:00
Fix on 64-bit machines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e7eedf382
commit
e7e113361e
@ -601,7 +601,7 @@ void RegisterInfoEmitter::run(std::ostream &OS) {
|
||||
for (unsigned i = 0, e = Registers.size(); i != e; ++i) {
|
||||
Record *Reg = Registers[i].TheDef;
|
||||
std::vector<int> RegNums = Reg->getValueAsListOfInts("DwarfNumbers");
|
||||
maxLength = std::max(maxLength, RegNums.size());
|
||||
maxLength = std::max((size_t)maxLength, RegNums.size());
|
||||
if (DwarfRegNums.count(Reg))
|
||||
cerr << "Warning: DWARF numbers for register " << getQualifiedName(Reg)
|
||||
<< "specified multiple times\n";
|
||||
|
Loading…
Reference in New Issue
Block a user