[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 02054d9cd1: * Improve 'maybe_defer_native_compilation'
From: |
Andrea Corallo |
Subject: |
master 02054d9cd1: * Improve 'maybe_defer_native_compilation' |
Date: |
Tue, 1 Feb 2022 12:06:58 -0500 (EST) |
branch: master
commit 02054d9cd1f5c6a5ca3555207235522532477e10
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Improve 'maybe_defer_native_compilation'
* src/comp.c (maybe_defer_native_compilation): Always store the
function name in Vcomp_deferred_pending_h if pending for deferred
compilation.
---
src/comp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/comp.c b/src/comp.c
index 5efe026b2b..251613dc3d 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -5127,13 +5127,14 @@ maybe_defer_native_compilation (Lisp_Object
function_name,
return;
}
+ Fputhash (function_name, definition, Vcomp_deferred_pending_h);
+
/* This is so deferred compilation is able to compile comp
dependencies breaking circularity. */
if (comp__compilable)
{
/* Startup is done, comp is usable. */
CALL0I (startup--require-comp-safely);
- Fputhash (function_name, definition, Vcomp_deferred_pending_h);
CALLN (Ffuncall, intern_c_string ("native--compile-async"),
src, Qnil, Qlate);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 02054d9cd1: * Improve 'maybe_defer_native_compilation',
Andrea Corallo <=