annotate paper/src/stub.cbc @ 100:ebe838b83ada

Self review
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 11:52:20 +0900
parents 34de798b11c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 __code put(struct Context* context,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 struct Tree* tree,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 struct Node* root,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 struct Allocate* allocate)
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 {
100
ebe838b83ada Self review
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
6 /* 実装コードは省略 */
19
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 }
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 __code put_stub(struct Context* context)
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 {
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 goto put(context,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 &context->data[Tree]->tree,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 context->data[Tree]->tree.root,
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 &context->data[Allocate]->allocate);
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 }
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
34de798b11c3 Add stub description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17