IR: fix err variable in ErrOkOr instruction

This commit is contained in:
Andrew Kelley committed 2016-12-18 13:20:19 -05:00
1 parent 0cdfd5c141
commit b59841a80f
4 files changed
+2 -59

No files matched your search

-1
View File
@@ -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);