IR: generating a switch statement

This commit is contained in:
Andrew Kelley
2016-11-24 02:44:03 -05:00
parent a2257e4b81
commit 0c22358cc1
10 changed files with 334 additions and 447 deletions

View File

@@ -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: