aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
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) {