no "use of undeclared identifer" in dead comptime branches

This commit is contained in:
Andrew Kelley
2019-05-28 18:18:52 -04:00
parent 528c151a55
commit b66438eb80
7 changed files with 70 additions and 28 deletions

View File

@@ -5606,6 +5606,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdBitCast:
case IrInstructionIdGlobalAsm:
case IrInstructionIdHasDecl:
case IrInstructionIdUndeclaredIdent:
zig_unreachable();
case IrInstructionIdDeclVarGen: