diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 19:40:26 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 19:40:26 -0500 |
| commit | a71fbe49cbbf068e00300533d5f3874efadb8c18 (patch) | |
| tree | 57c6c4150b910efce96251b14003d46f00cf6afa /src/codegen.cpp | |
| parent | f12fbce0f51d58b429afd8a359aeb8a3b27a4eb0 (diff) | |
| download | zig-a71fbe49cbbf068e00300533d5f3874efadb8c18.tar.gz zig-a71fbe49cbbf068e00300533d5f3874efadb8c18.zip | |
IR: add FnProto instruction
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 6f3d433451..ef72fd76a0 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -2196,6 +2196,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdIntType: case IrInstructionIdMemberCount: case IrInstructionIdAlignOf: + case IrInstructionIdFnProto: zig_unreachable(); case IrInstructionIdReturn: return ir_render_return(g, executable, (IrInstructionReturn *)instruction); |
