mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-12 04:13:57 +00:00
[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:
parent
9a38cdfd78
commit
1fb4a556d7
1 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue