Commit 48f8ebb9 authored by Raymond Toy's avatar Raymond Toy
Browse files

Add handler-bind to auto restart

Changing defconstant's signal an error.  Add a handler-bind to restart
and continue with the changed values.
parent c40b7a6b
......@@ -17,9 +17,12 @@
#x5f000000)
#+linux
(defconstant vm::target-foreign-linkage-space-start
(c:backend-foreign-linkage-space-start c::*target-backend*))
(handler-bind
((error (lambda (c)
(declare (ignore c))
(invoke-restart 'continue))))
(defconstant vm::target-foreign-linkage-space-start
(c:backend-foreign-linkage-space-start c::*target-backend*))
#+linux
(defconstant vm::target-dynamic-space-start
#x60000000)
(defconstant vm::target-dynamic-space-start
#x60000000))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment