Function: make-comp-ctxt--cmacro

make-comp-ctxt--cmacro is a function defined in comp.el.gz.

Signature

(make-comp-ctxt--cmacro CL-WHOLE &cl-quote &key UNION-TYPESETS-MEM COMMON-SUPERTYPE-MEM SUBTYPE-P-MEM UNION-1-MEM-NO-RANGE UNION-1-MEM-RANGE INTERSECTION-MEM OUTPUT SPEED DEBUG COMPILER-OPTIONS DRIVER-OPTIONS TOP-LEVEL-FORMS FUNCS-H SYM-TO-C-NAME-H BYTE-FUNC-TO-FUNC-H LAMBDA-FIXUPS-H FUNCTION-DOCS D-DEFAULT D-IMPURE D-EPHEMERAL WITH-LATE-LOAD)

Documentation

compiler-macro for inlining make-comp-ctxt.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;; Closure converted to defun by helpful.
(defun make-comp-ctxt--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-comp-ctxt'.\n\n\\(fn CL-WHOLE &cl-quote &key UNION-TYPESETS-MEM COMMON-SUPERTYPE-MEM SUBTYPE-P-MEM UNION-1-MEM-NO-RANGE UNION-1-MEM-RANGE INTERSECTION-MEM OUTPUT SPEED DEBUG COMPILER-OPTIONS DRIVER-OPTIONS TOP-LEVEL-FORMS FUNCS-H SYM-TO-C-NAME-H BYTE-FUNC-TO-FUNC-H LAMBDA-FIXUPS-H FUNCTION-DOCS D-DEFAULT D-IMPURE D-EPHEMERAL WITH-LATE-LOAD)"
  (let*
      ((union-typesets-mem
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':union-typesets-mem)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (common-supertype-mem
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':common-supertype-mem)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (subtype-p-mem
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':subtype-p-mem)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (union-1-mem-no-range
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':union-1-mem-no-range)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (union-1-mem-range
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':union-1-mem-range)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (intersection-mem
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':intersection-mem)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (output
	(car
	 (cdr
	  (plist-member --cl-rest-- ':output))))
       (speed
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':speed)
	   '(nil native-comp-speed)))))
       (debug
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':debug)
	   '(nil native-comp-debug)))))
       (compiler-options
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':compiler-options)
	   '(nil native-comp-compiler-options)))))
       (driver-options
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':driver-options)
	   '(nil native-comp-driver-options)))))
       (top-level-forms
	(car
	 (cdr
	  (plist-member --cl-rest-- ':top-level-forms))))
       (funcs-h
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':funcs-h)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (sym-to-c-name-h
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':sym-to-c-name-h)
	   '(nil
	     (make-hash-table :test #'eq))))))
       (byte-func-to-func-h
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':byte-func-to-func-h)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (lambda-fixups-h
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':lambda-fixups-h)
	   '(nil
	     (make-hash-table :test #'equal))))))
       (function-docs
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':function-docs)
	   '(nil
	     (make-hash-table :test #'eql))))))
       (d-default
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':d-default)
	   '(nil
	     (make-comp-data-container))))))
       (d-impure
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':d-impure)
	   '(nil
	     (make-comp-data-container))))))
       (d-ephemeral
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':d-ephemeral)
	   '(nil
	     (make-comp-data-container))))))
       (with-late-load
	(car
	 (cdr
	  (plist-member --cl-rest-- ':with-late-load)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:union-typesets-mem :common-supertype-mem :subtype-p-mem :union-1-mem-no-range :union-1-mem-range :intersection-mem :output :speed :debug :compiler-options :driver-options :top-level-forms :funcs-h :sym-to-c-name-h :byte-func-to-func-h :lambda-fixups-h :function-docs :d-default :d-impure :d-ephemeral :with-late-load :allow-other-keys))
	    (setq --cl-keys--
		  (cdr
		   (cdr --cl-keys--))))
	   ((car
	     (cdr
	      (memq ':allow-other-keys --cl-rest--)))
	    (setq --cl-keys-- nil))
	   (t
	    (error "Keyword argument %s not one of (:union-typesets-mem :common-supertype-mem :subtype-p-mem :union-1-mem-no-range :union-1-mem-range :intersection-mem :output :speed :debug :compiler-options :driver-options :top-level-forms :funcs-h :sym-to-c-name-h :byte-func-to-func-h :lambda-fixups-h :function-docs :d-default :d-impure :d-ephemeral :with-late-load)"
		   (car --cl-keys--))))))
      (cl-block make-comp-ctxt--cmacro
	(cl--defsubst-expand
	 '(union-typesets-mem common-supertype-mem subtype-p-mem union-1-mem-no-range union-1-mem-range intersection-mem output speed debug compiler-options driver-options top-level-forms funcs-h sym-to-c-name-h byte-func-to-func-h lambda-fixups-h function-docs d-default d-impure d-ephemeral with-late-load)
	 '(cl-block make-comp-ctxt
	    (record 'comp-ctxt union-typesets-mem common-supertype-mem subtype-p-mem union-1-mem-no-range union-1-mem-range intersection-mem output speed debug compiler-options driver-options top-level-forms funcs-h sym-to-c-name-h byte-func-to-func-h lambda-fixups-h function-docs d-default d-impure d-ephemeral with-late-load))
	 nil cl-whole nil union-typesets-mem common-supertype-mem subtype-p-mem union-1-mem-no-range union-1-mem-range intersection-mem output speed debug compiler-options driver-options top-level-forms funcs-h sym-to-c-name-h byte-func-to-func-h lambda-fixups-h function-docs d-default d-impure d-ephemeral with-late-load)))))