fix bug if (seen_reg_num + reg_count <= 8)
This commit is contained in:
parent
899d26605c
commit
ad787abea6
1 changed files with 1 additions and 1 deletions
|
@ -1404,7 +1404,7 @@ void gfunc_prolog(CType *func_type)
|
|||
break;
|
||||
|
||||
case x86_64_mode_integer:
|
||||
if (seen_reg_num + reg_count <= 8) {
|
||||
if (seen_reg_num + reg_count <= REGN) {
|
||||
seen_reg_num += reg_count;
|
||||
} else {
|
||||
seen_reg_num = 8;
|
||||
|
|
Loading…
Reference in a new issue