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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/driver/main.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/driver/main.sml

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

revision 3835, Sun May 8 13:10:17 2016 UTC revision 3854, Fri May 13 19:21:27 2016 UTC
# Line 6  Line 6 
6   * All rights reserved.   * All rights reserved.
7   *)   *)
8    
9    (* this is a dummy target for debugging purposes *)
10    structure DummyTarget =
11      struct
12    
13        fun info double = {
14                layout = DefaultLayout.layout (DefaultLayout.gccVectorSizes double),
15                isInline =
16                   fn LowOps.EigenVecs2x2 => false
17                    | LowOps.EigenVecs3x3 => false
18                    | LowOps.EigenVals2x2 => false
19                    | LowOps.EigenVals3x3 => false
20                    | _ => true
21              }
22    
23      end
24    
25  structure Main : sig  structure Main : sig
26    
27      val main : (string * string list) -> OS.Process.status      val main : (string * string list) -> OS.Process.status
# Line 123  Line 139 
139            val _ = verbosePrint["done\n"];            val _ = verbosePrint["done\n"];
140          (***** TRANSLATION TO TREE IR *****)          (***** TRANSLATION TO TREE IR *****)
141            val _ = verbosePrint["translating to TreeIR ... "];            val _ = verbosePrint["translating to TreeIR ... "];
142            val tree = PhaseTimer.withTimer Timers.timeLowToTree LowToTree.translate low            val tree = PhaseTimer.withTimer Timers.timeLowToTree LowToTree.translate
143                    (low, DummyTarget.info (#double target))
144            val _ = verbosePrint["done\n"];            val _ = verbosePrint["done\n"];
145            val _ = dump Ctl.dumpTreeIR TreePP.output "low-to-tree" tree            val _ = dump Ctl.dumpTreeIR TreePP.output "low-to-tree" tree
146            in            in

Legend:
Removed from v.3835  
changed lines
  Added in v.3854

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