blob: 9370871e5723d2c85c74ddee5febc185ee38d41d (
plain) (
blame)
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
|
c{0: 0 (((1 integer)) <- ((copy)) ((2 literal))) -- nil
c{0: 1 (((2 integer)) <- ((copy)) ((1 literal))) -- nil
c{0: 2 (((2 integer)) <- ((add)) ((2 integer)) ((2 integer))) -- nil
c{0: 3 (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer))) -- nil
c{0: 4 (((jump-if)) ((3 boolean)) ((-3 offset))) -- nil
c{0: 5 (((4 integer)) <- ((copy)) ((3 literal))) -- nil
c{0: 6 (((reply))) -- nil
c{0: 7 (((3 integer)) <- ((copy)) ((34 literal))) -- nil
c{1: 0 ✓ (((1 integer)) <- ((copy)) ((2 literal)))
c{1: 1 ✓ (((2 integer)) <- ((copy)) ((1 literal)))
c{1: 2 ✓ (((2 integer)) <- ((add)) ((2 integer)) ((2 integer)))
c{1: 3 ✓ (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer)))
c{1: 4 ✓ (((jump-if)) ((3 boolean)) ((-3 offset)))
c{1: 5 ✓ (((4 integer)) <- ((copy)) ((3 literal)))
c{1: 6 ✓ (((reply)))
c{1: 7 ✓ (((3 integer)) <- ((copy)) ((34 literal)))
cn0: convert-names in main
cn0: (((1 integer)) <- ((copy)) ((2 literal))) nil nil
cn0: checking arg ((2 literal))
cn0: checking oarg ((1 integer))
maybe-add: ((1 integer))
cn0: (((2 integer)) <- ((copy)) ((1 literal))) nil nil
cn0: checking arg ((1 literal))
cn0: checking oarg ((2 integer))
maybe-add: ((2 integer))
cn0: (((2 integer)) <- ((add)) ((2 integer)) ((2 integer))) nil nil
cn0: checking arg ((2 integer))
maybe-add: ((2 integer))
cn0: checking arg ((2 integer))
maybe-add: ((2 integer))
cn0: checking oarg ((2 integer))
maybe-add: ((2 integer))
cn0: (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer))) nil nil
cn0: checking arg ((1 integer))
maybe-add: ((1 integer))
cn0: checking arg ((2 integer))
maybe-add: ((2 integer))
cn0: checking oarg ((3 boolean))
maybe-add: ((3 boolean))
cn0: (((jump-if)) ((3 boolean)) ((-3 offset))) nil nil
cn0: checking arg ((3 boolean))
maybe-add: ((3 boolean))
cn0: checking arg ((-3 offset))
cn0: (((4 integer)) <- ((copy)) ((3 literal))) nil nil
cn0: checking arg ((3 literal))
cn0: checking oarg ((4 integer))
maybe-add: ((4 integer))
cn0: (((reply))) nil nil
cn0: (((3 integer)) <- ((copy)) ((34 literal))) nil nil
cn0: checking arg ((34 literal))
cn0: checking oarg ((3 integer))
maybe-add: ((3 integer))
cn1: (((1 integer)) <- ((copy)) ((2 literal)))
cn1: (((2 integer)) <- ((copy)) ((1 literal)))
cn1: (((2 integer)) <- ((add)) ((2 integer)) ((2 integer)))
cn1: (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer)))
cn1: (((jump-if)) ((3 boolean)) ((-3 offset)))
cn1: (((4 integer)) <- ((copy)) ((3 literal)))
cn1: (((reply)))
cn1: (((3 integer)) <- ((copy)) ((34 literal)))
schedule: main
run: main 0: (((1 integer)) <- ((copy)) ((2 literal)))
run: main 0: 2 => ((1 integer))
mem: ((1 integer)): 1 <= 2
run: main 1: (((2 integer)) <- ((copy)) ((1 literal)))
run: main 1: 1 => ((2 integer))
mem: ((2 integer)): 2 <= 1
run: main 2: (((2 integer)) <- ((add)) ((2 integer)) ((2 integer)))
mem: ((2 integer)) => 1
mem: ((2 integer)) => 1
run: main 2: 2 => ((2 integer))
mem: ((2 integer)): 2 <= 2
run: main 3: (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer)))
mem: ((1 integer)) => 2
mem: ((2 integer)) => 2
run: main 3: t => ((3 boolean))
mem: ((3 boolean)): 3 <= t
run: main 4: (((jump-if)) ((3 boolean)) ((-3 offset)))
mem: ((3 boolean)) => t
run: main 2: (((2 integer)) <- ((add)) ((2 integer)) ((2 integer)))
mem: ((2 integer)) => 2
mem: ((2 integer)) => 2
run: main 2: 4 => ((2 integer))
mem: ((2 integer)): 2 <= 4
run: main 3: (((3 boolean)) <- ((equal)) ((1 integer)) ((2 integer)))
mem: ((1 integer)) => 2
mem: ((2 integer)) => 4
run: main 3: nil => ((3 boolean))
mem: ((3 boolean)): 3 <= nil
run: main 4: (((jump-if)) ((3 boolean)) ((-3 offset)))
mem: ((3 boolean)) => nil
run: main 5: (((4 integer)) <- ((copy)) ((3 literal)))
run: main 5: 3 => ((4 integer))
mem: ((4 integer)): 4 <= 3
run: main 6: (((reply)))
schedule: done with routine nil
|