Fix typo.
This commit is contained in:
parent
6abb87069c
commit
8080669dd9
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
;; combine reporting of two missed optimizations, increasing badness in the
|
;; combine reporting of two missed optimizations, increasing badness in the
|
||||||
;; process
|
;; process
|
||||||
(define (combine-missed-optmizations parent child)
|
(define (combine-missed-optimizations parent child)
|
||||||
(missed-opt-log-entry
|
(missed-opt-log-entry
|
||||||
(log-entry-kind parent) ; same as child's
|
(log-entry-kind parent) ; same as child's
|
||||||
(log-entry-msg parent)
|
(log-entry-msg parent)
|
||||||
|
@ -123,13 +123,13 @@
|
||||||
;; we have been merged in the past, do nothing
|
;; we have been merged in the past, do nothing
|
||||||
missed-optimizations-log
|
missed-optimizations-log
|
||||||
;; do the actual merge
|
;; do the actual merge
|
||||||
(cons (combine-missed-optmizations parent new)
|
(cons (combine-missed-optimizations parent new)
|
||||||
(remove parent missed-optimizations-log)))]
|
(remove parent missed-optimizations-log)))]
|
||||||
[(not (null? children))
|
[(not (null? children))
|
||||||
;; we found children, merge with them
|
;; we found children, merge with them
|
||||||
(let ([new (for/fold ([new new])
|
(let ([new (for/fold ([new new])
|
||||||
([child children])
|
([child children])
|
||||||
(combine-missed-optmizations new child))])
|
(combine-missed-optimizations new child))])
|
||||||
(cons new
|
(cons new
|
||||||
(filter (lambda (x) (not (member x children)))
|
(filter (lambda (x) (not (member x children)))
|
||||||
missed-optimizations-log)))]
|
missed-optimizations-log)))]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user