[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_remember
From: |
Dirk Herrmann |
Subject: |
Re: scm_remember |
Date: |
Fri, 17 Nov 2000 12:55:29 +0100 (MET) |
On 4 Nov 2000, Marius Vollmer wrote:
> Dirk Herrmann <address@hidden> writes:
>
> > The purpose of scm_remember is: "Make sure the value lives up to
> > exactly this point. I don't care what happens after this point."
>
> Have you verified that scm_remember is actually used this way? Maybe
> it is used like you descibe in your other message, at the top of a
> function to keep the compiler from messing with a stack slot becaue it
> can not know what is being done with the pointer passed to
> scm_remember.
Well, the usage varied a little, but I have already 'fixed' (according to
my interpretation) the places where it was used differently. I also
replaced some calls to scm_protect/unprotect by appropriate uses of
scm_remember (should bring a little performance improvement).
Best regards
Dirk