aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-01-06 02:04:27 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-01-06 02:04:27 -0500
commitcf62f02ba99e45061f073f764d7d5a137ac35a67 (patch)
treef90469379e47041bdcafa659393a11ea27c7529b /src/ir.cpp
parent23feafdef0ff45e67ac63c7e220830c93b095e18 (diff)
downloadzig-cf62f02ba99e45061f073f764d7d5a137ac35a67.tar.gz
zig-cf62f02ba99e45061f073f764d7d5a137ac35a67.zip
don't mark call instruction as generated
pass cast unreachable test
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index fa270e5f3a..6304114b89 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -3970,7 +3970,7 @@ static IrInstruction *ir_gen_fn_call(IrBuilder *irb, Scope *scope, AstNode *node
}
bool is_comptime = node->data.fn_call_expr.is_comptime;
- return ir_mark_gen(ir_build_call(irb, scope, node, nullptr, fn_ref, arg_count, args, is_comptime));
+ return ir_build_call(irb, scope, node, nullptr, fn_ref, arg_count, args, is_comptime);
}
static IrInstruction *ir_gen_if_bool_expr(IrBuilder *irb, Scope *scope, AstNode *node) {