1, delete member 'code' of 'scf_rela_t' & use 'rela->inst->c' to get its 3ac code,
authoryu.dongliang <18588496441@163.com>
Sun, 21 Jun 2026 03:00:14 +0000 (11:00 +0800)
committeryu.dongliang <18588496441@163.com>
Sun, 21 Jun 2026 03:08:23 +0000 (11:08 +0800)
commit06d3c996dacc9e8375252dd33035677ae973057c
treef97d7dd798a2f102026df3b98e0dfdd7421c189b
parent47a357d80ef60261ecdffe1811ad8b7b3ef57121
1, delete member 'code' of 'scf_rela_t' & use 'rela->inst->c' to get its 3ac code,
2, x64/peephole: move some 'code to make instruction' into some little functions, in order to decrease code of key functions.
29 files changed:
native/risc/scf_arm32.c
native/risc/scf_arm64.c
native/risc/scf_naja.c
native/risc/scf_naja_inst.c
native/risc/scf_risc.c
native/risc/scf_risc_bb_color.c
native/risc/scf_risc_inst.c
native/risc/scf_risc_opcode.h
native/risc/scf_risc_reg.c
native/risc/scf_risc_reg_arm32.c
native/risc/scf_risc_reg_arm64.c
native/risc/scf_risc_reg_naja.c
native/scf_instruction.c
native/scf_instruction.h
native/x64/scf_x64.c
native/x64/scf_x64_inst.c
native/x64/scf_x64_inst_binary.c
native/x64/scf_x64_inst_cmp.c
native/x64/scf_x64_inst_common.c
native/x64/scf_x64_inst_div.c
native/x64/scf_x64_inst_mul.c
native/x64/scf_x64_inst_shift.c
native/x64/scf_x64_inst_unary.c
native/x64/scf_x64_inst_util.c
native/x64/scf_x64_opcode.h
native/x64/scf_x64_peephole.c
native/x64/scf_x64_reg.c
native/x64/scf_x64_reg.h
native/x64/scf_x64_reg_util.h