19:14:24Bikehm, there's a comment. it says whenever a Function_O is created, a function description is created with new and then... some stuff about the gc roots in module i don't quite follow.
19:15:02drmeisterOk - I have a phone conference in another 15 min and I'm doing some homework for it.
19:15:13drmeisterI can get back to FunctionDescriptions after 4:30 or so.
19:15:30drmeisterThen I can dig in and provide some insight if you need any.
19:16:52Bikei guess i'll just try stuff and if it starts segfaulting... do something else
19:17:14drmeisterThe GCRootsInModule* is a raw C pointer to a thing that keeps track of a bunch of GC roots. It's used by JITted code.
19:18:40drmeisterA FunctionDescription* is also a raw C pointer to a thing that describes the Function_O
19:19:03Bikeoh, wait, there's already a Function_O::setSourcePosInfo
19:19:11drmeisterThe FunctionDescription* contains a GCRootsInModule* and indices into the vector of roots managed by the GCRootsInModule*.
19:19:27drmeisterOk, use that. I think it does the right thing.
19:19:43Bikeit conses up a new source pos info for no reason, but otherwise it's fine i guess
19:20:16Bikeno, this won't work, for funcallable instance it does HARD_IMPLEMENT_ME