aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-12-12 01:59:55 -0500
committerAndrew Kelley <superjoe30@gmail.com>2016-12-12 01:59:55 -0500
commit76a849b1f2c1bb57de4baf8dfd49fe9f9e2340f3 (patch)
tree60b863f9ce40d7514bbdf6888a7dcd01e5c1e644 /src/codegen.cpp
parentef63bc9cca6370f03d76a2a19dd7cdd7e23270d4 (diff)
downloadzig-76a849b1f2c1bb57de4baf8dfd49fe9f9e2340f3.tar.gz
zig-76a849b1f2c1bb57de4baf8dfd49fe9f9e2340f3.zip
IR: implement memberCount builtin
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 37d83c3dfc..b0f7cffff6 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -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);