annotate src/cbc_example.cbc @ 14:5218e88b6096

fix figurename
author e165723 <e165723@ie.u-ryukyu.ac.jp>
date Wed, 23 Oct 2019 00:46:35 +0900
parents 9ccfabe96b5d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
1 __code cg0(Integer a, Integer b){
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
2 int a_v = a->value;
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
3 int b_v = b->value;
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
4 Integer c = {a_v + b_v};
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
5 goto cg1(c);
9
472b765acb14 add src
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 }
10
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
7 __code cg1(Integer c){
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
8 goto cg2(c);
9
472b765acb14 add src
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 }