Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
sudo apt-get install -q -y build-essential
make clean config
make check-snapshots || exit 1
make clean config ARCH=arm
make distclean config ARCH=arm
make check || exit 1
make clean config ARCH=riscv
make distclean config ARCH=riscv
make check || exit 1

host-arm:
Expand Down
2 changes: 1 addition & 1 deletion src/riscv-codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void cfg_flatten()

for (fn_t *fn = FUNC_LIST.head; fn; fn = fn->next) {
/* reserve stack */
ph2_ir_t *fflatten_ir = add_ph2_ir(OP_define);
ph2_ir_t *flatten_ir = add_ph2_ir(OP_define);
flatten_ir->src0 = fn->func->stack_size;

for (basic_block_t *bb = fn->bbs; bb; bb = bb->rpo_next) {
Expand Down