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

SCM Repository

[diderot] Diff of /trunk/src/compiler/IL/expr-fn.sml
ViewVC logotype

Diff of /trunk/src/compiler/IL/expr-fn.sml

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

revision 2355, Sun Apr 7 11:35:08 2013 UTC revision 2356, Sun Apr 7 14:45:25 2013 UTC
# Line 75  Line 75 
75        | sameNd (VAR x, VAR y) = IL.Var.same(x, y)        | sameNd (VAR x, VAR y) = IL.Var.same(x, y)
76        | sameNd (LIT a, LIT b) = Literal.same(a, b)        | sameNd (LIT a, LIT b) = Literal.same(a, b)
77        | sameNd (OP(op1, args1), OP(op2, args2)) =        | sameNd (OP(op1, args1), OP(op2, args2)) =
78            Op.same(op1, op2) andalso same'(args1, args2)            Op.same(op1, op2) andalso Op.isPure op1 andalso same'(args1, args2)
79        | sameNd (MULTIOP(i1, op1, args1), MULTIOP(i2, op2, args2)) =        | sameNd (MULTIOP(i1, op1, args1), MULTIOP(i2, op2, args2)) =
80            (i1 = i2) andalso Op.same(op1, op2) andalso same'(args1, args2)            (i1 = i2) andalso Op.same(op1, op2) andalso same'(args1, args2)
81        | sameNd (APPLY(f1, args1), APPLY(f2, args2)) =        | sameNd (APPLY(f1, args1), APPLY(f2, args2)) =

Legend:
Removed from v.2355  
changed lines
  Added in v.2356

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