14:59:38beachI can very well imagine, especially now that I have HIR snippets that do it.
14:59:44Bikethere's also some weird issues with like, optional parameters, since the enter-instruction can essentially assign them to be undefined (if nothing was provided), and the body initializes it
15:02:06drmeisterI see. We do some argument processing setup in layout-procedure and then actually generate code from the lambda list in translate-simple-instruction
15:02:59beachIf I could figure out a way to abstract the calls to ERROR, it could likely be done in a portable way.
15:03:53drmeisterHow would you deal with optimizations like lambda lists with only required/optional arguments that can use only registers vs more complex lambda lists?