summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-23 00:54:14 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-23 00:54:14 -0400
commit38da18a86693f4ee46952b49601438f8c73ef34c (patch)
tree66274c9b6519876629bd02045684ecfe85bf3023 /copy.c
parentf7de68fe80850c4058eb2c1f123ca0dad54abe9b (diff)
started removing block ret_expr
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/copy.c b/copy.c
index 2c85043..3f352c2 100644
--- a/copy.c
+++ b/copy.c
@@ -430,8 +430,6 @@ static void copy_block(Copier *c, Block *out, Block *in, U8 flags) {
out->stmts = NULL;
Block *prev = c->block;
c->block = out;
- if (in->ret_expr)
- out->ret_expr = copy_expr_(c, in->ret_expr);
if (!(flags & COPY_BLOCK_DONT_CREATE_IDENTS))
idents_create(&out->idents, c->allocr, out);
arr_set_lena(out->stmts, nstmts, c->allocr);