* A native compiler forward propagation fix
* lisp/emacs-lisp/comp.el (comp-fwprop-insn): Fix `comp-mvar' `const-vld' slot left unset while propagating in phis.
This commit is contained in:
parent
3e3843512b
commit
c6abe97f94
1 changed files with 2 additions and 1 deletions
|
@ -2249,7 +2249,8 @@ Forward propagate immediate involed in assignments."
|
|||
(consts (mapcar #'comp-mvar-constant rest))
|
||||
(x (car consts))
|
||||
(equals (cl-every (lambda (y) (equal x y)) consts)))
|
||||
(setf (comp-mvar-constant lval) x))
|
||||
(setf (comp-mvar-const-vld lval) t
|
||||
(comp-mvar-constant lval) x))
|
||||
;; Forward type propagation.
|
||||
;; FIXME: checking for type equality is not sufficient cause does not
|
||||
;; account type hierarchy!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue