1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

140596 Commits

Author SHA1 Message Date
Andrea Corallo
12639610f7 better printing for native compilation unit 2020-01-01 11:38:15 +01:00
Andrea Corallo
fd3c00ff92 add subr-native-compilation-unit primitive 2020-01-01 11:38:15 +01:00
Andrea Corallo
0a74771ee9 fix invalid read in fill_freloc 2020-01-01 11:38:15 +01:00
Andrea Corallo
5dae0a9a55 add support for native comp unit to type-of 2020-01-01 11:38:15 +01:00
Andrea Corallo
b275ddd63a rationalize load functions 2020-01-01 11:38:14 +01:00
Andrea Corallo
5ecb71c1e6 clean-up unnecessary function prevent_gc 2020-01-01 11:38:14 +01:00
Andrea Corallo
42362d9914 remove load_handle_stack and use the implementation one 2020-01-01 11:38:14 +01:00
Andrea Corallo
a88e5f0f19 better compilation unit definition 2020-01-01 11:38:14 +01:00
Andrea Corallo
4c8b46514d some rename on compilation unit struct 2020-01-01 11:38:14 +01:00
Andrea Corallo
c5bb62f99d initial gc support 2020-01-01 11:38:14 +01:00
Andrea Corallo
79436f0c74 use memory mapped file for loading elns 2020-01-01 11:38:14 +01:00
Andrea Corallo
54677f96f3 split out copy_file_fd 2020-01-01 11:38:14 +01:00
Andrea Corallo
9a8f33f285 introduce SUBRP_NATIVE_COMPILEDP 2020-01-01 11:38:14 +01:00
Andrea Corallo
f0671c6063 make dynlib_close active code 2020-01-01 11:38:14 +01:00
Andrea Corallo
4496a3f5ba initial compilation unit as object add 2020-01-01 11:38:13 +01:00
Andrea Corallo
b3cbdfc864 add basic compilation unit into structure 2020-01-01 11:38:13 +01:00
Andrea Corallo
a647a97320 better scratch slot support 2020-01-01 11:38:13 +01:00
Andrea Corallo
ee4feb005f fix some nits 2020-01-01 11:38:13 +01:00
Andrea Corallo
88671e638b make use of ARRAYELTS macro where possible 2020-01-01 11:38:13 +01:00
Andrea Corallo
a10405386f malloc instead of static alloc into emit_ctxt_code
make it good to be reentrant
2020-01-01 11:38:13 +01:00
Andrea Corallo
d0fcb15fa9 fix comp--register-subr 2020-01-01 11:38:13 +01:00
Andrea Corallo
d0173ecd0c remove advice dependency 2020-01-01 11:38:13 +01:00
Andrea Corallo
ac08a7f26c clean-up old function relocation code 2020-01-01 11:38:13 +01:00
Andrea Corallo
694ece7722 reworking relocation mechanism to use one single table 2020-01-01 11:38:13 +01:00
Andrea Corallo
740462da61 remove ifdef where unnecessary and add where they are 2020-01-01 11:38:12 +01:00
Andrea Corallo
8234a62e6f stringify within macro ADD_IMPORTED 2020-01-01 11:38:12 +01:00
Andrea Corallo
26ce5664ae use safe alloca in declare_imported_func 2020-01-01 11:38:12 +01:00
Andrea Corallo
54e0b112d3 style nit 2020-01-01 11:38:12 +01:00
Andrea Corallo
6c9acd13d0 single function native compilation doc + interactive support + tests 2020-01-01 11:38:12 +01:00
Andrea Corallo
b3db331e8c add native interactive support test 2020-01-01 11:38:12 +01:00
Andrea Corallo
3345399e87 add native documentation support test 2020-01-01 11:38:12 +01:00
Andrea Corallo
a248dfe2c3 native compile interactive functions support 2020-01-01 11:38:12 +01:00
Andrea Corallo
48f5530e79 add int-spec to comp-func 2020-01-01 11:38:12 +01:00
Andrea Corallo
d7071c6457 spill also interactive functions 2020-01-01 11:38:12 +01:00
Andrea Corallo
e2855d93ee renaming comp-decrypt-lambda-list -> comp-decrypt-arg-list 2020-01-01 11:38:11 +01:00
Andrea Corallo
f4de790bee add native compiled function docstring support 2020-01-01 11:38:11 +01:00
Andrea Corallo
e05253cb9b let intern_c_string works creating with non-pure strings 2020-01-01 11:38:11 +01:00
Andrea Corallo
60a81f44e4 better naming variable 2020-01-01 11:38:11 +01:00
Andrea Corallo
4a639f3ae9 documentation nit 2020-01-01 11:38:11 +01:00
Andrea Corallo
ce254ffa44 do not emit elc file while native compiling 2020-01-01 11:38:11 +01:00
Andrea Corallo
9a87c4404f native-compile-async accept list as input 2020-01-01 11:38:11 +01:00
Andrea Corallo
7f5f60d543 insert compilation end message at the bottom of the buffer 2020-01-01 11:38:11 +01:00
Andrea Corallo
a214a29e48 fix comp-propagate-insn type propagation 2020-01-01 11:38:11 +01:00
Andrea Corallo
5411beae02 remove unnecessary return when printing blocks 2020-01-01 11:38:11 +01:00
Andrea Corallo
ba51c31b47 gate propagate to comp-speed > 1 2020-01-01 11:38:10 +01:00
Andrea Corallo
10adad440b update limple example 2020-01-01 11:38:10 +01:00
Andrea Corallo
6a3624eecb fix wrong enum usage into declare_function 2020-01-01 11:38:10 +01:00
Andrea Corallo
44023f3db2 fix comp-log-edges 2020-01-01 11:38:10 +01:00
Andrea Corallo
ba2bbea816 adjust print verbosity according to the doc 2020-01-01 11:38:10 +01:00
Andrea Corallo
9650e5a1a9 revert unnecessary modifications 2020-01-01 11:38:10 +01:00