Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /MLRISC/trunk/emit/asmUtil.sml
ViewVC logotype

View of /MLRISC/trunk/emit/asmUtil.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 428 - (download) (annotate)
Wed Sep 8 09:47:00 1999 UTC (19 years, 10 months ago)
Original Path: sml/branches/SMLNJ/src/MLRISC/emit/asmUtil.sml
File size: 397 byte(s)
This commit was manufactured by cvs2svn to create branch 'SMLNJ'.
(*
 * This is a helper module for assemblers.
 *)
signature ASM_FORMAT_UTIL =
sig
   val reginfo : (string -> unit) * Annotations.annotations -> (int -> unit)
end

structure AsmFormatUtil : ASM_FORMAT_UTIL =
struct

  fun reginfo(emit,an) =
  let fun find [] = (fn _ => ())
        | find(BasicAnnotations.REGINFO f::_) = (fn r => emit(f r))
        | find(_::an) = find an
  in  find an end

end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0