commit 6d31f2d198f80947e49577f2165c8a4a5ba0c154
parent 75ea93d4e73b3984bc3d74550551b624e84cdf38
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 21 Jan 2017 09:56:16 +0100
[cc2] Add comments about flags meaning
Diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/cc2/cc2.h b/cc2/cc2.h
@@ -1,18 +1,18 @@
/* See LICENSE file for copyright and license details. */
enum iflags {
- BBENTRY = 1,
+ BBENTRY = 1, /* basic block entry */
};
enum tflags {
- SIGNF = 1,
- INTF = 2,
- FLOATF = 4,
- STRF = 8,
- AGGRF = 16,
- FUNF = 32,
- PARF = 64,
- INITF = 128
+ SIGNF = 1 << 0, /* Signed type */
+ INTF = 1 << 1, /* integer type */
+ FLOATF = 1 << 2, /* float type */
+ STRF = 1 << 3, /* string */
+ AGGRF = 1 << 4, /* aggregate */
+ FUNF = 1 << 5, /* function */
+ PARF = 1 << 6, /* parameter */
+ INITF = 1 << 7, /* initializer flag */
};
enum sclass {