about summary refs log tree commit diff stats
path: root/archive/2.vm/003trace.test.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 15:55:12 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 15:55:12 -0800
commitdafef4e30fcfb53e6546ce0f53859bf9f1420dd2 (patch)
tree712ed1da30d3543b559b74703d319425873be525 /archive/2.vm/003trace.test.cc
parent612636182166a706ff1f64e1705a79ac233836fe (diff)
downloadmu-dafef4e30fcfb53e6546ce0f53859bf9f1420dd2.tar.gz
5849 - more integration testing of function calls
I can now run this program:

  fn main -> result/ebx: int {
    result <- do-add 3 4
  }

  fn do-add a: int, b: int -> result/ebx: int {
    result <- copy a
    result <- add b
  }

We still can't define local variables, but can write any programs involving
ints by passing in enough arguments for temporaries.
Diffstat (limited to 'archive/2.vm/003trace.test.cc')
0 files changed, 0 insertions, 0 deletions
er James Booth <boothj5@gmail.com> 2015-06-13 19:41:11 +0100 Tidied functional tests' href='/danisanti/profani-tty/commit/tests/functionaltests/test_connect.c?id=a48b9fcec2385c5d571f1f02ed6e769d6b4ee821'>a48b9fce ^
db9376d8 ^
5aab876a ^
db9376d8 ^






a48b9fce ^
79ecff1c ^
5aab876a ^
e2fa67fa ^


79ecff1c ^

7fb00a1e ^
db9376d8 ^


a48b9fce ^
db9376d8 ^
5aab876a ^
db9376d8 ^










a48b9fce ^

db9376d8 ^
a522d022 ^
db9376d8 ^

37600846 ^
f17afcf5 ^
37600846 ^
a48b9fce ^
37600846 ^
a48b9fce ^
37600846 ^



a48b9fce ^



37600846 ^



a48b9fce ^



37600846 ^




a522d022 ^
f8c5ed57 ^






a522d022 ^
37600846 ^
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