diff options
| author | Quentin Carbonneaux <[email protected]> | 2016-04-20 09:47:38 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2016-04-20 09:56:29 -0400 |
| commit | 657c3fa66b5700a1fde89fbd8c92cd9dc56eea3b (patch) | |
| tree | 3a26376d76d86df68f31abeadcc91b040a9bd921 /copy.c | |
| parent | b7debc4e7f5d50a89214421a704864a30a291cdc (diff) | |
match jumps/ops with il text
Diffstat (limited to 'copy.c')
| -rw-r--r-- | copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++) |
