fix @bitCast semantics when there is no parent result loc

This commit is contained in:
Andrew Kelley
2019-06-11 15:44:06 -04:00
parent 60c3861805
commit e1d14e73b5
4 changed files with 59 additions and 2 deletions

View File

@@ -5543,6 +5543,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdContainerInitList:
case IrInstructionIdSliceSrc:
case IrInstructionIdRef:
case IrInstructionIdBitCastSrc:
zig_unreachable();
case IrInstructionIdDeclVarGen: