Function: comp--new-frame

comp--new-frame is a byte-compiled function defined in comp.el.gz.

Signature

(comp--new-frame SIZE VSIZE &optional SSA)

Documentation

Return a clean frame of meta variables of size SIZE and VSIZE.

If SSA is non-nil, populate it with m-var in ssa form.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defun comp--new-frame (size vsize &optional ssa)
  "Return a clean frame of meta variables of size SIZE and VSIZE.
If SSA is non-nil, populate it with m-var in ssa form."
  (cl-loop with v = (make-comp-vec :beg (- vsize) :end size)
           for i from (- vsize) below size
           for mvar = (if ssa
                          (make--comp--ssa-mvar :slot i)
                        (make--comp-mvar :slot i))
           do (setf (comp-vec-aref v i) mvar)
           finally return v))