stable 重构文件结构
抽象出Machine Code
This commit is contained in:
9
src/ccompiler/backend/riscv32/riscv32.h
Normal file
9
src/ccompiler/backend/riscv32/riscv32.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef __SMCC_CC_RISCV32_H__
|
||||
#define __SMCC_CC_RISCV32_H__
|
||||
|
||||
#include <src/assembler/assembler.h>
|
||||
#include "../../middleend/ir/ir.h"
|
||||
|
||||
int gen_rv32_from_ir(ir_prog_t* ir, rv32_prog_t* out_asm);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user