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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 498 - (view) (download)
Original Path: sml/branches/SMLNJ/src/MLRISC/emit/asmUtil.sml

1 : monnier 427 (*
2 :     * This is a helper module for assemblers.
3 :     *)
4 :     signature ASM_FORMAT_UTIL =
5 :     sig
6 :     val reginfo : (string -> unit) * Annotations.annotations -> (int -> unit)
7 :     end
8 :    
9 :     structure AsmFormatUtil : ASM_FORMAT_UTIL =
10 :     struct
11 :    
12 :     fun reginfo(emit,an) =
13 : monnier 498 case #get MLRiscAnnotations.REGINFO an of
14 : monnier 469 SOME f => (fn r => emit(f r))
15 :     | NONE => (fn _ => ())
16 : monnier 427
17 :     end

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