[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8c429a4 14/16: Rename comp-native-driver-options → native-comp-d
From: |
Andrea Corallo |
Subject: |
master 8c429a4 14/16: Rename comp-native-driver-options → native-comp-driver-options |
Date: |
Thu, 6 May 2021 11:16:25 -0400 (EDT) |
branch: master
commit 8c429a42c4ad8137dc932d5ba0f2f5c7bd8f7799
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
Rename comp-native-driver-options → native-comp-driver-options
* src/comp.c (add_driver_options, syms_of_comp): Rename
comp-native-driver-options → native-comp-driver-options.
* lisp/emacs-lisp/comp.el (native-comp-driver-options)
(comp-ctxt, comp-spill-lap-function, comp-final)
(comp-run-async-workers): Likewise.
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Likewise.
---
lisp/emacs-lisp/bytecomp.el | 4 ++--
lisp/emacs-lisp/comp.el | 14 +++++++-------
src/comp.c | 4 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 16740e9..114c264 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2242,8 +2242,8 @@ With argument ARG, insert value in current buffer after
the form."
(push `(native-comp-speed . ,native-comp-speed)
byte-native-qualities)
(defvar native-comp-debug)
(push `(native-comp-debug . ,native-comp-debug)
byte-native-qualities)
- (defvar comp-native-driver-options)
- (push `(comp-native-driver-options . ,comp-native-driver-options)
+ (defvar native-comp-driver-options)
+ (push `(native-comp-driver-options . ,native-comp-driver-options)
byte-native-qualities)
(defvar no-native-compile)
(push `(no-native-compile . ,no-native-compile)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 8a1f26b..2b00faa 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -161,7 +161,7 @@ if `confirm-kill-processes' is non-nil."
:type 'boolean
:version "28.1")
-(defcustom comp-native-driver-options nil
+(defcustom native-comp-driver-options nil
"Options passed verbatim to the native compiler's back-end driver.
Note that not all options are meaningful; typically only the options
affecting the assembler and linker are likely to be useful.
@@ -747,7 +747,7 @@ Returns ELT."
:documentation "Default speed for this compilation unit.")
(debug native-comp-debug :type number
:documentation "Default debug level for this compilation unit.")
- (driver-options comp-native-driver-options :type list
+ (driver-options native-comp-driver-options :type list
:documentation "Options for the GCC driver.")
(top-level-forms () :type list
:documentation "List of spilled top level forms.")
@@ -1338,7 +1338,7 @@ clashes."
byte-native-qualities)
(comp-ctxt-debug comp-ctxt) (alist-get 'native-comp-debug
byte-native-qualities)
- (comp-ctxt-driver-options comp-ctxt) (alist-get
'comp-native-driver-options
+ (comp-ctxt-driver-options comp-ctxt) (alist-get
'native-comp-driver-options
byte-native-qualities)
(comp-ctxt-top-level-forms comp-ctxt)
(cl-loop
@@ -3654,8 +3654,8 @@ Prepare every function for final compilation and drive
the C back-end."
comp-libgccjit-reproducer ,comp-libgccjit-reproducer
comp-ctxt ,comp-ctxt
comp-eln-load-path ',comp-eln-load-path
- comp-native-driver-options
- ',comp-native-driver-options
+ native-comp-driver-options
+ ',native-comp-driver-options
load-path ',load-path)
,native-comp-async-env-modifier-form
(message "Compiling %s..." ',output)
@@ -3911,8 +3911,8 @@ display a message."
comp-libgccjit-reproducer
,comp-libgccjit-reproducer
comp-async-compilation t
comp-eln-load-path ',comp-eln-load-path
- comp-native-driver-options
- ',comp-native-driver-options
+ native-comp-driver-options
+ ',native-comp-driver-options
load-path ',load-path
warning-fill-column most-positive-fixnum)
,native-comp-async-env-modifier-form
diff --git a/src/comp.c b/src/comp.c
index 3608167..9173dde 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4358,7 +4358,7 @@ DEFUN ("comp-native-driver-options-effective-p",
static void
add_driver_options (void)
{
- Lisp_Object options = Fsymbol_value (Qcomp_native_driver_options);
+ Lisp_Object options = Fsymbol_value (Qnative_comp_driver_options);
#if defined (LIBGCCJIT_HAVE_gcc_jit_context_add_driver_option) \
|| defined (WINDOWSNT)
@@ -5209,7 +5209,7 @@ compiled one. */);
DEFSYM (Qnative_comp_speed, "native-comp-speed");
DEFSYM (Qnative_comp_debug, "native-comp-debug");
- DEFSYM (Qcomp_native_driver_options, "comp-native-driver-options");
+ DEFSYM (Qnative_comp_driver_options, "native-comp-driver-options");
DEFSYM (Qcomp_libgccjit_reproducer, "comp-libgccjit-reproducer");
/* Limple instruction set. */
- master 4e01605 11/16: * Rename comp-async-env-modifier-form → native-comp-async-env-modifier-form, (continued)
- master 4e01605 11/16: * Rename comp-async-env-modifier-form → native-comp-async-env-modifier-form, Andrea Corallo, 2021/05/06
- master 419852a 13/16: * Rename comp-async-query-on-exit → native-comp-async-query-on-exit, Andrea Corallo, 2021/05/06
- master c90129c 12/16: * Rename comp-async-report-warnings-errors, Andrea Corallo, 2021/05/06
- master 94c69eb 03/16: Rename comp-debug -> native-comp-debug, Andrea Corallo, 2021/05/06
- master e73186a 09/16: * Rename comp-async-cu-done-functions → native-comp-async-cu-done-functions, Andrea Corallo, 2021/05/06
- master d8f84a1 08/16: * Rename comp-async-jobs-number → native-comp-async-jobs-number, Andrea Corallo, 2021/05/06
- master 6efd788 04/16: * Rename comp-verbose -> native-comp-verbose, Andrea Corallo, 2021/05/06
- master 4e063bf 10/16: * Rename comp-async-all-done-hook → native-comp-async-all-done-hook, Andrea Corallo, 2021/05/06
- master 85b61c0 06/16: Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-list, Andrea Corallo, 2021/05/06
- master 901ce56 15/16: Rename comp-warning-on-missing-source, Andrea Corallo, 2021/05/06
- master 8c429a4 14/16: Rename comp-native-driver-options → native-comp-driver-options,
Andrea Corallo <=
- master fbbcbed 16/16: Rename comp-eln-load-path → native-comp-eln-load-path, Andrea Corallo, 2021/05/06