Basic constructor macro for call-dinfo structures.
(make-call-dinfo [:fun <fun>] [:scopes <scopes>])
This is the usual way to construct call-dinfo structures. It simply conses together a structure with the specified fields.
This macro generates a new call-dinfo structure from scratch. See also change-call-dinfo, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-call-dinfo (&rest args) (std::make-aggregate 'call-dinfo args '((:fun) (:scopes)) 'make-call-dinfo nil))
Function:
(defun call-dinfo (fun scopes) (declare (xargs :guard (and (identifierp fun) (vcscope-dinfo-listp scopes)))) (declare (xargs :guard t)) (let ((__function__ 'call-dinfo)) (declare (ignorable __function__)) (b* ((fun (mbe :logic (identifier-fix fun) :exec fun)) (scopes (mbe :logic (vcscope-dinfo-list-fix scopes) :exec scopes))) (list (cons 'fun fun) (cons 'scopes scopes)))))