IR: implement memberCount builtin

This commit is contained in:
Andrew Kelley
2016-12-12 01:59:55 -05:00
parent ef63bc9cca
commit 76a849b1f2
5 changed files with 71 additions and 21 deletions

View File

@@ -2094,6 +2094,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdCUndef:
case IrInstructionIdEmbedFile:
case IrInstructionIdIntType:
case IrInstructionIdMemberCount:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);