aboutsummaryrefslogtreecommitdiff
path: root/src/nodes.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-04-03 23:32:57 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-04-03 23:32:57 +0300
commit68059b52c389143e766c5499c76c6c90c6b82846 (patch)
tree6e10707dbc417946dee5c4dbb333a4952914a9e8 /src/nodes.c
parentf4be2429f38faba0c54862055f808cb242a7eb49 (diff)
downloadqbt-68059b52c389143e766c5499c76c6c90c6b82846.tar.gz
qbt-68059b52c389143e766c5499c76c6c90c6b82846.zip
add callsite register saving
Diffstat (limited to 'src/nodes.c')
-rw-r--r--src/nodes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nodes.c b/src/nodes.c
index 05f96fe..d5a22da 100644
--- a/src/nodes.c
+++ b/src/nodes.c
@@ -144,6 +144,8 @@ void destroy_block(struct blk *b)
{
vec_destroy(&b->insns);
vec_destroy(&b->params);
+ vec_destroy(&b->args1);
+ vec_destroy(&b->args2);
free(b);
}
@@ -188,6 +190,9 @@ void dump_insn(struct insn i)
dump_val(i.in[1]);
}
+ if (i.flags)
+ printf("*");
+
printf("\n");
}