Fix a logic bug in TNS-CONFLICT-GLOBAL-GLOBAL
authorPaul Khuong <pvk@pvk.ca>
Tue, 12 Nov 2013 21:55:02 +0000 (16:55 -0500)
committerPaul Khuong <pvk@pvk.ca>
Mon, 2 Dec 2013 03:44:43 +0000 (22:44 -0500)
That function was never used, so it's not a correctness issue, but
it's useful (when correct) to debug register allocation.

src/compiler/life.lisp

index 9d28fbd..1e85318 100644 (file)
                     (setq ,n (ir2-block-number (global-conflicts-block ,c)))))
                (scan (g l lc)
                  `(do ()
-                      ((>= ,g ,l))
+                      ((>= ,l ,g))
                     (advance ,l ,lc))))
 
       (loop