- 在argparse库中将所有null指针常量替换为nullptr - 更新头文件和源文件中的指针初始化和比较操作 - 修改测试文件中的相关断言检查 - 更新AST定义文件中的注释说明
16 lines
444 B
C
16 lines
444 B
C
#ifndef __SCC_IR_H__
|
|
#define __SCC_IR_H__
|
|
|
|
#include "ir_def.h"
|
|
#include "ir_prog.h"
|
|
|
|
void scc_ir_type_init(scc_ir_type_t *in, scc_ir_type_tag_t tag);
|
|
void scc_ir_bblock_init(scc_ir_bblock_t *in, const char *label);
|
|
void scc_ir_func_init(scc_ir_func_t *in, const char *name);
|
|
|
|
// node name can be nullptr ptr
|
|
void scc_ir_value_init(scc_ir_value_t *in, const char *name,
|
|
scc_ir_value_tag_t tag);
|
|
|
|
#endif /* __SCC_IR_H__ */
|