From: Bruno H. <br...@cl...> - 2004-04-21 17:09:08
|
Sam wrote: > what I meant was to add a declaration, like (declare (exitable)), which > will default to ON on x86 and OFF elsewhere which will add the > necessary instrumentation to the function and enable returning from it > on error. then COMPUTE-RESTARTS will need to somehow detect these > EXITABLE functions in the backtrace... Ah, I see. Clever idea. You can also use the standardized declaration (declare (optimize (debug 3))) instead of (declare (exitable)). > I have no idea what setjmp/longjmp are and how they work &c &c. The thing you proposed does not involve setjmp. It's a pure compiler.lisp change. You can do it. Bruno |