Mercurial > hg > tinycc
comparison c67-gen.c @ 557:9efc5fedd108
Make c67 compile again. (If anybody knows what C67 _is_, I'm a bit curious...)
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 06 Mar 2008 21:41:25 -0600 |
parents | 3f683703c8db |
children |
comparison
equal
deleted
inserted
replaced
556:d1fe34c5b92e | 557:9efc5fedd108 |
---|---|
1950 NoOfCurFuncArgs = 0; | 1950 NoOfCurFuncArgs = 0; |
1951 | 1951 |
1952 /* define parameters */ | 1952 /* define parameters */ |
1953 while ((sym = sym->next) != NULL) { | 1953 while ((sym = sym->next) != NULL) { |
1954 type = &sym->type; | 1954 type = &sym->type; |
1955 sym_push(sym->v & ~SYM_FIELD, type, VT_LOCAL | VT_LVAL, addr); | 1955 sym_push(sym->token & ~SYM_FIELD, type, VT_LOCAL | VT_LVAL, addr); |
1956 size = type_size(type, &align); | 1956 size = type_size(type, &align); |
1957 size = (size + 3) & ~3; | 1957 size = (size + 3) & ~3; |
1958 | 1958 |
1959 // keep track of size of arguments so | 1959 // keep track of size of arguments so |
1960 // we can translate where tcc thinks they | 1960 // we can translate where tcc thinks they |