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