From: Leslie P. Polzer <sky@vi...> - 2009-04-25 07:52:38
I'm currently investigating the approach of adding a documentation
slot to the SIMPLE-FUN primitive obj.
It doesn't seem to be as hard as William describes it in objdef.lisp:
;;;; * (mysterious crashes which occur after changing the length
;;;; of SIMPLE-FUN, just adding a new slot not even doing anything
;;;; with it, still dunno why)
Adding the slot works fine. I have also changed the definition
of struct entry-info to match it. But for some reason the struct
ctor doesn't seem to push the new slot onto the stack, because
when I try to pop the new slot in cold FOP fop-fun-entry
(genesis.lisp) there's nothing left to pop at some point.
Code works fine when I don't attempt to pop the new slot.
So is there something that needs to be frobbed, perhaps some
hardcoded length or offset? Or how can I investigate the ctor
I have also come across some points where William mentions
"bug 137" in connection with primitive function objects.
Does anyone know where I can find this bug, if it still
exists at all?
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer