IR: support sizeOf builtin

This commit is contained in:
Andrew Kelley
2016-11-20 02:11:36 -05:00
parent 6c8b919d17
commit b47e2fa060
4 changed files with 94 additions and 21 deletions

View File

@@ -1444,6 +1444,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdArrayType:
case IrInstructionIdSliceType:
case IrInstructionIdCompileVar:
case IrInstructionIdSizeOf:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);