mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Merge branch 'master' into scratch/correct-warning-pos
This commit is contained in:
commit
2128cd8c08
3085 changed files with 131927 additions and 16782 deletions
|
|
@ -1,6 +1,6 @@
|
|||
;;; byte-opt.el --- the optimization passes of the emacs-lisp byte compiler -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 1991, 1994, 2000-2021 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 1991, 1994, 2000-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jamie Zawinski <jwz@lucid.com>
|
||||
;; Hallvard Furuseth <hbf@ulrik.uio.no>
|
||||
|
|
@ -343,8 +343,12 @@ for speeding up processing.")
|
|||
(numberp expr)
|
||||
(stringp expr)
|
||||
(and (consp expr)
|
||||
(memq (car expr) '(quote function))
|
||||
(symbolp (cadr expr)))
|
||||
(or (and (memq (car expr) '(quote function))
|
||||
(symbolp (cadr expr)))
|
||||
;; (internal-get-closed-var N) can be considered constant for
|
||||
;; const-prop purposes.
|
||||
(and (eq (car expr) 'internal-get-closed-var)
|
||||
(integerp (cadr expr)))))
|
||||
(keywordp expr)))
|
||||
|
||||
(defmacro byte-optimize--pcase (exp &rest cases)
|
||||
|
|
@ -1464,6 +1468,7 @@ See Info node `(elisp) Integer Basics'."
|
|||
(let ((side-effect-free-fns
|
||||
'(% * + - / /= 1+ 1- < <= = > >= abs acos append aref ash asin atan
|
||||
assq
|
||||
base64-decode-string base64-encode-string base64url-encode-string
|
||||
bool-vector-count-consecutive bool-vector-count-population
|
||||
bool-vector-subsetp
|
||||
boundp buffer-file-name buffer-local-variables buffer-modified-p
|
||||
|
|
@ -1620,6 +1625,7 @@ See Info node `(elisp) Integer Basics'."
|
|||
assq rassq rassoc
|
||||
plist-get lax-plist-get plist-member
|
||||
aref elt
|
||||
base64-decode-string base64-encode-string base64url-encode-string
|
||||
bool-vector-subsetp
|
||||
bool-vector-count-population bool-vector-count-consecutive
|
||||
)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue