IR: support sizeOf builtin

This commit is contained in:
Andrew Kelley committed 2016-11-20 02:11:36 -05:00
1 parent 6c8b919d17
commit b47e2fa060
4 files changed
+94 -21

No files matched your search

+1
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);