mirror of
https://github.com/frida/tinycc
synced 2025-01-03 18:44:46 +03:00
fix bug if (seen_reg_num + reg_count <= 8)
This commit is contained in:
parent
899d26605c
commit
ad787abea6
@ -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 New Issue
Block a user