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 499 - (download) (annotate)
Tue Dec 7 15:44:50 1999 UTC (19 years, 7 months ago) by monnier
Original Path: sml/trunk/src/MLRISC/emit/asmUtil.sml
File size: 363 byte(s)
This commit was generated by cvs2svn to compensate for changes in r498,
which included commits to RCS files with non-trunk default branches.
(*
 * 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) =
      case #get MLRiscAnnotations.REGINFO an of
         SOME f => (fn r => emit(f r))
      |  NONE => (fn _ => ())

end

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