X-Git-Url: http://git.joshuawise.com/snipe.git/blobdiff_plain/c2b45b3681553192a462bcdd376ee7a9bf83eef3..4f528370c7d70f4fd271c7ce5eee517284852940:/top/top.sml diff --git a/top/top.sml b/top/top.sml index 49e7dc6..006fa46 100644 --- a/top/top.sml +++ b/top/top.sml @@ -142,10 +142,10 @@ struct (fn () => List.app (TextIO.print o (fn (t, i) => (Temp.name t) ^ " => " ^ ( - if (i <= Blarg.regtonum Blarg.R3) + if (i <= 15) then (Blarg.pp_oper (Blarg.REG (Blarg.numtoreg i))) else - "spill[" ^ Int.toString (i - Blarg.regtonum Blarg.R3) ^ "]") + "spill[" ^ Int.toString (i - Blarg.regtonum Blarg.PC) ^ "]") ^ "--"^ Int.toString i ^ "\n")) colors) ()