freenode/#clasp - IRC Chatlog
Search
20:50:57
drmeister
Do you know the name of the lambda when you are doing the inlining? Define a special variable that contains a list of names and only inline the functions that are in the list.
20:54:51
drmeister
Am I reading the HIR correctly? You are enclosing it in one function and then funcalling it in another?
20:56:45
drmeister
So is grovel-form inlined? I thought for inlining you enclose a function and then funcall in a successor.
21:30:51
Bike
ok, i can see the problematic code in one of the partway inlines. can pick up there tomorrow, figuring out which inline caused it
23:29:54
drmeister
In c++ i was calling a function that expected a SourcePosInfo_sp a different pointer - so it was reading crap out of the object and it failed converting crap into an i32
23:38:01
drmeister
I very often need to pass a derived pointer like SourcePosInfo_sp to a function that expects a T_sp
23:39:01
drmeister
But what's not ok is to call a function that expects smart_ptr<SourcePosInfo_O> and pass it a smart_ptr<T_O> - that's what was happening here.
23:39:44
drmeister
I'm disciplined enough not to do this - but here was a case where I made a mistake.
1:17:30
drmeister
Bike: We changed the pointer fixing template functions a couple of months ago - didn't we?
1:22:55
drmeister
(eq (core:unbound) (clos::class-valid-initargs (find-class 'concrete-syntax-tree:ordinary-required-parameter-group))) --> NIL