Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner)
This commit is contained in:
committed by
grischka
parent
8f7e3f325d
commit
2c657f6608
@ -1964,7 +1964,7 @@ void gfunc_prolog(CType * func_type)
|
||||
/* define parameters */
|
||||
while ((sym = sym->next) != NULL) {
|
||||
type = &sym->type;
|
||||
sym_push(sym->v & ~SYM_FIELD, type, VT_LOCAL | VT_LVAL, addr);
|
||||
sym_push(sym->v & ~SYM_FIELD, type, VT_LOCAL | lvalue_type(type->t), addr);
|
||||
size = type_size(type, &align);
|
||||
size = (size + 3) & ~3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user