| ... | @@ -1179,6 +1179,8 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst | ... | @@ -1179,6 +1179,8 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst |
| 1179 | | 1179 | |
| 1180 | switch (op_id) { | 1180 | switch (op_id) { |
| 1181 | case IrUnOpInvalid: | 1181 | case IrUnOpInvalid: |
| | 1182 | case IrUnOpError: |
| | 1183 | case IrUnOpMaybe: |
| 1182 | zig_unreachable(); | 1184 | zig_unreachable(); |
| 1183 | case IrUnOpNegation: | 1185 | case IrUnOpNegation: |
| 1184 | case IrUnOpNegationWrap: | 1186 | case IrUnOpNegationWrap: |
| ... | @@ -1212,14 +1214,6 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst | ... | @@ -1212,14 +1214,6 @@ static LLVMValueRef ir_render_un_op(CodeGen *g, IrExecutable *executable, IrInst |
| 1212 | return get_handle_value(g, expr, child_type); | 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 | zig_unreachable(); | 1219 | zig_unreachable(); |