From b59841a80f564c63c667f6142832407086b67b56 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 18 Dec 2016 13:20:19 -0500 Subject: IR: fix err variable in ErrOkOr instruction --- src/codegen.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index e486764db8..6dfa2520bc 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -2191,7 +2191,6 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdIntType: case IrInstructionIdMemberCount: case IrInstructionIdAlignOf: - case IrInstructionIdErrUnionTypeChild: zig_unreachable(); case IrInstructionIdReturn: return ir_render_return(g, executable, (IrInstructionReturn *)instruction); -- cgit v1.2.3