1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 23:50:47 +02:00
guile/module
Andy Wingo 9a974fd384 optimize and bugfix make-struct VM opcode
* libguile/_scm.h (SCM_OBJCODE_MINOR_VERSION): Bump for make-struct
  change.

* libguile/struct.c (scm_i_alloc_struct): Use scm_words instead of
  scm_gc_malloc to simplify the code and inline the call to GC_MALLOC.

* module/language/tree-il/compile-glil.scm (*primcall-ops*): Compile
  make-struct/no-tail to make-struct.

* module/language/tree-il/primitives.scm (define-primitive-expander):
  Allow a conditional branch of #f to aboirt inlining.
  (make-struct): Expand into make-struct/no-tail in the case that
  tail-size is 0.

* libguile/vm-i-scheme.c (make-struct): Adapt to always assume tail-size
  is 0. Inline allocation if possible. Don't decrement the SP past live
  objects on the stack, which could cause GC to miss references. Use the
  NULLSTACK macro.
2010-05-01 00:31:18 +02:00
..
ice-9 add module-export-all! 2010-04-27 22:57:54 +02:00
language optimize and bugfix make-struct VM opcode 2010-05-01 00:31:18 +02:00
oop fix some uses of %module-public-interface 2010-04-24 17:43:52 +02:00
rnrs rename libguile to libguile-@EFFECTIVE_VERSION@, currently libguile-2.0 2010-03-16 21:20:34 +01:00
scripts fix doc snarfing with fedora 12 2010-01-17 18:22:51 +01:00
srfi Inline SRFI-9 constructors too. 2010-02-01 00:25:51 +01:00
sxml Remove `fold' from (sxml fold). 2010-04-09 00:32:14 +02:00
system use nested-ref-module in (system xref) 2010-04-24 17:42:00 +02:00
texinfo scm_i_program_properties is internal; just use procedure-properties 2010-04-17 15:21:08 +02:00
Makefile.am add (ice-9 curried definitions) 2010-04-08 00:36:53 +02:00
statprof.scm statprof bugfixes 2010-01-27 21:52:05 +01:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00