From ce3c52471dd8a86e429ea037f4344b243723eb74 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 11 Oct 2016 23:45:33 -0400 Subject: IR if statements WIP --- src/codegen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index 144b7bb14c..ebf2d76b81 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -2808,11 +2808,13 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdCast: return ir_render_cast(g, executable, (IrInstructionCast *)instruction); case IrInstructionIdCondBr: + case IrInstructionIdBr: case IrInstructionIdSwitchBr: case IrInstructionIdPhi: case IrInstructionIdStoreVar: case IrInstructionIdCall: case IrInstructionIdBuiltinCall: + case IrInstructionIdUnOp: zig_panic("TODO render more IR instructions to LLVM"); } zig_unreachable(); -- cgit v1.2.3