summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-06-11 22:53:31 +0200
committerAndrea Corallo <akrl@sdf.org>2020-06-13 16:37:14 +0200
commit34ed9d24984360dcc26fc36561f2de6a0917c58e (patch)
tree737ba027f5db0b7e9134bda2d3ddc95e636ffb18 /lisp/emacs-lisp/syntax.el
parent7f8dbf70a5b0a61345b458537b1a7b4febf468fc (diff)
downloademacs-34ed9d24984360dcc26fc36561f2de6a0917c58e.tar.gz
emacs-34ed9d24984360dcc26fc36561f2de6a0917c58e.tar.bz2
emacs-34ed9d24984360dcc26fc36561f2de6a0917c58e.zip
* Introduce latches
Define a new kind of basic block 'latch' to close over loops. Its purpose is for now to emit calls to `comp-maybe-gc-or-quit' but in future will be usefull for the loop optimizer to exploit unboxes. * lisp/emacs-lisp/comp.el (comp-block): New base class. (comp-block-lap): New class for LAP derived basic blocks. (comp-latch): New class. (comp-bb-maybe-add, comp-make-curr-block, comp-emit-handler) (comp-emit-switch, comp-emit-switch, comp-limplify-top-level) (comp-addr-to-bb-name, comp-limplify-block) (comp-limplify-function): Update logic for new bb objects arrangment. (comp-latch-make-fill): New function. (comp-emit-uncond-jump, comp-emit-cond-jump): Update to emit latches. (comp-new-block-sym): Add a postfix paramenter.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions