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

SCM Repository

[diderot] Diff of /branches/lamont/src/compiler/tree-il/var-analysis.sml
ViewVC logotype

Diff of /branches/lamont/src/compiler/tree-il/var-analysis.sml

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

revision 2161, Wed Feb 20 04:32:27 2013 UTC revision 2162, Thu Feb 21 04:59:17 2013 UTC
# Line 150  Line 150 
150     *)     *)
151      fun assignScopeForGlobalInit globalInit = let      fun assignScopeForGlobalInit globalInit = let
152            fun isGlobal x  = (* HACK: Need to keep grid cell/dimensions around so they can be used  during runtime*)            fun isGlobal x  = (* HACK: Need to keep grid cell/dimensions around so they can be used  during runtime*)
153                     if  (V.name x) = "qCellDim" then true                    if (V.name x) = "qWinDim" then true
154                      else (if  (V.name x) = "qCellDim" then true
155                     else (if (V.name x) = "qGridDim" then true                     else (if (V.name x) = "qGridDim" then true
156                           else (getUseDepth x > globalScope))                                else (getUseDepth x > globalScope)))
157    
158            in            in
159            (* create a new exit node that only has those globals with Global scope *)            (* create a new exit node that only has those globals with Global scope *)

Legend:
Removed from v.2161  
changed lines
  Added in v.2162

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