authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-21 13:09:11-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-21 17:03:03-07:00
logb9b0e53197a977be6cecca29366bd1e758e66be8
tree6acb182820da4222b0927e81800e71b2b86a06a5
parent7a595f2e6c299afc8830c851b1797babc6087206

AstGen: remove unused parameter


1 files changed, 0 insertions(+), 14 deletions(-)

src/AstGen.zig-14
......@@ -4567,8 +4567,6 @@ fn tryExpr(
45674567 &else_scope,
45684568 condbr,
45694569 cond,
4570 node,
4571 node,
45724570 then_result,
45734571 else_result,
45744572 block,
......@@ -4662,8 +4660,6 @@ fn orelseCatchExpr(
46624660 &else_scope,
46634661 condbr,
46644662 cond,
4665 node,
4666 node,
46674663 then_result,
46684664 else_result,
46694665 block,
......@@ -4682,16 +4678,12 @@ fn finishThenElseBlock(
46824678 else_scope: *GenZir,
46834679 condbr: Zir.Inst.Index,
46844680 cond: Zir.Inst.Ref,
4685 then_src: ast.Node.Index,
4686 else_src: ast.Node.Index,
46874681 then_result: Zir.Inst.Ref,
46884682 else_result: Zir.Inst.Ref,
46894683 main_block: Zir.Inst.Index,
46904684 then_break_block: Zir.Inst.Index,
46914685 break_tag: Zir.Inst.Tag,
46924686) InnerError!Zir.Inst.Ref {
4693 _ = then_src;
4694 _ = else_src;
46954687 // We now have enough information to decide whether the result instruction should
46964688 // be communicated via result location pointer or break instructions.
46974689 const strat = rl.strategy(block_scope);
......@@ -5021,8 +5013,6 @@ fn ifExpr(
50215013 &else_scope,
50225014 condbr,
50235015 cond.bool_bit,
5024 if_full.ast.then_expr,
5025 else_info.src,
50265016 then_result,
50275017 else_info.result,
50285018 block,
......@@ -5303,8 +5293,6 @@ fn whileExpr(
53035293 &else_scope,
53045294 condbr,
53055295 cond.bool_bit,
5306 while_full.ast.then_expr,
5307 else_info.src,
53085296 then_result,
53095297 else_info.result,
53105298 loop_block,
......@@ -5479,8 +5467,6 @@ fn forExpr(
54795467 &else_scope,
54805468 condbr,
54815469 cond,
5482 for_full.ast.then_expr,
5483 else_info.src,
54845470 then_result,
54855471 else_info.result,
54865472 loop_block,