shithub: scc

ref: 565ba0922428a7a04198f8d11216309f018d6d50
dir: /cc2/cc2.h/

View raw version

typedef struct {
	union {
		struct {
			char type;
			char storage;
		} v;
		struct {
			short addr;
		} l;
	} u;
} Symbol;

typedef struct node {
	char op;
	char type;
	int8_t sethi;
	int8_t addrtype;
	union {
		short id;
		int imm;
	} u;
	struct node *left, *right;
} Node;