Skip to content

Commit a651980

Browse files
committed
Update test snapshots to reflect current IR output
1 parent 2e38868 commit a651980

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

src/riscv-codegen.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ void emit_ph2_ir(ph2_ir_t *ph2_ir)
439439
void code_generate(void)
440440
{
441441
elf_data_start = elf_code_start + elf_offset;
442-
func_t *func;
443442

444443
/* start: save original sp in s0; allocate global stack; run init */
445444
emit(__addi(__s0, __sp, 0));

tests/snapshots/fib-arm.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/snapshots/fib-riscv.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/snapshots/hello-arm.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/snapshots/hello-riscv.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)