diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-01-09 09:56:24 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-01-09 09:56:24 -0500 |
| commit | d1d3dbc7b5bc986849db476e491300ffd18d4db5 (patch) | |
| tree | 8ab3bb2b5b8a82edf18caca6e28dc8e74ab81d11 /src/ir.cpp | |
| parent | 5a8d87f5042b5ab86de7c72df4ce84a314878e40 (diff) | |
| parent | 3c094116aae459b651934663a31981cf09cdb3e4 (diff) | |
| download | zig-d1d3dbc7b5bc986849db476e491300ffd18d4db5.tar.gz zig-d1d3dbc7b5bc986849db476e491300ffd18d4db5.zip | |
Merge branch 'master' into llvm6
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 826015c4ad..176e5791f8 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -3963,8 +3963,6 @@ static IrInstruction *ir_gen_prefix_op_expr(IrBuilder *irb, Scope *scope, AstNod return ir_lval_wrap(irb, scope, ir_gen_prefix_op_id(irb, scope, node, IrUnOpMaybe), lval); case PrefixOpError: return ir_lval_wrap(irb, scope, ir_gen_prefix_op_id(irb, scope, node, IrUnOpError), lval); - case PrefixOpUnwrapError: - return ir_gen_err_assert_ok(irb, scope, node, node->data.prefix_op_expr.primary_expr, lval); case PrefixOpUnwrapMaybe: return ir_gen_maybe_assert_ok(irb, scope, node, lval); } |
