Commit Graph
100 Commits
Author SHA1 Message Date
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 d3b8770318 Add #+test to base32_test.odin 2025-09-28 20:48:13 +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
gingerBillandGitHub 27d9ab5dd8 Merge pull request #5719 from jwaxy/patch-1
Prevent returning a struct containing compound literal slice
2025-09-27 14:11:57 +01:00
gingerBill a7af6055b0 Move memory mutex guard around for resize in virtual.Arena allocator 2025-09-27 10:27:08 +01:00
gingerBillandGitHub 2c97b4ee4d Merge pull request #5718 from odin-lang/bill/conditional-zero
Add `runtime.conditional_mem_zero` to improve `heap_allocator` performance on non-Windows systems
2025-09-27 10:17:23 +01:00
gingerBill 2baa19f73c Remove unused variable 2025-09-27 10:10:25 +01:00
gingerBill ac01d1b5bf Add runtime.conditional_mem_zero to improve heap_allocator performance on non-Windows systems 2025-09-27 09:58:28 +01:00
gingerBillandGitHub 0eaf3ee7cd Merge pull request #5678 from alexriedl/wrong-allocator-guard
fix for temp_file name prefix being deallocated before being used
2025-09-26 15:24:11 +01:00
gingerBillandGitHub 1222d40d39 Merge pull request #5691 from rationalcoder/master
Fix out-of-band allocations in dynamic arenas
2025-09-26 14:21:52 +01:00
gingerBillandGitHub 51f79724ed Merge pull request #5686 from thetarnav/zero-small-array-resize
Zero small array resize
2025-09-26 14:16:54 +01:00
gingerBillandGitHub 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
gingerBillandGitHub 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
gingerBill 42b9039a1f Check for nullptr 2025-09-26 09:41:08 +01:00
gingerBill b1d63f103e Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-26 09:35:58 +01:00
gingerBill ed2b79a63e Completely comment out lb_construct_const_union 2025-09-26 09:35:51 +01:00
gingerBillandGitHub db74ce7cbf Merge pull request #5712 from greenya/master
[core:sys/info] doc: Remove duplicated line
2025-09-26 09:34:25 +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 8b7a35fae2 MAKE_VERSION be "contextless" 2025-09-25 12:07:08 +01:00
gingerBill 1a191b99ac Disable some of lb_construct_const_union for the time being. 2025-09-25 12:05:27 +01:00
gingerBillandGitHub a3689f89c2 Merge pull request #5706 from wrathdoesthat/master
Unify filepath.join return between unix/windows
2025-09-25 09:29:38 +01:00
gingerBill 286e3eafe6 Change inlining semantics for some builtin calls 2025-09-25 08:55:03 +01: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
gingerBillandGitHub b9e90194d8 Merge pull request #5707 from janga-perlind/lucas/timing-stuff
Improve OSX threading performance
2025-09-24 08:20:26 +01: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
gingerBill ec91e2c15b Separate ini global var stuff 2025-09-19 13:52:25 +01:00
gingerBill a8b2b1a23b Temporarily revert anonymous procedure load balancing 2025-09-19 13:49:09 +01:00
gingerBill 31cafda30d Remove unused variable 2025-09-19 12:31:06 +01:00
gingerBill be1e889abb Remove debug message 2025-09-19 12:29:26 +01:00
gingerBill 6338e0a8a3 Allow unions with one variant to be constant 2025-09-19 11:56:44 +01:00
gingerBill 1a4da5cb0f Distribute anonymous procedure literals correctly across LLVM modules 2025-09-19 11:13:18 +01:00
gingerBill 6ce889f4eb Entity * to std::atomic<Entity *> to remove the need for a PtrMap+Mutex 2025-09-19 11:01:41 +01:00
gingerBill 5f76d6ce15 Support -linker:mold 2025-09-19 10:25:11 +01:00
gingerBill 1507cc01a5 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-18 23:26:23 +01:00
gingerBill 5d14df4112 Multithread lb_module_init 2025-09-18 23:26:11 +01:00
gingerBillandGitHub 4d2854f561 Merge pull request #5632 from kalsprite/x386
windows i386 support
2025-09-18 22:01:14 +01:00
gingerBill 9cf69576ab More improvements to minimize code gen size 2025-09-18 20:58:24 +01:00
gingerBill 4b0a07ba27 Minor rearrangement 2025-09-18 17:06:09 +01:00
gingerBill 37e1e00623 Revert global procedure threading 2025-09-18 16:57:21 +01:00
gingerBill 5bc9d79f77 Change mutex usage for missing procedures 2025-09-18 16:56:19 +01:00
gingerBill 111e2f0c1b After global procedures and types are generated, then queue the generation of the procedures for each module 2025-09-18 16:53:00 +01:00
gingerBill 5559916d5c Mulithread startup procedure body generation 2025-09-18 16:35:04 +01:00
gingerBill 3954491393 Type erasure to minimize code generation size 2025-09-18 15:54:05 +01:00
gingerBill 0f307fbc5d Use multiple modules per file in package runtime 2025-09-18 15:34:19 +01:00
gingerBill 738a72943b Try moving parapoly procs into a separate module when doing weak monomorphization 2025-09-18 15:04:16 +01:00
gingerBillandGitHub 5b0510a6bd Merge pull request #5690 from Creativty/master
Fix #5682 segfault involving string_to_string16 on linux
2025-09-17 17:28:24 +01:00
gingerBill 11be0cb4ab Use permanent_allocator() instead of temporary_allocator() temporarily to fix a bug 2025-09-14 17:37:17 +01:00
gingerBill 7db57e2d9c Temporarily disable TEMPORARY_ALLOCATOR_GUARD 2025-09-14 17:24:22 +01:00
gingerBill 22261f9e71 Fix temporary_allocator 2025-09-14 17:21:33 +01:00
gingerBillandGitHub 935d9657a3 Merge pull request #5677 from slowhei/master
Fix Drawin addObserver methods and add support for new Objc_Block
2025-09-12 08:44:45 +01:00
gingerBillandGitHub 72f8bafe6c Merge pull request #5672 from thetarnav/strings-builder-caller-location
Add missing caller location param to append in strings builder
2025-09-11 11:02:35 +01:00
gingerBill cf4262d22c Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 21:41:58 +01:00
gingerBill 5ea2e1fe60 Minimize mutex usage when in single threaded mode. 2025-09-10 21:41:52 +01:00
gingerBillandGitHub 8175c3eaa1 Merge pull request #5651 from FourteenBrush/patch-2
Win32: add `CancelIoEx` to kernel32.odin, among other overlapped IO functions.
2025-09-10 21:36:37 +01:00
gingerBill 992cad101c Minor mutex rearrangement 2025-09-10 21:16:56 +01:00
gingerBill 549edcc0f9 Use a RwMutex instead of BlockingMutex 2025-09-10 21:00:43 +01:00
gingerBill 34e3d30780 More thread contention removal 2025-09-10 20:51:52 +01:00
gingerBill 0476d33a6c Remove global PtrMap<Type *, GenTypesData *> and store on the TypeNamed directly 2025-09-10 20:45:26 +01:00
gingerBill d3602ca634 Removal of some old checks 2025-09-10 20:37:39 +01:00
gingerBill 76c0f89535 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 20:11:42 +01:00
gingerBill bc36ea4170 Use macro instead of a C++ iterator - for speed
C++ iterators are bad.
2025-09-10 20:11:36 +01:00
gingerBill 228ddd6903 Inline some ptr set iterators 2025-09-10 20:02:39 +01:00
gingerBill 1c648126c7 Move more from heap_allocator() to temporary_allocator() 2025-09-10 19:47:29 +01:00
gingerBill 01258d4817 Multithread "check all scope usages" 2025-09-10 19:38:30 +01:00
gingerBill a36a8722dc Minimize more thread contention 2025-09-10 19:30:32 +01:00
gingerBill 21b1173076 Minor clean up of permanent/temporary arena usage 2025-09-10 18:20:20 +01:00
gingerBill af37ba76c1 Use arena in calculate_global_init_order 2025-09-10 18:02:02 +01:00
gingerBill 54df0e1a41 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 17:29:17 +01:00
gingerBill 1e0902677f Multithread min dep set by removing the set itself 2025-09-10 17:29:11 +01:00
gingerBillandGitHub fef00dda24 Merge pull request #5675 from jfcode4/master
Fix incorrect json encoding for control characters < 32
2025-09-10 16:09:52 +01:00
gingerBillandGitHub 475791476b Merge pull request #5673 from BradLewis/fix/parser-proc-group-trailing-comma
Allow missing trailing comma with proc groups with odin parser
2025-09-10 13:48:13 +01:00
gingerBill 60684ff028 Multithread some of the min dep system 2025-09-10 13:39:06 +01:00
gingerBill 70d396c8ad Split type and inline cycles into separate loops 2025-09-10 13:26:07 +01:00