diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-11-24 02:44:03 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-11-24 02:44:03 -0500 |
| commit | 0c22358cc1cccacb9a30929fbbc990ba9d82b6b3 (patch) | |
| tree | 68f861f84eaa471832ddb978e876d3097de6be8a /src/codegen.cpp | |
| parent | a2257e4b81764f8603a39b74eae3622651ec7d6b (diff) | |
| download | zig-0c22358cc1cccacb9a30929fbbc990ba9d82b6b3.tar.gz zig-0c22358cc1cccacb9a30929fbbc990ba9d82b6b3.zip | |
IR: generating a switch statement
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 541bb500eb..f7df4a2bc5 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -1695,6 +1695,8 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdCtz: return ir_render_ctz(g, executable, (IrInstructionCtz *)instruction); case IrInstructionIdSwitchBr: + case IrInstructionIdSwitchTarget: + case IrInstructionIdSwitchVar: case IrInstructionIdPhi: case IrInstructionIdContainerInitList: case IrInstructionIdContainerInitFields: |
