diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-01-23 16:43:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-01-23 16:43:50 +0100 |
commit | a752c0dc2798fb1af93d56f6f73bea964df12633 (patch) | |
tree | b688e633aa60189b59405289e14c1e1532e7a688 /libguile/struct.h | |
parent | 696ac4dfcc4e48c95df8935fc3640377c5df18fb (diff) | |
download | guile-a752c0dc2798fb1af93d56f6f73bea964df12633.tar.gz |
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'.
Diffstat (limited to 'libguile/struct.h')
0 files changed, 0 insertions, 0 deletions