diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-12-07 11:29:44 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-12-07 11:29:44 -0500 |
| commit | a148096e6a2d28e6248eed9b5a4ad40482b74149 (patch) | |
| tree | 5a9cf9926af7b558027bbd368124e5c4069186ed /src/codegen.cpp | |
| parent | 0ad580f001eb151d0feb7ad884e237b237220800 (diff) | |
| download | zig-a148096e6a2d28e6248eed9b5a4ad40482b74149.tar.gz zig-a148096e6a2d28e6248eed9b5a4ad40482b74149.zip | |
IR: add compileError builtin fn
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 0fe7604a51..f40c59691a 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -1823,6 +1823,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdContainerInitFields: case IrInstructionIdMinValue: case IrInstructionIdMaxValue: + case IrInstructionIdCompileErr: zig_unreachable(); case IrInstructionIdReturn: return ir_render_return(g, executable, (IrInstructionReturn *)instruction); @@ -3068,7 +3069,6 @@ static void define_builtin_fns(CodeGen *g) { create_builtin_fn(g, BuiltinFnIdUnreachable, "unreachable", 0); create_builtin_fn(g, BuiltinFnIdSetFnTest, "setFnTest", 1); create_builtin_fn(g, BuiltinFnIdSetFnVisible, "setFnVisible", 2); - create_builtin_fn(g, BuiltinFnIdSetFnNoInline, "setFnNoInline", 2); create_builtin_fn(g, BuiltinFnIdSetDebugSafety, "setDebugSafety", 2); } |
