diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-15 15:16:23 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-15 15:16:23 +0100 |
| commit | 65c91b7dde613cf0b36212fdedf34cbf3c836b0c (patch) | |
| tree | ac252d348ee2b3ef034561b3b2331b15c11b8384 /src | |
| parent | bd562116b834ed44440665f2fe4b080c665e9b85 (diff) | |
Fix code gen issue with `bit_set`
Diffstat (limited to 'src')
| -rw-r--r-- | src/llvm_backend_expr.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/llvm_backend_expr.cpp b/src/llvm_backend_expr.cpp index dfb7e162e..4bb2676d1 100644 --- a/src/llvm_backend_expr.cpp +++ b/src/llvm_backend_expr.cpp @@ -4955,10 +4955,6 @@ gb_internal lbAddr lb_build_addr_compound_lit(lbProcedure *p, Ast *expr) { for (Ast *elem : cl->elems) { GB_ASSERT(elem->kind != Ast_FieldValue); - if (lb_is_elem_const(elem, et)) { - continue; - } - lbValue expr = lb_build_expr(p, elem); GB_ASSERT(expr.type->kind != Type_Tuple); |