]> git.eshelyaron.com Git - emacs.git/commit
* Make use of new 'gcc_jit_global_set_initializer' entry point
authorAndrea Corallo <akrl@sdf.org>
Sun, 31 May 2020 13:39:59 +0000 (14:39 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 11 Sep 2020 13:04:28 +0000 (15:04 +0200)
commitff593d934aec6d8e7b211d7fe2ff7fc8f92ad42b
treecaba8c8a5c882d503715f060ae11abf21b6e38d7
parent42b5a1101d2230bc1a6d7abf019f9a96c164da5c
* Make use of new 'gcc_jit_global_set_initializer' entry point

Use this brand new entry point to avoid the current workaround and its
load-time memcpys.

* src/comp.c (gcc_jit_global_set_initializer): Add to the dynamic
load machinery.
(static_obj_t): Remove const qualifier from the data field.
(emit_static_object): Make use of 'gcc_jit_global_set_initializer'
when available.
(load_static_obj): Use the blob for loading if that was emitted.
src/comp.c