mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* module/language/glil/compile-assembly.scm (compile-assembly): Rework to handle toplevel-specific code generation here, instead of in glil->assembly. Specifically, here we build a global constant table, and arrange for it to be the objtable of the toplevel thunk. (compile-program): New helper, compiles a <glil-program> and returns just the (load-program ...) form. (compile-objtable): New helper, generates assembly to build an object table, using some other constants table, and possibly recursing to `compile-program' for cached GLIL programs. (glil->assembly): Simplify, removing the toplevel? argument, and replacing the object alist with an objtable computed in a previous pass. Adapt to the new form of the objtable, and to use compile-program and compile-objtable. |
||
---|---|---|
.. | ||
ice-9 | ||
language | ||
oop | ||
rnrs | ||
scripts | ||
srfi | ||
sxml | ||
system | ||
texinfo | ||
web | ||
Makefile.am | ||
rnrs.scm | ||
statprof.scm | ||
texinfo.scm |