summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/js-resources/js-indent-init-dynamic.js
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-12-12 22:20:28 +0100
committerAndrea Corallo <akrl@sdf.org>2020-12-13 00:58:25 +0100
commit682bd303470d4a0fcd2690aff6aa58fb720a8d41 (patch)
tree7e35690e05ec121c6918653ec32fee55cd9a0791 /test/lisp/progmodes/js-resources/js-indent-init-dynamic.js
parent258eaddef8979d8ec6decb1ff4b11cab4be05e8b (diff)
downloademacs-682bd303470d4a0fcd2690aff6aa58fb720a8d41.tar.gz
emacs-682bd303470d4a0fcd2690aff6aa58fb720a8d41.tar.bz2
emacs-682bd303470d4a0fcd2690aff6aa58fb720a8d41.zip
* Allow for adding constraints targetting blocks with multiple predecessors
This commit remove the limitaiton we had not being able to add constraints derived from conditional branches to basic blocks with multiple predecessors. When this condition is verified we add a new dedicated basic block to hold the constraints. * lisp/emacs-lisp/comp.el (comp-block, comp-edge): Better slot type specifiers. (comp-block-cstr): New struct specializing `comp-block'. (make-comp-edge): New function. (comp-func): Better test function + doc for `blocks' slot. (comp-limple-lock-keywords): Update possible basic block names. (comp-emit-assume): Recive directly the block instead of its name. (comp-add-new-block-beetween): New function. (comp-cond-cstr-target-block): Logic update and use `comp-add-new-block-beetween'. (comp-cond-cstr-func): Make use of the latter. (comp-compute-edges): Make use of `make-comp-edge'.
Diffstat (limited to 'test/lisp/progmodes/js-resources/js-indent-init-dynamic.js')
0 files changed, 0 insertions, 0 deletions