mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* lisp/emacs-lisp/comp.el (comp-fwprop-call): Extend to understand `record'
This commit is contained in:
parent
92ccb6ba83
commit
f4de81af8f
1 changed files with 5 additions and 1 deletions
|
|
@ -3198,7 +3198,11 @@ Fold the call in case."
|
|||
(+ (comp-cstr-add lval args))
|
||||
(- (comp-cstr-sub lval args))
|
||||
(1+ (comp-cstr-add lval `(,(car args) ,comp-cstr-one)))
|
||||
(1- (comp-cstr-sub lval `(,(car args) ,comp-cstr-one))))))
|
||||
(1- (comp-cstr-sub lval `(,(car args) ,comp-cstr-one)))
|
||||
(record (when (comp-cstr-imm-vld-p (car args))
|
||||
(comp-cstr-shallow-copy lval
|
||||
(comp-type-spec-to-cstr
|
||||
(comp-cstr-imm (car args)))))))))
|
||||
|
||||
(defun comp-fwprop-insn (insn)
|
||||
"Propagate within INSN."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue