On Thu, Nov 16, 2000 at 01:24:04PM +0000, Gunnar Evermann wrote:
Yes, that's what I realised after writing the question and meant
by
"Hm, I guess it is". We should automatically check whether we always
do this. Maybe in debug_gcpro().
Tricky. There are a number of gcpros done on already instanciated
lisp objects, and nothing looks more like a valid lisp_object than
random garbage. You can't even test for alignment since the lower
bits encode the type information for integers and chars.
So you would have to be able to recognize a valid pointer from an
invalid pointer (either extremely slow or extremely system-dependant)
and you won't be able to check anything at all 75% of the time.
OG.