Control viability of dynamic-extent declarations with a
user-settable variable and an interface function that can be used
across backends.
* src/compiler/globaldb.lisp
(*trust-dynamic-extent-declarations*): New variable.
(trust-dynamic-extent-declaration-p): New function.
* src/compiler/x86/macros.lisp (allocation): Use it.
* src/compiler/sparc/macros.lisp (allocation): Use it.
* src/code/exports.lisp ("EXTENSIONS"): Export
*trust-dynamic-extent-declarations*.
* src/code/exports.lisp ("C"): Export
trust-dynamic-extent-declaration-p.
Loading
Please sign in to comment