aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-12-07 01:23:38 -0500
committerAndrew Kelley <superjoe30@gmail.com>2016-12-07 01:23:38 -0500
commit0ad580f001eb151d0feb7ad884e237b237220800 (patch)
tree79eee5e187dfb183113187d88360446941cc3791 /src/codegen.cpp
parent5e4ee659a6796f7cc327c5e1cf1e10b1c032e85e (diff)
downloadzig-0ad580f001eb151d0feb7ad884e237b237220800.tar.gz
zig-0ad580f001eb151d0feb7ad884e237b237220800.zip
IR: add minValue, maxValue, and negation
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 d6a619efe7..0fe7604a51 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -1821,6 +1821,8 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdStaticEval:
case IrInstructionIdImport:
case IrInstructionIdContainerInitFields:
+ case IrInstructionIdMinValue:
+ case IrInstructionIdMaxValue:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);