diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-25 20:03:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-25 20:03:05 +0100 |
| commit | cb2e6ea31db90ca80314e5ff8ce8f43371fade7c (patch) | |
| tree | a58df81b7254167e96492a9229402833a96fc715 /src/check_expr.cpp | |
| parent | 74c683e908fb0fec6c85de099fbbda400d9d6fbe (diff) | |
Remove `use_llvm_api` related checks and other related things
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 4 |
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) { |