freenode/#sicl - IRC Chatlog
Search
11:36:35
beach
I have a dilemma. Let's say for the moment that I don't separate the ENCLOSE-INSTRUCTION from the instruction that sets the static environment. So I can't do the optimization that karlosz implemented, which would be fine for the first executable that I am now working on. I want to turn the ENCLOSE-INSTRUCTION into a FUNCALL-INSTRUCTION calling (say) ENCLOSE.
11:36:36
beach
So the variable holding the ENCLOSE instruction is typically shared. Therefore, I want to turn the ENCLOSE-INSTRUCTION into a FUNCALL-INSTRUCTION before closure conversion. But closure conversion needs the ENCLOSE-INSTRUCTION for its operation, so I need to have it present during closure conversion.
11:41:49
beach
I guess I could insert an FDEFINITION-INSTRUCTION (for ENCLOSE) before every ENCLOSE-INSTRUCTION and a USE-INSTRUCTION after the ENCLOSE-INSTRUCTION, using the variable that is the output of the FDEFINITION-INSTRUCTION.
11:42:31
beach
I then just have to find the USE-INSTRUCTIONs later when I convert the ENCLOSE-INSTRUCTIONs to FUNCALL-INSTRUCTIONs.