4726a6c9ce
* module/language/c99/compiler.mes (write-any): Catch writing of procedure and give more debug information. (ref-local, ref-global): Remove. (push-global-ref, push-global, push-ident-ref): New functions. (push-ident): New function. (expr->arg): Use them. (ident->accu, ident->accu, accu->ident, value->ident, ident->base): Take info parameter, also handle globals. (ident-address->accu, ident->global, cstring->number): New functions. (ast->info): Update. * module/mes/libc-i386.mes (i386:ret-local): Remove. (i386:push-global-ref): Rename from i386:ref-global. (i386:push-local): Rename from i386:ref-local. (i386:value->local): Rename from i386:local-assign. (i386:push-global, i386:push-local-ref, i386:value->global, i386:local-address->accu): New functions. * module/mes/libc-i386.scm: Export them. |
||
---|---|---|
.. | ||
compiler.mes | ||
compiler.scm |