shithub: scc

ref: 0f2dd088e38f30bf5f32729457bb3481c0ec9f9f
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;