Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/lamont_dev/src/compiler/high-il/high-il.sml
ViewVC logotype

Diff of /branches/lamont_dev/src/compiler/high-il/high-il.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2038, Tue Oct 16 11:31:02 2012 UTC revision 2039, Wed Oct 17 16:10:37 2012 UTC
# Line 85  Line 85 
85        | RoundToInt        | RoundToInt
86        | CeilToInt        | CeilToInt
87        | FloorToInt        | FloorToInt
88        | RadiusQuery        | SphereQuery
89        | Kernel of Kernel.kernel * int        | Kernel of Kernel.kernel * int
90        | LoadImage of ImageInfo.info        | LoadImage of ImageInfo.info
91        | Inside of int        | Inside of int
# Line 142  Line 142 
142        | resultArity RoundToInt = 1        | resultArity RoundToInt = 1
143        | resultArity CeilToInt = 1        | resultArity CeilToInt = 1
144        | resultArity FloorToInt = 1        | resultArity FloorToInt = 1
145        | resultArity RadiusQuery = 1        | resultArity SphereQuery = 1
146        | resultArity (Kernel _) = 1        | resultArity (Kernel _) = 1
147        | resultArity (LoadImage _) = 1        | resultArity (LoadImage _) = 1
148        | resultArity (Inside _) = 1        | resultArity (Inside _) = 1
# Line 199  Line 199 
199        | arity RoundToInt = 1        | arity RoundToInt = 1
200        | arity CeilToInt = 1        | arity CeilToInt = 1
201        | arity FloorToInt = 1        | arity FloorToInt = 1
202        | arity RadiusQuery = 1        | arity SphereQuery = 1
203        | arity (Kernel _) = 0        | arity (Kernel _) = 0
204        | arity (LoadImage _) = 1        | arity (LoadImage _) = 1
205        | arity (Inside _) = 2        | arity (Inside _) = 2
# Line 256  Line 256 
256        | same (RoundToInt, RoundToInt) = true        | same (RoundToInt, RoundToInt) = true
257        | same (CeilToInt, CeilToInt) = true        | same (CeilToInt, CeilToInt) = true
258        | same (FloorToInt, FloorToInt) = true        | same (FloorToInt, FloorToInt) = true
259        | same (RadiusQuery, RadiusQuery) = true        | same (SphereQuery, SphereQuery) = true
260        | same (Kernel(a0,a1), Kernel(b0,b1)) = Kernel.same(a0, b0) andalso sameint(a1, b1)        | same (Kernel(a0,a1), Kernel(b0,b1)) = Kernel.same(a0, b0) andalso sameint(a1, b1)
261        | same (LoadImage(a0), LoadImage(b0)) = ImageInfo.same(a0, b0)        | same (LoadImage(a0), LoadImage(b0)) = ImageInfo.same(a0, b0)
262        | same (Inside(a0), Inside(b0)) = sameint(a0, b0)        | same (Inside(a0), Inside(b0)) = sameint(a0, b0)
# Line 314  Line 314 
314        | hash RoundToInt = 0w179        | hash RoundToInt = 0w179
315        | hash CeilToInt = 0w181        | hash CeilToInt = 0w181
316        | hash FloorToInt = 0w191        | hash FloorToInt = 0w191
317        | hash RadiusQuery = 0w193        | hash SphereQuery = 0w193
318        | hash (Kernel(a0,a1)) = 0w197 + Kernel.hash a0 + hashint a1        | hash (Kernel(a0,a1)) = 0w197 + Kernel.hash a0 + hashint a1
319        | hash (LoadImage(a0)) = 0w199 + ImageInfo.hash a0        | hash (LoadImage(a0)) = 0w199 + ImageInfo.hash a0
320        | hash (Inside(a0)) = 0w211 + hashint a0        | hash (Inside(a0)) = 0w211 + hashint a0
# Line 371  Line 371 
371        | toString RoundToInt = "RoundToInt"        | toString RoundToInt = "RoundToInt"
372        | toString CeilToInt = "CeilToInt"        | toString CeilToInt = "CeilToInt"
373        | toString FloorToInt = "FloorToInt"        | toString FloorToInt = "FloorToInt"
374        | toString RadiusQuery = "RadiusQuery"        | toString SphereQuery = "SphereQuery"
375        | toString (Kernel(a0,a1)) = concat["Kernel<", Kernel.toString a0, ",", intToString a1, ">"]        | toString (Kernel(a0,a1)) = concat["Kernel<", Kernel.toString a0, ",", intToString a1, ">"]
376        | toString (LoadImage(a0)) = concat["LoadImage<", ImageInfo.toString a0, ">"]        | toString (LoadImage(a0)) = concat["LoadImage<", ImageInfo.toString a0, ">"]
377        | toString (Inside(a0)) = concat["Inside<", intToString a0, ">"]        | toString (Inside(a0)) = concat["Inside<", intToString a0, ">"]

Legend:
Removed from v.2038  
changed lines
  Added in v.2039

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