mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 08:10:21 -08:00
fix comp-limplify-block when falling through a return
This commit is contained in:
parent
f24c0c7111
commit
63a1f317d0
1 changed files with 3 additions and 3 deletions
|
|
@ -1054,10 +1054,10 @@ The block name is returned."
|
|||
do (comp-limplify-lap-inst inst)
|
||||
(cl-incf (comp-limplify-pc comp-pass))
|
||||
(pcase next-inst
|
||||
(`(TAG ,_label . ,target-sp)
|
||||
(`(TAG ,_label . ,label-sp)
|
||||
(when fall-through
|
||||
(cl-assert (= (1- target-sp) (comp-sp))))
|
||||
(let ((next-bb (comp-add-pending-block (comp-sp))))
|
||||
(cl-assert (= (1- label-sp) (comp-sp))))
|
||||
(let ((next-bb (comp-add-pending-block (1- label-sp))))
|
||||
(when fall-through
|
||||
(comp-emit `(jump ,next-bb))))
|
||||
(return)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue