summaryrefslogtreecommitdiff
path: root/vaporize/library/CFGSimp.java
blob: 372f926133474656dfa55d5312e5574bf0987a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package vaporize.library;

import cs132.vapor.ast.*;
import st.*;
import misc.*;
import java.util.*;

public class CFGSimp<P, R> extends VInstr.VisitorPR<P, R, RuntimeException> {

    ControlFlowGraph cfg;

    public CFGSimp(ControlFlowGraph cfg) {
        this.cfg = cfg;
    }

    public R visit(P p, VMemRead n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VMemWrite n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VAssign n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VBranch n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VGoto n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VCall n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VBuiltIn n) throws RuntimeException {
        return null;
    }

    public R visit(P p, VReturn n) throws RuntimeException {
        return null;
    }

}