| ... | ... | @@ -1179,6 +1179,8 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst |
| 1179 | 1179 | |
| 1180 | 1180 | switch (op_id) { |
| 1181 | 1181 | case IrUnOpInvalid: |
| 1182 | case IrUnOpError: |
| 1183 | case IrUnOpMaybe: |
| 1182 | 1184 | zig_unreachable(); |
| 1183 | 1185 | case IrUnOpNegation: |
| 1184 | 1186 | case IrUnOpNegationWrap: |
| ... | ... | @@ -1212,14 +1214,6 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst |
| 1212 | 1214 | return get_handle_value(g, expr, child_type); |
| 1213 | 1215 | } |
| 1214 | 1216 | } |
| 1215 | | case IrUnOpError: |
| 1216 | | { |
| 1217 | | zig_panic("TODO codegen PrefixOpError"); |
| 1218 | | } |
| 1219 | | case IrUnOpMaybe: |
| 1220 | | { |
| 1221 | | zig_panic("TODO codegen PrefixOpMaybe"); |
| 1222 | | } |
| 1223 | 1217 | } |
| 1224 | 1218 | |
| 1225 | 1219 | zig_unreachable(); |