File: comp-run.el.html

While the main native compiler is implemented in comp.el, when commonly used as a jit compiler it is only loaded by Emacs sub processes performing async compilation. This file contains all the code needed to drive async compilations and any Lisp code needed at runtime to run native code.

Defined variables (14)

comp-async-buffer-nameName of the async compilation buffer log.
comp-async-compilationsHash table file-name -> async compilation process.
comp-files-queueList of Emacs Lisp files to be compiled.
comp-no-spawnNon-nil don’t spawn native compilation processes.
comp-valid-source-reRegexp to match filename of valid input source files.
comp-warn-primitivesList of primitives we want to warn about in case of redefinition.
native-comp-always-compileNon-nil means unconditionally (re-)compile all files.
native-comp-async-all-done-hookHook run after completing asynchronous compilation of all input files.
native-comp-async-cu-done-functionsList of functions to call when asynchronous compilation of a file is done.
native-comp-async-jobs-numberDefault number of subprocesses used for async native compilation.
native-comp-async-query-on-exitWhether to query the user about killing async compilations when exiting.
native-comp-async-report-warnings-errorsWhether to report warnings and errors from asynchronous native compilation.
native-comp-async-warnings-errors-kindWhich kind of warnings and errors to report from async native compilation.
native-comp-jit-compilation-deny-listList of regexps to exclude matching files from deferred native compilation.

Defined functions (9)

comp--accept-and-process-async-output(PROCESS)
comp--async-runnings()
comp--effective-async-max-jobs()
comp--run-async-workers()
comp--trampoline-search(SUBR-NAME)
comp-subr-trampoline-install(SUBR-NAME)
native--compile-async(FILES &optional RECURSIVELY LOAD SELECTOR)
native--compile-async-skip-p(FILE LOAD SELECTOR)
native-compile-async(FILES &optional RECURSIVELY LOAD SELECTOR)

Defined faces (0)