Remove use_llvm_api related checks and other related things

This commit is contained in:
gingerBill
2021-04-25 20:03:05 +01:00
parent 74c683e908
commit cb2e6ea31d
8 changed files with 13 additions and 109 deletions

View File

@@ -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) {