summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-06-06 16:53:34 +0200
committerAndrea Corallo <akrl@sdf.org>2020-06-06 22:03:11 +0100
commit489a79de96c7f90271e57b86b8162ef7ba500fed (patch)
tree03f9eea5eabc82b9319d45aed1a1b4c19ae8432a /lisp/emacs-lisp/macroexp.el
parentdcfcbb14f5037d2661280c4bb93e7db618819106 (diff)
downloademacs-489a79de96c7f90271e57b86b8162ef7ba500fed.tar.gz
emacs-489a79de96c7f90271e57b86b8162ef7ba500fed.tar.bz2
emacs-489a79de96c7f90271e57b86b8162ef7ba500fed.zip
* Mitigate possible speed 3 miss-optimization
Do not perform trampoline optimization at speed 3 on function if their name is not unique inside the compilation unit. Note that the function can still be redefined in any other way therefore this is a mitigation. * lisp/emacs-lisp/comp.el (comp-func-unique-in-cu-p): New predicate. (comp-call-optim-form-call): Perform trampoline optimization for named functions only if they are unique within the current compilation unit.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions