aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-10-11 23:45:33 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-10-11 23:45:33 -0400
commitce3c52471dd8a86e429ea037f4344b243723eb74 (patch)
treeb2e430b77c83b2141758adaed7484ff7a723b293 /src/codegen.cpp
parent77ae3442ef2dee1659ab5778f43c00026fd21dd9 (diff)
downloadzig-ce3c52471dd8a86e429ea037f4344b243723eb74.tar.gz
zig-ce3c52471dd8a86e429ea037f4344b243723eb74.zip
IR if statements WIP
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 2 insertions, 0 deletions
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();