1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

* Two minors in comp.el

* lisp/emacs-lisp/comp.el (comp-known-func-cstr-h)
	(comp-ret-type-spec): Style.
This commit is contained in:
Andrea Corallo 2020-12-16 18:37:39 +01:00
parent 7074988d13
commit d072ee9d34

View File

@ -275,7 +275,7 @@ Useful to hook into pass checkers.")
for (f type-spec) in comp-known-type-specifiers
for cstr = (comp-type-spec-to-cstr type-spec)
do (puthash f cstr h)
finally (cl-return h))
finally return h)
"Hash table function -> `comp-constraint'")
(defconst comp-symbol-values-optimizable '(most-positive-fixnum
@ -2761,7 +2761,7 @@ Set it into the `ret-type-specifier' slot."
do (pcase insn
(`(return ,mvar)
(push mvar res))))
finally (cl-return res)))))
finally return res))))
(setf (comp-func-ret-type-specifier func)
(comp-cstr-to-type-spec res-mvar))))