[qfcc] Remove old ptrmove code from dag creation

It doesn't seem to help any, and removing it doesn't break anything
(that is tested), and I'm working on better handling of ptrmove support.
This commit is contained in:
Bill Currie 2024-02-19 18:21:07 +09:00
parent 9a38cdfd78
commit 1fb4a556d7

View file

@ -1004,21 +1004,15 @@ dag_create (flownode_t *flownode)
operand_t *operands[FLOW_OPERANDS];
dagnode_t *n = 0, *children[3] = {0, 0, 0};
daglabel_t *op, *lx;
int i;
dag_make_children (dag, s, operands, children);
if (s->type == st_flow || s->type == st_func) {
for (i = 0; i < 3; i++) {
for (int i = 0; i < 3; i++) {
if (children[i]) {
dag_make_var_live (live_vars, operands[i + 1]);
}
}
}
if (operands[4]) {
// a movep instruction knew what it was reading, so mark that
// as live
dag_make_var_live (live_vars, operands[4]);
}
op = opcode_label (dag, s->opcode, s->expr);
n = children[0];
if (s->type != st_assign) {