Commit Graph

  • 89645921e2 Only add packing if the padding is non-zero for a #raw_union constant gingerBill 2025-09-29 11:00:08 +01:00
  • e511f07d76 Short circuit for Union{} gingerBill 2025-09-29 10:45:24 +01:00
  • 0d946268ee Disallow constant access x.y on struct #raw_union gingerBill 2025-09-29 10:41:35 +01:00
  • 10ba956d6a Rudimentary support for some constant struct #raw_union gingerBill 2025-09-29 10:28:16 +01:00
  • 1f2cedcf78 Remove debug code gingerBill 2025-09-29 09:53:04 +01:00
  • 4f442c6045 Rearrange const union initialization so that it is priority gingerBill 2025-09-29 09:51:23 +01:00
  • 4877214f34 Add more check_is_operand_compound_lit_constant uses gingerBill 2025-09-28 23:53:07 +01:00
  • dd15a5bc8e Do not need an extra local copy for the slices gingerBill 2025-09-28 23:32:37 +01:00
  • 6db8943efa Check for empty compound literal early for constants gingerBill 2025-09-28 23:25:27 +01:00
  • 5b88d2363d Correct failure check for const cast gingerBill 2025-09-28 23:19:43 +01:00
  • cbab97fbd7 Use memcpy for local constant slice arrays from a global constant gingerBill 2025-09-28 22:50:36 +01:00
  • 17c9e1d76b Fix global initialization when non was set gingerBill 2025-09-28 22:11:46 +01:00
  • 1df9f1d01d Fix constant union{proc()} gingerBill 2025-09-28 22:02:25 +01:00
  • 8be18d9a40 Allow for constant []typeid gingerBill 2025-09-28 21:47:56 +01:00
  • 35a32d41e0 Fix Union{} gingerBill 2025-09-28 21:08:47 +01:00
  • f743110f63 Correct union type checking for constants gingerBill 2025-09-28 21:00:36 +01:00
  • 421bec2d17 Merge branch 'master' into bill/const-union gingerBill 2025-09-28 20:48:23 +01:00
  • d3b8770318 Add #+test to base32_test.odin gingerBill 2025-09-28 20:48:13 +01:00
  • 547477abf6 Add #+test to replace _test.odin gingerBill 2025-09-28 20:47:32 +01:00
  • 17204bd1c2 Global const unions with @(rodata) gingerBill 2025-09-28 20:40:26 +01:00
  • ffdfbfe2c2 Begin to support constant array of unions gingerBill 2025-09-28 20:20:26 +01:00
  • a974c51d57 First step towards constant unions gingerBill 2025-09-28 19:52:52 +01:00
  • 0233dc5d31 Remove stray 0 gingerBill 2025-09-27 14:15:51 +01:00
  • e9f6456b52 Remove _test.odin filter gingerBill 2025-09-27 14:13:28 +01:00
  • af83c30b6f And extra safety checks gingerBill 2025-09-27 14:13:16 +01:00
  • 27d9ab5dd8 Merge pull request #5719 from jwaxy/patch-1 gingerBill 2025-09-27 14:11:57 +01:00
  • 15fe0bfe59 Make return struct with slice check recursive Jwaxy 2025-09-27 14:45:46 +03:00
  • 4165e8e888 Prevent returning struct containing compound literal slice Jwaxy 2025-09-27 13:53:04 +03:00
  • a7af6055b0 Move memory mutex guard around for resize in virtual.Arena allocator gingerBill 2025-09-27 10:27:08 +01:00
  • 2c97b4ee4d Merge pull request #5718 from odin-lang/bill/conditional-zero gingerBill 2025-09-27 10:17:23 +01:00
  • 2baa19f73c Remove unused variable bill/conditional-zero gingerBill 2025-09-27 10:10:25 +01:00
  • ac01d1b5bf Add runtime.conditional_mem_zero to improve heap_allocator performance on non-Windows systems gingerBill 2025-09-27 09:58:28 +01:00
  • 0eaf3ee7cd Merge pull request #5678 from alexriedl/wrong-allocator-guard gingerBill 2025-09-26 15:24:11 +01:00
  • 1222d40d39 Merge pull request #5691 from rationalcoder/master gingerBill 2025-09-26 14:21:52 +01:00
  • 51f79724ed Merge pull request #5686 from thetarnav/zero-small-array-resize gingerBill 2025-09-26 14:16:54 +01:00
  • 62a03f118e Merge pull request #5689 from slowhei/master gingerBill 2025-09-26 14:13:05 +01:00
  • af097f6ea1 Make CodeCov less touchy. bill/remove-test-suffix Jeroen van Rijn 2025-09-26 12:05:16 +02:00
  • 23778cd643 Merge pull request #5716 from samwega/master gingerBill 2025-09-26 11:00:36 +01:00
  • dfb86db159 Fix absolutely random change between , and newline gingerBill 2025-09-26 10:50:16 +01:00
  • 01c10f3f5e Use RecursiveMutex to fix a race condition with parapoly records gingerBill 2025-09-26 10:18:46 +01:00
  • ade4eafcad -fix: typo samwega 2025-09-26 11:53:53 +03:00
  • 42b9039a1f Check for nullptr gingerBill 2025-09-26 09:41:08 +01:00
  • b1d63f103e Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2025-09-26 09:35:58 +01:00
  • ed2b79a63e Completely comment out lb_construct_const_union gingerBill 2025-09-26 09:35:51 +01:00
  • db74ce7cbf Merge pull request #5712 from greenya/master gingerBill 2025-09-26 09:34:25 +01:00
  • a6d5ec2de8 Early short circuit lb_construct_const_union gingerBill 2025-09-26 09:31:10 +01:00
  • 36098cec0f [core:sys/info] doc: Remove duplicated line Yuriy Grynevych 2025-09-25 15:14:42 +03:00
  • 0ae86dbe87 Ignore further gingerBill 2025-09-25 12:10:18 +01:00
  • 8b7a35fae2 MAKE_VERSION be "contextless" gingerBill 2025-09-25 12:07:08 +01:00
  • 1a191b99ac Disable some of lb_construct_const_union for the time being. gingerBill 2025-09-25 12:05:27 +01:00
  • a3689f89c2 Merge pull request #5706 from wrathdoesthat/master gingerBill 2025-09-25 09:29:38 +01:00
  • 286e3eafe6 Change inlining semantics for some builtin calls gingerBill 2025-09-25 08:55:03 +01:00
  • 654c5b2c06 Fix memory leaks in type inference test Tohei Ichikawa 2025-09-24 21:25:25 -04:00
  • 6ed9351955 Merge remote-tracking branch 'upstream/master' Tohei Ichikawa 2025-09-24 21:09:31 -04:00
  • 3c1238991b Fix test_proc_group_type_inference.odin Tohei Ichikawa 2025-09-24 18:52:48 -04:00
  • 5d3092bf2d Again, better const union stuff gingerBill 2025-09-24 14:27:44 +01:00
  • 43e0d6966e More improves for const union stuff! gingerBill 2025-09-24 14:07:09 +01:00
  • ad85ec765b More const union improvements gingerBill 2025-09-24 10:21:38 +01:00
  • bad495519b Improve const union attemps gingerBill 2025-09-24 10:08:25 +01:00
  • 31f0aaa62f Try to improve const union LLVM construction gingerBill 2025-09-24 09:55:22 +01:00
  • 90d1229ead Make LLVM_WEAK_MONOMORPHIZATION opt-in again gingerBill 2025-09-24 09:13:48 +01:00
  • b9e90194d8 Merge pull request #5707 from janga-perlind/lucas/timing-stuff gingerBill 2025-09-24 08:20:26 +01:00
  • 15b4b9277a spin in recursive mutex lock; use compare exchange for broadcast Lucas Perlind 2025-09-24 12:42:20 +10:00
  • 443b6e1641 Unify filepath.join behavior on between unix/windows Wrath 2025-09-23 23:03:20 -04:00
  • eca2758d8b Revert "Reimplement RwMutex on non-windows systems" Lucas Perlind 2025-09-24 12:40:01 +10:00
  • e9d20a9b4a Reimplement RwMutex on non-windows systems gingerBill 2025-09-23 11:38:32 +01:00
  • 2f132b51ce Add missing gen gingerBill 2025-09-23 01:23:01 +01:00
  • c9eef7c835 Single thread lb_create_startup_runtime_generate_body gingerBill 2025-09-22 21:10:01 +01:00
  • f36ade8c64 Remove extra checks gingerBill 2025-09-19 16:44:57 +01:00
  • 9b8771b475 Handle missing procedures better gingerBill 2025-09-19 16:15:04 +01:00
  • 655176e5e7 Remove comments of dead code gingerBill 2025-09-19 15:17:38 +01:00
  • 76705c6800 Convert missing_procedures_to_check to a queue gingerBill 2025-09-19 14:18:09 +01:00
  • 6bca1475ed Convert procedures_to_generate to a queue gingerBill 2025-09-19 14:15:25 +01:00
  • ee3b10335b Split further gingerBill 2025-09-19 13:59:58 +01:00
  • f1e3977cf9 Split up startup call into separate calls gingerBill 2025-09-19 13:57:52 +01:00
  • ec91e2c15b Separate ini global var stuff gingerBill 2025-09-19 13:52:25 +01:00
  • a8b2b1a23b Temporarily revert anonymous procedure load balancing gingerBill 2025-09-19 13:49:09 +01:00
  • 31cafda30d Remove unused variable gingerBill 2025-09-19 12:31:06 +01:00
  • be1e889abb Remove debug message gingerBill 2025-09-19 12:29:26 +01:00
  • 6338e0a8a3 Allow unions with one variant to be constant gingerBill 2025-09-19 11:56:44 +01:00
  • 1a4da5cb0f Distribute anonymous procedure literals correctly across LLVM modules gingerBill 2025-09-19 11:13:18 +01:00
  • 6ce889f4eb Entity * to std::atomic<Entity *> to remove the need for a PtrMap+Mutex gingerBill 2025-09-19 11:01:41 +01:00
  • 5f76d6ce15 Support -linker:mold gingerBill 2025-09-19 10:25:11 +01:00
  • 1507cc01a5 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2025-09-18 23:26:23 +01:00
  • 5d14df4112 Multithread lb_module_init gingerBill 2025-09-18 23:26:11 +01:00
  • 4d2854f561 Merge pull request #5632 from kalsprite/x386 gingerBill 2025-09-18 22:01:14 +01:00
  • 9cf69576ab More improvements to minimize code gen size gingerBill 2025-09-18 20:58:24 +01:00
  • 4b0a07ba27 Minor rearrangement gingerBill 2025-09-18 17:06:09 +01:00
  • 37e1e00623 Revert global procedure threading gingerBill 2025-09-18 16:57:21 +01:00
  • 5bc9d79f77 Change mutex usage for missing procedures gingerBill 2025-09-18 16:56:19 +01:00
  • 111e2f0c1b After global procedures and types are generated, then queue the generation of the procedures for each module gingerBill 2025-09-18 16:53:00 +01:00
  • 5559916d5c Mulithread startup procedure body generation gingerBill 2025-09-18 16:35:04 +01:00
  • 3954491393 Type erasure to minimize code generation size gingerBill 2025-09-18 15:54:05 +01:00
  • 0f307fbc5d Use multiple modules per file in package runtime gingerBill 2025-09-18 15:34:19 +01:00
  • 738a72943b Try moving parapoly procs into a separate module when doing weak monomorphization gingerBill 2025-09-18 15:04:16 +01:00
  • 5b0510a6bd Merge pull request #5690 from Creativty/master gingerBill 2025-09-17 17:28:24 +01:00
  • 710533975e Fix out-of-band allocations in dynamic arenas rationalcoder 2025-09-16 16:31:10 -05:00
  • 3e7395eba6 fix: fix segfault on string_to_string16 xenobas 2025-09-16 21:40:57 +01:00
  • 5e71ba4456 Remove an outdated TODO Tohei Ichikawa 2025-09-16 10:57:54 -04:00
  • 403ca2fb2e Improve type inferencing of literals when calling proc groups Tohei Ichikawa 2025-09-15 20:40:20 -04:00