Commit graph

6345 commits

Author SHA1 Message Date
Andrea Corallo
5eb8d3dba1 rework bytecomp spill code 2020-01-01 11:38:00 +01:00
Andrea Corallo
d6ae5369b0 some code massage 2020-01-01 11:38:00 +01:00
Andrea Corallo
0720354082 native compile return the filename of the compilation unit 2020-01-01 11:38:00 +01:00
Andrea Corallo
0f68de830a fix limplification for functions with more than 8 args 2020-01-01 11:38:00 +01:00
Andrea Corallo
e0e0b92c1d rework limplify to prevent block duplication 2020-01-01 11:37:59 +01:00
Andrea Corallo
515644edc0 sanity check against block duplication. 2020-01-01 11:37:59 +01:00
Andrea Corallo
0b9bec6863 fix comp-emit-narg-prologue 2020-01-01 11:37:59 +01:00
Andrea Corallo
283b0db31c Revert "simplify comp-limplify-block"
This reverts commit 31861f63a4b57e69cdcd247e48567242a05bd58e.
2020-01-01 11:37:59 +01:00
Andrea Corallo
96bca89e5b fix subr name within comp-limplify-lap-inst 2020-01-01 11:37:59 +01:00
Andrea Corallo
475b4768c8 simplify comp-limplify-block 2020-01-01 11:37:59 +01:00
Andrea Corallo
67ac8603ea better comp-limplify-block
do not non fall through blocks
2020-01-01 11:37:59 +01:00
Andrea Corallo
45158ed98b promote a couple of small functions tu subst 2020-01-01 11:37:59 +01:00
Andrea Corallo
cf72d9de0f emit TAG number as comment 2020-01-01 11:37:59 +01:00
Andrea Corallo
face460c41 make more robust comp-emit-uncond-jump 2020-01-01 11:37:58 +01:00
Andrea Corallo
59f7b15511 fix comp-limplify-block for wrong cl func usage 2020-01-01 11:37:58 +01:00
Andrea Corallo
adac6fa11a make non local handler bb generation robust for all order of creation 2020-01-01 11:37:58 +01:00
Andrea Corallo
8d08a8a107 add fetch-handler operator 2020-01-01 11:37:58 +01:00
Andrea Corallo
7ba9a4c895 add autoload 2020-01-01 11:37:58 +01:00
Andrea Corallo
922c412803 fix limplification when TAG follow fall through eob 2020-01-01 11:37:58 +01:00
Andrea Corallo
eab243d222 do not check label stack depth when this is not provided 2020-01-01 11:37:58 +01:00
Andrea Corallo
50604ff387 fix missing jump into comp-emit-narg-prologue 2020-01-01 11:37:57 +01:00
Andrea Corallo
63a1f317d0 fix comp-limplify-block when falling through a return 2020-01-01 11:37:57 +01:00
Andrea Corallo
f24c0c7111 log a page break when start compiling 2020-01-01 11:37:57 +01:00
Andrea Corallo
689bb58262 update emit-handler + rework comp-emit-cond-jump 2020-01-01 11:37:57 +01:00
Andrea Corallo
aadb83da74 fix initial sp value 2020-01-01 11:37:57 +01:00
Andrea Corallo
661567b7cd remove comp-stack-adjust 2020-01-01 11:37:57 +01:00
Andrea Corallo
f0e83548ee re enable switch support 2020-01-01 11:37:57 +01:00
Andrea Corallo
1a4aa391ee reworking comp-limplify-block 2020-01-01 11:37:57 +01:00
Andrea Corallo
3b58bac273 mega loop refactor 2020-01-01 11:37:57 +01:00
Andrea Corallo
26db0a0326 make stack depth computation robust in limplify 2020-01-01 11:37:57 +01:00
Andrea Corallo
c6d819ecb5 fix initial stack depth 2020-01-01 11:37:57 +01:00
Andrea Corallo
a90803a4d1 add stack sanity check 2020-01-01 11:37:56 +01:00
Andrea Corallo
ca907fe89b fix missing fall through handling 2020-01-01 11:37:56 +01:00
Andrea Corallo
cae7d6cd58 fix label to addr computation 2020-01-01 11:37:56 +01:00
Andrea Corallo
6bbbf3fd82 reworking limplify 2020-01-01 11:37:56 +01:00
Andrea Corallo
01334409d6 doc fix 2020-01-01 11:37:56 +01:00
Andrea Corallo
f69a2b851d remove unnecessary macros into limplify pass 2020-01-01 11:37:56 +01:00
Andrea Corallo
4a00e47d4d fix comp.el compilation warning 2020-01-01 11:37:56 +01:00
Andrea Corallo
4a526ab48d remove nasty nested macro usage in limplify pass 2020-01-01 11:37:56 +01:00
Andrea Corallo
f8a454f3ef clean-up commented code 2020-01-01 11:37:56 +01:00
Andrea Corallo
63078fb5af fix frame size computation 2020-01-01 11:37:55 +01:00
Andrea Corallo
0ae14c17a2 fix compilation of devar defconst with doc string 2020-01-01 11:37:55 +01:00
Andrea Corallo
65c0d931f7 alist-get instead of assoc cdr 2020-01-01 11:37:55 +01:00
Andrea Corallo
1f91b8c6ee better immediate type propagation 2020-01-01 11:37:55 +01:00
Andrea Corallo
abac70f198 ignore anonymous forms (they are not functions) 2020-01-01 11:37:55 +01:00
Andrea Corallo
bf253dd2e9 regulate verbosity with comp-verbose 2020-01-01 11:37:55 +01:00
Andrea Corallo
de1f89c202 remove comp-debug 2020-01-01 11:37:55 +01:00
Andrea Corallo
734eb8f940 remove defvar that is not anymore necessary 2020-01-01 11:37:54 +01:00
Andrea Corallo
9da698575a always expand file name when bytecompiling 2020-01-01 11:37:54 +01:00
Andrea Corallo
7d3da0a37e fix subr-native-elisp-p predicate name 2020-01-01 11:37:54 +01:00