aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_proc.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-15 17:14:35 +0100
committergingerBill <bill@gingerbill.org>2021-08-15 17:14:35 +0100
commit21cbac755ec2e18e5471c8f8e1406a87156d8043 (patch)
tree70e3ce645795f3910c3cef5e34efb3ff4e01a6eb /src/llvm_backend_proc.cpp
parenta3a20f09e27cf92493bdb92f6a96c29a8ab538d1 (diff)
Make `or_else` and `or_return` operators (binary and suffix respectively)
Diffstat (limited to 'src/llvm_backend_proc.cpp')
-rw-r--r--src/llvm_backend_proc.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp
index b3178e008..03b052c71 100644
--- a/src/llvm_backend_proc.cpp
+++ b/src/llvm_backend_proc.cpp
@@ -1252,11 +1252,6 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
case BuiltinProc_soa_unzip:
return lb_soa_unzip(p, ce, tv);
- case BuiltinProc_or_else:
- return lb_emit_or_else(p, ce->args[0], ce->args[1], tv);
- case BuiltinProc_or_return:
- return lb_emit_or_return(p, ce->args[0], tv);
-
// "Intrinsics"
case BuiltinProc_alloca: