aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Corallo2020-06-08 18:34:46 +0200
committerAndrea Corallo2020-06-08 21:51:24 +0100
commit3d3737b90ab4dcded11ec716f92b9fa8a5c3fbeb (patch)
treeda03a9b2175bdfff656ce980eca271e7a4491841
parentdfa52572bdc1024342fa1a227ff627386e097a12 (diff)
downloademacs-3d3737b90ab4dcded11ec716f92b9fa8a5c3fbeb.tar.gz
emacs-3d3737b90ab4dcded11ec716f92b9fa8a5c3fbeb.zip
* Move final log after containers has been finalized
* lisp/emacs-lisp/comp.el (comp-final): Remove function log. (comp-compile-ctxt-to-file): Add function log.
-rw-r--r--lisp/emacs-lisp/comp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index a6bf723f54c..2cde99e7280 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2305,6 +2305,9 @@ Update all insn accordingly."
2305Prepare every function for final compilation and drive the C back-end." 2305Prepare every function for final compilation and drive the C back-end."
2306 (let ((dir (file-name-directory name))) 2306 (let ((dir (file-name-directory name)))
2307 (comp-finalize-relocs) 2307 (comp-finalize-relocs)
2308 (maphash (lambda (_ f)
2309 (comp-log-func f 1))
2310 (comp-ctxt-funcs-h comp-ctxt))
2308 (unless (file-exists-p dir) 2311 (unless (file-exists-p dir)
2309 ;; In case it's created in the meanwhile. 2312 ;; In case it's created in the meanwhile.
2310 (ignore-error 'file-already-exists 2313 (ignore-error 'file-already-exists
@@ -2315,9 +2318,6 @@ Prepare every function for final compilation and drive the C back-end."
2315(defun comp-final (_) 2318(defun comp-final (_)
2316 "Final pass driving the C back-end for code emission." 2319 "Final pass driving the C back-end for code emission."
2317 (let (compile-result) 2320 (let (compile-result)
2318 (maphash (lambda (_ f)
2319 (comp-log-func f 1))
2320 (comp-ctxt-funcs-h comp-ctxt))
2321 (comp--init-ctxt) 2321 (comp--init-ctxt)
2322 (unwind-protect 2322 (unwind-protect
2323 (setf compile-result 2323 (setf compile-result