mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-08 21:18:03 -05:00
Fix bug in register allocation.
This commit is contained in:
@@ -750,7 +750,7 @@ unsigned BaseInstruction::get_max_reg(int reg_type) const
|
||||
{
|
||||
assert(it < start.end());
|
||||
int n = *it;
|
||||
res = max(res, *it++);
|
||||
res = max(res, *++it + size);
|
||||
it += n - 1;
|
||||
}
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user