(defun comp-intersect-typesets (&rest typesets)
"Intersect types present into TYPESETS."
(unless (cl-some #'null typesets)
- (if (= (length typesets) 1)
+ (if (length= typesets 1)
(car typesets)
(comp-normalize-typeset
(cl-reduce #'comp-intersect-two-typesets typesets)))))
(valset ,cstr) (list ,val)))))))
(with-comp-cstr-accessors
(let ((v (valset cstr)))
- (if (= (length v) 1)
+ (if (length= v 1)
(car v)
(caar (range cstr))))))
(comp-func-blocks comp-func)))
(target-bb-in-edges (comp-block-in-edges target-bb)))
(cl-assert target-bb-in-edges)
- (if (= (length target-bb-in-edges) 1)
+ (if (length= target-bb-in-edges 1)
;; If block has only one predecessor is already suitable for
;; adding constraint assumptions.
target-bb
for b-name being each hash-keys of blocks
using (hash-value b)
for preds = (comp-block-preds b)
- when (>= (length preds) 2) ; All joins
+ when (length> preds 1) ; All joins
do (cl-loop for p in preds
for runner = p
do (while (not (eq runner (comp-block-idom b)))
(comp-ensure-native-compiler)
(if (equal (getenv "NATIVE_DISABLED") "1")
(batch-byte-compile)
- (cl-assert (= 1 (length command-line-args-left)))
+ (cl-assert (length= command-line-args-left 1))
(let ((byte-native-for-bootstrap t)
(byte-to-native-output-file nil))
(batch-native-compile)