This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eval-ing records


Maciej Stachowiak <mstachow@mit.edu> writes:

> The interpreter segfaults on attempts to eval a record

1998-11-21  Mikael Djurfeldt  <mdj@kenneth>

	* eval.c (SCM_CEVAL): Allow structs implanted in code.
	Previously, structs implanted in code were interpreted as forms
	the operator of which was a gloc.  We solve this by checking for
	the zero in the emulated vcell in the struct vtable.  Since
	implanted structs always will look like forms with a gloc
	operator, execution will only be slowed down by maximally one
	extra test-and-branch per application.