Unified · Split
| @@ -1441,7 +1441,8 @@ void gfunc_call(int nb_args) · 1440 unmodified lines | ||
| 1441 | 1441 | } |
| 1442 | 1442 | } |
| 1443 | 1443 | |
| 1444 | − oad(0xb8, nb_sse_args < 8 ? nb_sse_args : 8); /* mov nb_sse_args, %eax */ | |
| 1444 | + if (vtop->type.ref->c != FUNC_NEW) /* implies FUNC_OLD or FUNC_ELLIPSIS */ | |
| 1445 | + oad(0xb8, nb_sse_args < 8 ? nb_sse_args : 8); /* mov nb_sse_args, %eax */ | |
| 1445 | 1446 | gcall_or_jmp(0); |
| 1446 | 1447 | if (args_size) |
| 1447 | 1448 | gadd_sp(args_size); |