IR: support slice types

This commit is contained in:
Andrew Kelley
2016-11-07 18:58:01 -05:00
parent a2e3293930
commit 05de70017d
6 changed files with 341 additions and 151 deletions

View File

@@ -2966,6 +2966,8 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdPtrTypeChild:
case IrInstructionIdFieldPtr:
case IrInstructionIdSetFnTest:
case IrInstructionIdArrayType:
case IrInstructionIdSliceType:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);