aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-07-05 13:47:34 +0200
committerMattias EngdegÄrd2020-07-06 12:54:17 +0200
commitfb63a64d2159be9cd9bf63a0a6ebff582e385528 (patch)
tree627cd64caae202c90d8fe746285ece65c6a09f17 /test
parent10a0941f4dcc85d95279ae67032ec04463a44d59 (diff)
downloademacs-fb63a64d2159be9cd9bf63a0a6ebff582e385528.tar.gz
emacs-fb63a64d2159be9cd9bf63a0a6ebff582e385528.zip
Mark more functions pure (bug#42147)
Extend the list of 'pure' functions to many predicates and numerical functions that we are reasonably confident will give portable results. Also include various list and array accessors, because our use of purity in the byte compiler isn't affected by the mutability of arguments. * lisp/emacs-lisp/byte-opt.el: Update example in comment. (pure-fns): Add many functions. (byte-optimize-form-code-walker) Don't signal errors during evaluation of calls to pure functions with constant arguments at compile time, since such calls are not necessarily reachable.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions