summaryrefslogtreecommitdiff
path: root/BCT/Test/test0/Answer
blob: 14fd2430d8549dd071b36092f742e65e202e90a0 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
const unique BCTStmtTest.Program.i: int;

procedure BCTStmtTest.Program.BCTAssignments$System.Void($inst: int, j$in: int);



implementation BCTStmtTest.Program.BCTAssignments$System.Void($inst: int, j$in: int)
{
  var local_0: int;
  var j: int;

    j := j$in;
    $heap[$this, BCTStmtTest.Program.i] := 7;
    $heap[$this, BCTStmtTest.Program.i] := local_0 / j;
    return;
}



procedure BCTStmtTest.Program.BCTConditional$System.Int32($inst: int, k$in: int) returns ($result: int);



implementation BCTStmtTest.Program.BCTConditional$System.Int32($inst: int, k$in: int) returns ($result: int)
{
  var local_1: int;
  var local_0: int;
  var k: int;

    k := k$in;
    if (k > 5)
    {
        local_1 := 7;
        goto IL_0055;
    }
    else
    {
    }

    local_0 := k / 2;
    if (local_0 < k)
    {
        local_0 := 2;
    }
    else
    {
    }

    if (k > 5)
    {
        local_1 := 7;
        goto IL_0055;
    }
    else
    {
    }

    if (k < 5)
    {
        local_0 := k / 2;
    }
    else
    {
        local_1 := 100;
        goto IL_0055;
    }

  IL_0055:
    $result := local_1;
    return;
}



procedure BCTStmtTest.Program.Main$System.Void($inst: int, args$in: int);



implementation BCTStmtTest.Program.Main$System.Void($inst: int, args$in: int)
{
  var args: int;

    args := args$in;
    return;
}



procedure BCTStmtTest.Program..ctor$System.Void($inst: int);



implementation BCTStmtTest.Program..ctor$System.Void($inst: int)
{
    return;
}


;ENDE