emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 407fb16: * Add 'gcc_jit_type_get_const' to Windows d


From: Andrea Corallo
Subject: feature/native-comp 407fb16: * Add 'gcc_jit_type_get_const' to Windows dynamic load machinery (bug#45303).
Date: Sat, 19 Dec 2020 15:00:00 -0500 (EST)

branch: feature/native-comp
commit 407fb165832341d3dccb78d2782d1790a19c4b9d
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Add 'gcc_jit_type_get_const' to Windows dynamic load machinery 
(bug#45303).
    
        * src/comp.c: Add 'gcc_jit_type_get_const' to windows dynamic
        load machinery.
---
 src/comp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/comp.c b/src/comp.c
index b52e7e3..f77faaa 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -102,6 +102,7 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
 #undef gcc_jit_rvalue_get_type
 #undef gcc_jit_struct_as_type
 #undef gcc_jit_struct_set_fields
+#undef gcc_jit_type_get_const
 #undef gcc_jit_type_get_pointer
 #undef gcc_jit_version_major
 #undef gcc_jit_version_minor
@@ -208,6 +209,7 @@ DEF_DLL_FN (gcc_jit_type *, gcc_jit_context_new_union_type,
 DEF_DLL_FN (gcc_jit_type *, gcc_jit_rvalue_get_type, (gcc_jit_rvalue *rvalue));
 DEF_DLL_FN (gcc_jit_type *, gcc_jit_struct_as_type,
             (gcc_jit_struct *struct_type));
+DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_const, (gcc_jit_type *type));
 DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_pointer, (gcc_jit_type *type));
 DEF_DLL_FN (void, gcc_jit_block_add_assignment,
             (gcc_jit_block *block, gcc_jit_location *loc, gcc_jit_lvalue 
*lvalue,
@@ -308,6 +310,7 @@ init_gccjit_functions (void)
   LOAD_DLL_FN (library, gcc_jit_rvalue_get_type);
   LOAD_DLL_FN (library, gcc_jit_struct_as_type);
   LOAD_DLL_FN (library, gcc_jit_struct_set_fields);
+  LOAD_DLL_FN (library, gcc_jit_type_get_const);
   LOAD_DLL_FN (library, gcc_jit_type_get_pointer);
   LOAD_DLL_FN_OPT (library, gcc_jit_context_add_driver_option);
   LOAD_DLL_FN_OPT (library, gcc_jit_global_set_initializer);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]