beginning of points-to analysis
[IRC.git] / Robust / src / Analysis / Pointer / Edge.java
1 package Analysis.Pointer;
2 import IR.Flat.*;
3 import IR.*;
4 import Analysis.Pointer.AllocFactory.AllocNode;
5
6 public class Edge {
7   FieldDescriptor fd;
8   AllocNode src;
9   TempDescriptor srcvar;
10   AllocNode dst;
11
12   public Edge(AllocNode src, FieldDescriptor fd, AllocNode dst) {
13     this.src=src;
14     this.fd=fd;
15     this.dst=dst;
16   }
17   
18   public Edge(TempDescriptor tmp, AllocNode dst) {
19     this.srcvar=tmp;
20     this.dst=dst;
21   }
22   
23 }