Commit graph

6326 commits

Author SHA1 Message Date
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
Andrea Corallo
9c31066ccd fix comp.el compilation 2020-01-01 11:37:54 +01:00
Andrea Corallo
bb25117eb4 add comp-native-compiling flag 2020-01-01 11:37:54 +01:00
Andrea Corallo
82a018e062 better description 2020-01-01 11:37:54 +01:00
Andrea Corallo
d66d6ec513 initial add for compiler hits 2020-01-01 11:37:54 +01:00
Andrea Corallo
d9db777040 rework comp-call-optim-form-call 2020-01-01 11:37:54 +01:00
Andrea Corallo
bdea0f62b5 add some call optimizer doc 2020-01-01 11:37:53 +01:00
Andrea Corallo
59d53e1fde fix push handler propagation 2020-01-01 11:37:53 +01:00
Andrea Corallo
eaade31040 clean ref slot for mvars optimized by comp-call-optim-form-call 2020-01-01 11:37:53 +01:00
Andrea Corallo
d9670ef135 add dead code removal pass 2020-01-01 11:37:52 +01:00
Andrea Corallo
86a22004c9 repropagate after call-optim 2020-01-01 11:37:52 +01:00
Andrea Corallo
c8d745d10a clean-up pass mechanism 2020-01-01 11:37:52 +01:00
Andrea Corallo
b45122b713 rework basic block entry sp emission 2020-01-01 11:37:52 +01:00
Andrea Corallo
fcab7f72e1 fix comp-new-block-sym 2020-01-01 11:37:52 +01:00
Andrea Corallo
a49be9dba9 better comp-func doc 2020-01-01 11:37:52 +01:00
Andrea Corallo
4c33696014 remove unused field into comp-func 2020-01-01 11:37:52 +01:00
Andrea Corallo
4a0adfec2a better doc for comp-func struct 2020-01-01 11:37:52 +01:00
Andrea Corallo
be1b64bdb5 strengthening comp-compute-edges 2020-01-01 11:37:51 +01:00
Andrea Corallo
c6be6fd6cc verify to never emit insns into a closed block 2020-01-01 11:37:51 +01:00
Andrea Corallo
5976919a33 better logging 2020-01-01 11:37:51 +01:00