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 /sml/trunk/src/MLRISC/emit/asmUtil.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 498 - (download) (annotate)
Tue Dec 7 15:44:50 1999 UTC (19 years, 11 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/MLRISC/emit/asmUtil.sml
File size: 363 byte(s)
version 110.25
(*
 * 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