aboutsummaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-04-20 09:47:38 -0400
committerQuentin Carbonneaux <[email protected]>2016-04-20 09:56:29 -0400
commit657c3fa66b5700a1fde89fbd8c92cd9dc56eea3b (patch)
tree3a26376d76d86df68f31abeadcc91b040a9bd921 /copy.c
parentb7debc4e7f5d50a89214421a704864a30a291cdc (diff)
match jumps/ops with il text
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy.c b/copy.c
index 71720f9..06a0fb3 100644
--- a/copy.c
+++ b/copy.c
@@ -55,7 +55,7 @@ visitins(Ins *i, Ref *cp, RList **w)
{
Ref r;
- if (i->op == OCopy) {
+ if (i->op == Ocopy) {
r = copyof(i->arg[0], cp);
update(i->to, r, cp, w);
} else if (!req(i->to, R)) {
@@ -125,7 +125,7 @@ copy(Fn *fn)
for (i=b->ins; i-b->ins < b->nins; i++) {
r = copyof(i->to, cp);
if (!req(r, i->to)) {
- *i = (Ins){.op = ONop};
+ *i = (Ins){.op = Onop};
continue;
}
for (a=0; a<2; a++)