From ed5a4afc8c308c6db12d29d89b70738033ff46ec Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 13 Jul 2021 15:54:56 +0100 Subject: Temporarily disable `-threaded-checker`; Restructure the untyped-expr-info system to be much more thread-friendly --- src/llvm_backend.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/llvm_backend.cpp') diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index 95ab55134..d04344c1f 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -6580,6 +6580,7 @@ lbValue lb_const_value(lbModule *m, Type *type, ExactValue value, bool allow_loc } LLVMValueRef str_len = LLVMConstInt(lb_type(m, t_int), value.value_string.len, true); LLVMValueRef values[2] = {ptr, str_len}; + GB_ASSERT(is_type_string(original_type)); res.value = llvm_const_named_struct(lb_type(m, original_type), values, 2); } -- cgit v1.2.3