SCM Repository
View of /trunk/src/compiler/IL/gen/mid-il.in
Parent Directory
|
Revision Log
Revision 391 -
(download)
(annotate)
Thu Oct 14 13:18:24 2010 UTC (11 years, 8 months ago) by jhr
File size: 722 byte(s)
Thu Oct 14 13:18:24 2010 UTC (11 years, 8 months ago) by jhr
File size: 722 byte(s)
Move MidIL types into their own module
(* mid-il.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. * * Middle-level version of the Diderot IL. * * Note: this file is generated from gen/mid-il.spec and gen/mid-il.in. *) structure MidOps = struct type ty = MidILTypes.ty val samety = MidILTypes.same val hashty = MidILTypes.hash val tyToString = MidILTypes.toString fun sameint (i1 : int, i2) = (i1 = i2) fun hashint i = Word.fromInt i fun intToString i = Int.toString i fun samestring (s1 : string, s2) = (s1 = s2) val hashstring = HashString.hashString fun stringToString s = String.concat["\"", s, "\""] @BODY@ end structure MidIL = SSAFn(MidOps)
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |