lazy *STACK-TOP-HINT*s
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 19 May 2012 08:44:03 +0000 (11:44 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 21 May 2012 05:37:38 +0000 (08:37 +0300)
commit6e60dc9f79037ab84f5bfd8568979c24291c9922
tree2d31c598388e3dd11005f31c2b5979e7a2528785
parenta2fd28fb6d0b3d8d230a7c933db352f80891ac1c
lazy *STACK-TOP-HINT*s

  Allow binding it to a symbol, which is resolved when entering the debugger:
  it denotes the name of the first uninteresting frame.

  This simplifies ERROR, CERROR, BREAK, %BREAK, and makes interrupts more
  efficient as we no longer need to find the interrupted frame when entering
  an interupt handler.

  It also makes (handler-bind ((error #'invoke-debugger)) ...) once again gain
  the benefits of the stack top hint, which we lost when we ceased the provide
  the hint around the call to SIGNAL for efficiency reasons. Best of both
  worlds, one hopes.
package-data-list.lisp-expr
src/code/cold-error.lisp
src/code/debug.lisp
src/code/interr.lisp
src/code/parse-defmacro.lisp
src/code/target-signal.lisp