public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40bcb4
)
Don't record use-def data; we have a pass now that does this for us.
author
David Given
<dg@cowlark.com>
Mon, 12 Dec 2016 22:47:05 +0000
(23:47 +0100)
committer
David Given
<dg@cowlark.com>
Mon, 12 Dec 2016 22:47:05 +0000
(23:47 +0100)
mach/proto/mcg/pass_instructionselection.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/pass_instructionselection.c
b/mach/proto/mcg/pass_instructionselection.c
index
c683255
..
3dc187c
100644
(file)
--- a/
mach/proto/mcg/pass_instructionselection.c
+++ b/
mach/proto/mcg/pass_instructionselection.c
@@
-54,7
+54,6
@@
static void emit_reg(int child, int index)
if (vreg)
{
hop_add_vreg_insel(current_hop, vreg, index);
- array_appendu(&vreg->used, current_hop);
}
}
@@
-146,7
+145,6
@@
static void constrain_output_reg(uint32_t attr)
current_hop->output = vreg = new_vreg();
array_appendu(¤t_hop->outs, vreg);
- vreg->defined = current_hop;
vreg->type = find_type_from_constraint(attr);
get_constraint(vreg)->attrs = attr;