diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-11-20 02:11:36 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-11-20 02:11:36 -0500 |
| commit | b47e2fa0604a5c785d9ed7d16c8086ecf99357f7 (patch) | |
| tree | 03b78e69349eaa6c355b5bbcef693bd3fdae9817 /src/codegen.cpp | |
| parent | 6c8b919d17fd456671710087c199bfd7d5a13c38 (diff) | |
| download | zig-b47e2fa0604a5c785d9ed7d16c8086ecf99357f7.tar.gz zig-b47e2fa0604a5c785d9ed7d16c8086ecf99357f7.zip | |
IR: support sizeOf builtin
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
