History

fix bug if (seen_reg_num + reg_count <= 8)

jiang committed 12 years ago

Commit ad787ab1 parent 899d2661 file · +1 −1Browse files

Unified · Split

x86_64-gen.c+1−1
@@ -1404,7 +1404,7 @@ void gfunc_prolog(CType *func_type) · 1403 unmodified lines
14041404 break;
14051405
14061406 case x86_64_mode_integer:
1407− if (seen_reg_num + reg_count <= 8) {
1407+ if (seen_reg_num + reg_count <= REGN) {
14081408 seen_reg_num += reg_count;
14091409 } else {
14101410 seen_reg_num = 8;