annotate Paper/source/fastcall.c @ 61:2c543a47737b

modify explanation of fastcall
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Mon, 26 Dec 2011 11:18:47 +0900
parents 9adf0d4a6033
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 case RID_CbC_CODE:
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 if (!typespec_ok)
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 goto out;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 attrs_ok = true;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 seen_type = true;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 if (c_dialect_objc ())
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 parser->objc_need_raw_identifier = true;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 t.kind = ctsk_resword;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 t.spec = c_parser_peek_token (parser)->value;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 declspecs_add_type (loc, specs, t);
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 if(!TARGET_64BIT) {
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 attrs = build_tree_list (get_identifier("fastcall"), NULL_TREE);
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 declspecs_add_attrs(specs, attrs);
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 }
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 c_parser_consume_token (parser);
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 break;
9adf0d4a6033 add some file
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17