turning off inlining: bug

This commit is contained in:
Danny Yoo 2011-11-30 23:54:22 -05:00
parent af51e91ca2
commit 1dd452732b

View File

@ -110,12 +110,13 @@ EOF
(define next-to-visit (first queue))
(cond
[(set-contains? visited next-to-visit)
(unless (set-contains? entry-points next-to-visit)
#;(unless (set-contains? entry-points next-to-visit)
(log-debug (format "Promoting ~a to an entry point" next-to-visit))
(set-insert! entry-points next-to-visit))
(loop (rest queue))]
[else
(set-insert! visited next-to-visit)
(set-insert! entry-points next-to-visit)
(loop (list-union (basic-block-out-edges (hash-ref blockht next-to-visit))
(rest queue)))])]))