From b47e2fa0604a5c785d9ed7d16c8086ecf99357f7 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 20 Nov 2016 02:11:36 -0500 Subject: IR: support sizeOf builtin --- src/codegen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index 89af7dedab..6ed09db852 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -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); -- cgit v1.2.3