1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

140284 Commits

Author SHA1 Message Date
Andrea Corallo
4814c6b118 initial top level support (defvar working) 2020-01-01 11:37:44 +01:00
Andrea Corallo
ac47ef773e test separate compile unit 2020-01-01 11:37:44 +01:00
Andrea Corallo
29fcb6ca12 basic file compilation working 2020-01-01 11:37:44 +01:00
Andrea Corallo
37a794ce21 split final pass + some code rework 2020-01-01 11:37:44 +01:00
Andrea Corallo
3d9d7b3451 generalize code into comp.el for compile multiple funcitons 2020-01-01 11:37:44 +01:00
Andrea Corallo
2b51859d44 prepare for file compilation 2020-01-01 11:37:44 +01:00
Andrea Corallo
82eb75bd54 remove unused helper functions 2020-01-01 11:37:44 +01:00
Andrea Corallo
9913638cc5 use nrevese where necessary 2020-01-01 11:37:44 +01:00
Andrea Corallo
ff7093d74b some order into special vars 2020-01-01 11:37:43 +01:00
Andrea Corallo
c05d414844 emit fixnum constants as immediates 2020-01-01 11:37:43 +01:00
Andrea Corallo
43172dd01f fix relocs for all inliners 2020-01-01 11:37:43 +01:00
Andrea Corallo
5d6e42e013 update inline emitters 2020-01-01 11:37:43 +01:00
Andrea Corallo
7e92976bc7 fix last test broken by reload 2020-01-01 11:37:43 +01:00
Andrea Corallo
6d4d9225af simplify condition in emit_ctxt_code 2020-01-01 11:37:43 +01:00
Andrea Corallo
2f559c2678 need to temporary add a load path 2020-01-01 11:37:43 +01:00
Andrea Corallo
f23894516a rename a function test to avoid name clashing 2020-01-01 11:37:43 +01:00
Andrea Corallo
41f1fd53c8 disable part of comp-tests-ffuncall 2020-01-01 11:37:43 +01:00
Andrea Corallo
6cd45fbf37 rework stati object serialization 2020-01-01 11:37:43 +01:00
Andrea Corallo
d88d35ffed let emit_literal_string_func emit a dbg friendly friendly 2020-01-01 11:37:43 +01:00
Andrea Corallo
17cf659fdf add helper_unwind_protect as runtime imported 2020-01-01 11:37:42 +01:00
Andrea Corallo
6ac6e5b475 long string literal workaround 2020-01-01 11:37:42 +01:00
Andrea Corallo
3f841a942b add set_internal as runtime imported 2020-01-01 11:37:42 +01:00
Andrea Corallo
e672990d88 typo fixes 2020-01-01 11:37:42 +01:00
Andrea Corallo
211db146a2 add record_unwind_current_buffer as imported 2020-01-01 11:37:42 +01:00
Andrea Corallo
6df64d170a fix relocation emission into comp.el 2020-01-01 11:37:42 +01:00
Andrea Corallo
94c542da1a add more runtime helpers 2020-01-01 11:37:42 +01:00
Andrea Corallo
895bb4c911 fix func reloc order emission 2020-01-01 11:37:42 +01:00
Andrea Corallo
b9b5cf4196 ignore inliners while relocating 2020-01-01 11:37:42 +01:00
Andrea Corallo
999e625bc9 adding runtime relocs 2020-01-01 11:37:42 +01:00
Andrea Corallo
bfc298ca31 style fix in emit_limple_push_handler 2020-01-01 11:37:41 +01:00
Andrea Corallo
76021e1e06 always release contex even in case of failure 2020-01-01 11:37:41 +01:00
Andrea Corallo
90425b6d4b better messaging when load native elisp 2020-01-01 11:37:41 +01:00
Andrea Corallo
a102f471b3 emit relocs for callref too 2020-01-01 11:37:41 +01:00
Andrea Corallo
c698ac791b add authorship 2020-01-01 11:37:41 +01:00
Andrea Corallo
a2b1795b96 clean-up unnecessary includes 2020-01-01 11:37:41 +01:00
Andrea Corallo
a2257a531d add NATIVE_ELISP_SUFFIX def into congure.ac 2020-01-01 11:37:41 +01:00
Andrea Corallo
3b696d1cdc Revert "Make block_atimers unblock_atimers extern"
This reverts commit 4266794ceb30ba8c3465fb8568695f53b676247d.
2020-01-01 11:37:41 +01:00
Andrea Corallo
4c03c46946 Revert "Move native C code into shared library"
This reverts commit 613f4156880bc6c3d56ebe0297e59f805d2a69ab.
2020-01-01 11:37:41 +01:00
Andrea Corallo
e3163f1d4c Revert "Create bytecode.h"
This reverts commit c91954e5bb6365b72ad5654e932bc374a66fb4af.
2020-01-01 11:37:41 +01:00
Andrea Corallo
dc52036074 improve reloc mechanism 2020-01-01 11:37:40 +01:00
Andrea Corallo
9413488ab4 reloc emission mechanism seems ok 2020-01-01 11:37:40 +01:00
Andrea Corallo
ad5488cad6 emit function relocation into structure 2020-01-01 11:37:40 +01:00
Andrea Corallo
cf0053a66a some renaming 2020-01-01 11:37:40 +01:00
Andrea Corallo
ed2d884872 seems to emit all relocs 2020-01-01 11:37:40 +01:00
Andrea Corallo
d34eb7a39f reloc fist simple func 2020-01-01 11:37:40 +01:00
Andrea Corallo
620794aa93 emit function relocation name from comp.el 2020-01-01 11:37:40 +01:00
Andrea Corallo
5e06f2fc31 some clean-up into comp.el 2020-01-01 11:37:40 +01:00
Andrea Corallo
8bf2e4e282 add and call comp-add-subr-to-relocs 2020-01-01 11:37:40 +01:00
Andrea Corallo
5ebc3fc47c have subr name in limple 2020-01-01 11:37:40 +01:00
Andrea Corallo
79d4b6915c make use of data relocations 2020-01-01 11:37:39 +01:00