form)))
(defun byte-optimize-not (form)
- (and (= (length form) 2)
- (let ((arg (nth 1 form)))
- (cond ((null arg) t)
- ((macroexp-const-p arg) nil)
- ((byte-compile-nilconstp arg) `(progn ,arg t))
- ((byte-compile-trueconstp arg) `(progn ,arg nil))
- (t form)))))
+ (if (= (length form) 2)
+ (let ((arg (nth 1 form)))
+ (cond ((null arg) t)
+ ((macroexp-const-p arg) nil)
+ ((byte-compile-nilconstp arg) `(progn ,arg t))
+ ((byte-compile-trueconstp arg) `(progn ,arg nil))
+ (t form)))
+ form))
(put 'and 'byte-optimizer #'byte-optimize-and)
(put 'or 'byte-optimizer #'byte-optimize-or)