Ejemplo n.º 1
0
 public RegisterUsageMap2(ControlFlowGraph2 graph)
 {
     _graph = graph;
     _usages = new Dictionary<Register, RegisterUsage>();
     _body = graph.Body;
     _basicBlocks = graph.BasicBlocks;
     CollectBasicUsages(_basicBlocks, _usages);
     // TODO: seperate independant usages.
 }
Ejemplo n.º 2
0
 public RegisterUsageMap2(ControlFlowGraph2 graph)
 {
     _graph       = graph;
     _usages      = new Dictionary <Register, RegisterUsage>();
     _body        = graph.Body;
     _basicBlocks = graph.BasicBlocks;
     CollectBasicUsages(_basicBlocks, _usages);
     // TODO: seperate independant usages.
 }