Commit Graph

5825 Commits

Author SHA1 Message Date
gingerBill 4f442c6045 Rearrange const union initialization so that it is priority 2025-09-29 09:51:23 +01:00
gingerBill 4877214f34 Add more check_is_operand_compound_lit_constant uses 2025-09-28 23:53:07 +01:00
gingerBill dd15a5bc8e Do not need an extra local copy for the slices 2025-09-28 23:32:37 +01:00
gingerBill 6db8943efa Check for empty compound literal early for constants 2025-09-28 23:25:27 +01:00
gingerBill 5b88d2363d Correct failure check for const cast 2025-09-28 23:19:43 +01:00
gingerBill cbab97fbd7 Use memcpy for local constant slice arrays from a global constant 2025-09-28 22:50:36 +01:00
gingerBill 17c9e1d76b Fix global initialization when non was set 2025-09-28 22:11:46 +01:00
gingerBill 1df9f1d01d Fix constant union{proc()} 2025-09-28 22:02:25 +01:00
gingerBill 8be18d9a40 Allow for constant []typeid 2025-09-28 21:47:56 +01:00
gingerBill 35a32d41e0 Fix Union{} 2025-09-28 21:08:47 +01:00
gingerBill f743110f63 Correct union type checking for constants 2025-09-28 21:00:36 +01:00
gingerBill 421bec2d17 Merge branch 'master' into bill/const-union 2025-09-28 20:48:23 +01:00
gingerBill 547477abf6 Add #+test to replace _test.odin 2025-09-28 20:47:32 +01:00
gingerBill 17204bd1c2 Global const unions with @(rodata) 2025-09-28 20:40:26 +01:00
gingerBill ffdfbfe2c2 Begin to support constant array of unions 2025-09-28 20:20:26 +01:00
gingerBill a974c51d57 First step towards constant unions 2025-09-28 19:52:52 +01:00
gingerBill 0233dc5d31 Remove stray 0 2025-09-27 14:15:51 +01:00
gingerBill e9f6456b52 Remove _test.odin filter 2025-09-27 14:13:28 +01:00
gingerBill af83c30b6f And extra safety checks 2025-09-27 14:13:16 +01:00
Jwaxy 15fe0bfe59 Make return struct with slice check recursive 2025-09-27 14:45:46 +03:00
Jwaxy 4165e8e888 Prevent returning struct containing compound literal slice 2025-09-27 13:53:04 +03:00
gingerBill 62a03f118e Merge pull request #5689 from slowhei/master
Improve type inferencing of literals when calling proc groups
2025-09-26 14:13:05 +01:00
gingerBill 23778cd643 Merge pull request #5716 from samwega/master
-fix: typo
2025-09-26 11:00:36 +01:00
gingerBill dfb86db159 Fix absolutely random change between , and newline 2025-09-26 10:50:16 +01:00
gingerBill 01c10f3f5e Use RecursiveMutex to fix a race condition with parapoly records 2025-09-26 10:18:46 +01:00
samwega ade4eafcad -fix: typo 2025-09-26 11:53:53 +03:00
gingerBill 42b9039a1f Check for nullptr 2025-09-26 09:41:08 +01:00
gingerBill ed2b79a63e Completely comment out lb_construct_const_union 2025-09-26 09:35:51 +01:00
gingerBill a6d5ec2de8 Early short circuit lb_construct_const_union 2025-09-26 09:31:10 +01:00
gingerBill 0ae86dbe87 Ignore further 2025-09-25 12:10:18 +01:00
gingerBill 1a191b99ac Disable some of lb_construct_const_union for the time being. 2025-09-25 12:05:27 +01:00
Tohei Ichikawa 6ed9351955 Merge remote-tracking branch 'upstream/master' 2025-09-24 21:09:31 -04:00
gingerBill 5d3092bf2d Again, better const union stuff 2025-09-24 14:27:44 +01:00
gingerBill 43e0d6966e More improves for const union stuff! 2025-09-24 14:07:09 +01:00
gingerBill ad85ec765b More const union improvements 2025-09-24 10:29:32 +01:00
gingerBill bad495519b Improve const union attemps 2025-09-24 10:08:25 +01:00
gingerBill 31f0aaa62f Try to improve const union LLVM construction 2025-09-24 09:55:22 +01:00
gingerBill 90d1229ead Make LLVM_WEAK_MONOMORPHIZATION opt-in again 2025-09-24 09:13:48 +01:00
Lucas Perlind 15b4b9277a spin in recursive mutex lock; use compare exchange for broadcast 2025-09-24 15:54:58 +10:00
Lucas Perlind eca2758d8b Revert "Reimplement RwMutex on non-windows systems"
This reverts commit e9d20a9b4a.
2025-09-24 12:40:01 +10:00
gingerBill e9d20a9b4a Reimplement RwMutex on non-windows systems 2025-09-23 11:38:32 +01:00
gingerBill 2f132b51ce Add missing gen 2025-09-23 01:23:01 +01:00
gingerBill c9eef7c835 Single thread lb_create_startup_runtime_generate_body 2025-09-22 21:10:01 +01:00
gingerBill f36ade8c64 Remove extra checks 2025-09-19 16:44:57 +01:00
gingerBill 9b8771b475 Handle missing procedures better 2025-09-19 16:15:04 +01:00
gingerBill 655176e5e7 Remove comments of dead code 2025-09-19 15:17:38 +01:00
gingerBill 76705c6800 Convert missing_procedures_to_check to a queue 2025-09-19 14:18:09 +01:00
gingerBill 6bca1475ed Convert procedures_to_generate to a queue 2025-09-19 14:15:25 +01:00
gingerBill ee3b10335b Split further 2025-09-19 13:59:58 +01:00
gingerBill f1e3977cf9 Split up startup call into separate calls 2025-09-19 13:57:52 +01:00