]> git.eshelyaron.com Git - emacs.git/commitdiff
clean-up commented code
authorAndrea Corallo <akrl@sdf.org>
Sat, 5 Oct 2019 13:05:07 +0000 (15:05 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:56 +0000 (11:37 +0100)
lisp/emacs-lisp/comp.el

index 25e5be285199974defe20e1d0a2cc036edabb847..2822760c895a30a4edab3295adb53ea855d397a5 100644 (file)
@@ -494,13 +494,6 @@ Restore the original value afterwards."
           (setf (comp-block-sp bb) sp))
       (puthash name (apply #'make--comp-block args) blocks))))
 
-;; (defun comp-opt-call (inst)
-;;   "Optimize if possible a side-effect-free call in INST."
-;;   (cl-destructuring-bind (_ f &rest args) inst
-;;     (when (and (member f comp-mostly-pure-funcs)
-;;                (cl-every #'identity (mapcar #'comp-mvar-const-vld args)))
-;;       (apply f (mapcar #'comp-mvar-constant args)))))
-
 (defun comp-call (func &rest args)
   "Emit a call for function FUNC with ARGS."
   (comp-add-subr-to-relocs func)