aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-25 20:03:05 +0100
committergingerBill <bill@gingerbill.org>2021-04-25 20:03:05 +0100
commitcb2e6ea31db90ca80314e5ff8ce8f43371fade7c (patch)
treea58df81b7254167e96492a9229402833a96fc715 /src/check_expr.cpp
parent74c683e908fb0fec6c85de099fbbda400d9d6fbe (diff)
Remove `use_llvm_api` related checks and other related things
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 61cdf7822..2c83565a4 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -7903,10 +7903,6 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
error(node, "Inline asm expressions are only allowed within a procedure body");
}
- if (!build_context.use_llvm_api) {
- error(node, "Inline asm expressions are only currently allowed with -llvm-api");
- }
-
auto param_types = array_make<Type *>(heap_allocator(), ia->param_types.count);
Type *return_type = nullptr;
for_array(i, ia->param_types) {