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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/codegen/clang.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/codegen/clang.sml

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

revision 1041, Mon May 2 01:50:13 2011 UTC revision 1042, Mon May 2 03:03:46 2011 UTC
# Line 164  Line 164 
164            in            in
165              E_BinOp(e1', rator, e2')              E_BinOp(e1', rator, e2')
166            end            end
167      fun mkUnOp (rator, e) = if prec e < unaryP      fun mkUnOp (%-, e as E_UnOp(%-, _)) = E_UnOp(%-, E_Grp e)
168          | mkUnOp (%-, e as E_UnOp(%--, _)) = E_UnOp(%-, E_Grp e)
169          | mkUnOp (%--, e as E_UnOp(%-, _)) = E_UnOp(%--, E_Grp e)
170          | mkUnOp (%--, e as E_UnOp(%--, _)) = E_UnOp(%--, E_Grp e)
171          | mkUnOp (rator, e) = if prec e < unaryP
172            then E_UnOp(rator, E_Grp e)            then E_UnOp(rator, E_Grp e)
173            else E_UnOp(rator, e)            else E_UnOp(rator, e)
174      fun mkPostOp (e, rator) = if prec e < postP      fun mkPostOp (e, rator) = if prec e < postP

Legend:
Removed from v.1041  
changed lines
  Added in v.1042

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