summaryrefslogtreecommitdiff
path: root/libguile/struct.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-01-23 16:43:50 +0100
committerLudovic Courtès <ludo@gnu.org>2010-01-23 16:43:50 +0100
commita752c0dc2798fb1af93d56f6f73bea964df12633 (patch)
treeb688e633aa60189b59405289e14c1e1532e7a688 /libguile/struct.h
parent696ac4dfcc4e48c95df8935fc3640377c5df18fb (diff)
downloadguile-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