1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 07:30:28 +02:00
guile/module/language/tree-il
Ludovic Courtès a752c0dc27 Add struct-ref' and struct-set' VM opcodes.
* libguile/vm-i-scheme.c (make_struct): Optimize the
  `SCM_VTABLE_FLAG_SIMPLE' case.
  (struct_ref, struct_set): New opcodes.

* module/language/tree-il/compile-glil.scm (*primcall-ops*): Add
  `struct-ref' and `struct-set!'.

* module/language/tree-il/primitives.scm
  (*interesting-primitive-names*): Likewise.
  (*effect-free-primitives*): Add `struct-ref'.
2010-01-23 16:43:50 +01:00
..
analyze.scm The reference graph in `-Wunused-toplevel' may contain cycles. 2010-01-11 18:31:01 +01:00
compile-glil.scm Add struct-ref' and struct-set' VM opcodes. 2010-01-23 16:43:50 +01:00
fix-letrec.scm rename <conditional> then and else to consequent and alternate 2009-12-11 12:00:27 +01:00
inline.scm lame tweak to the inliner 2009-12-12 00:10:35 +01:00
optimize.scm compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
primitives.scm Add struct-ref' and struct-set' VM opcodes. 2010-01-23 16:43:50 +01:00
spec.scm fix brainfuck for new tree-il, and add tests 2009-10-23 15:10:25 +02:00