projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.4.60: More efficient structure raw slot accessors on x86-64
[sbcl.git]
/
tests
/
step.impure.lisp
diff --git
a/tests/step.impure.lisp
b/tests/step.impure.lisp
index
afa3281
..
00aa7e0
100644
(file)
--- a/
tests/step.impure.lisp
+++ b/
tests/step.impure.lisp
@@
-26,12
+26,14
@@
(defvar *cerror-called* nil)
(defvar *cerror-called* nil)
+(define-condition cerror-break (error) ())
+
(defun fib-break (x)
(declare (optimize debug))
(if (< x 2)
(progn
(unless *cerror-called*
(defun fib-break (x)
(declare (optimize debug))
(if (< x 2)
(progn
(unless *cerror-called*
- (cerror "a" "b")
+ (cerror "a" 'cerror-break)
(setf *cerror-called* t))
1)
(+ (fib-break (1- x))
(setf *cerror-called* t))
1)
(+ (fib-break (1- x))
@@
-144,7
+146,7
@@
results)
(invoke-restart 'step-into))))))
(setf *cerror-called* nil)
results)
(invoke-restart 'step-into))))))
(setf *cerror-called* nil)
- (handler-bind ((error
+ (handler-bind ((cerror-break
(lambda (c)
(sb-impl::enable-stepping)
(invoke-restart 'continue))))
(lambda (c)
(sb-impl::enable-stepping)
(invoke-restart 'continue))))