This is the mail archive of the guile@sourceware.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.c


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi!
> 
> in eval.c there is a cell 'undef_cell' defined:
>   static scm_cell undef_cell = { SCM_UNDEFINED, SCM_UNDEFINED };
> 
> The problem is:  what happens, if this cell is not aligned on a 64-Bit
> boundary?  

Hä?  What do you mean?


> The only access is:
>   return SCM_CDRLOC (&undef_cell);

Yep.  It is used in the macro expander.


> * Question:  Is it really necessary to have a _cell_ here?  It seems that
> only the cdr is needed, and that it even doesn't matter if it really is a
> valid cdr, i.e. at at valid cdr heap address.  If so, I suggest to simply
> use a single SCM variable, and call that undef_object.


Take a look at `macroexp'. 


Jost

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