From: Andrea Corallo Date: Sun, 15 Dec 2019 14:43:04 +0000 (+0100) Subject: remove advice dependency X-Git-Tag: emacs-28.0.90~2727^2~915 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0173ecd0ce8c2ac458cd84c25216f59f3fc9889;p=emacs.git remove advice dependency --- diff --git a/src/comp.c b/src/comp.c index ea37b89f847..5a001396682 100644 --- a/src/comp.c +++ b/src/comp.c @@ -3053,8 +3053,6 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, { CHECK_STRING (ctxtname); - Frequire (Qadvice, Qnil, Qnil); - gcc_jit_context_set_int_option (comp.ctxt, GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL, SPEED); @@ -3302,8 +3300,6 @@ DEFUN ("native-elisp-load", Fnative_elisp_load, Snative_elisp_load, 1, 1, 0, xsignal2 (Qnative_lisp_load_failed, file, build_string ("Empty relocation table")); - Frequire (Qadvice, Qnil, Qnil); - dynlib_handle_ptr handle = dynlib_open (SSDATA (file)); load_handle_stack = Fcons (make_mint_ptr (handle), load_handle_stack); if (!handle) @@ -3370,11 +3366,8 @@ syms_of_comp (void) /* Others. */ DEFSYM (Qfixnum, "fixnum"); - DEFSYM (Qadvice, "advice"); - - /* To be signaled. */ - /* By the compiler. */ + /* To be signaled by the compiler. */ DEFSYM (Qnative_compiler_error, "native-compiler-error"); Fput (Qnative_compiler_error, Qerror_conditions, pure_list (Qnative_compiler_error, Qerror));