Commit Graph

  • 3e961af5f1 Sort files by name in packages gingerBill 2021-08-02 22:55:22 +01:00
  • 9e6e769141 Add sanity checks to checker dev-2021-08 gingerBill 2021-08-02 18:32:17 +01:00
  • c0f746a251 Merge pull request #1065 from Kelimion/string_cut Jeroen van Rijn 2021-08-02 18:09:59 +02:00
  • ccbdf086ff Add @(warning=<string>) gingerBill 2021-08-02 16:58:50 +01:00
  • d260ca6738 string.cut uses context.allocator by default. Jeroen van Rijn 2021-08-02 17:58:42 +02:00
  • b0e64ca7e8 Prepare tokenizer for optimizations gingerBill 2021-08-02 16:47:32 +01:00
  • 7f3d4cb504 Remove the literal conversion logic to the parser from the tokenizer gingerBill 2021-08-02 00:53:45 +01:00
  • 97be36d18a Replace line with column_minus_one in Tokenizer; Remove dead code gingerBill 2021-08-02 00:26:54 +01:00
  • be76da2c90 Begin optimizing tokenizer; Replace gb_utf8_decode with utf8_decode (CC but easier to change later) gingerBill 2021-08-01 23:56:17 +01:00
  • b1a8357f50 Clean up a bit of the tokenizer code so that the semicolon insertion rules are in one place gingerBill 2021-08-01 22:41:00 +01:00
  • 0dc900ba34 Add strings.cut, which returns a substring. Jeroen van Rijn 2021-08-01 19:41:20 +02:00
  • 700624119b Give begin_error_block its own recursive mutex gingerBill 2021-07-29 12:35:11 +01:00
  • af32aba7fc Modify MPMCQueue behaviour to use i32 over isize; Correct cache line padding within MPMCQueue gingerBill 2021-07-28 00:59:30 +01:00
  • 541c79c01a Add mutex for @(builtin) attributes gingerBill 2021-07-28 00:27:16 +01:00
  • 358226468d EXPERIMENT: Set DEFAULT_TO_THREADED_CHECKER on all platforms gingerBill 2021-07-27 23:55:55 +01:00
  • d1e5f34f76 Use DEFAULT_TO_THREADED_CHECKER gingerBill 2021-07-27 23:55:19 +01:00
  • 416dd93bf7 Add accidentally removed call gingerBill 2021-07-27 23:39:35 +01:00
  • 7c80577160 Correct race condition on untyped expr info map logic on global evaluations gingerBill 2021-07-27 23:37:55 +01:00
  • a5d6fda433 Define which mutexes are blocking and recursive explicitly gingerBill 2021-07-27 23:14:01 +01:00
  • 4bc3796f9b Short circuit check_with_workers logic on worker_count == 0 gingerBill 2021-07-27 23:00:51 +01:00
  • 5e12f5a746 Unify threading logic gingerBill 2021-07-27 22:55:32 +01:00
  • 4080ba4026 Remove global semaphore and place in CheckerInfo gingerBill 2021-07-27 21:42:43 +01:00
  • e17593be94 Remove dead mutex gingerBill 2021-07-27 21:14:06 +01:00
  • 44aa69748c Correct logic for check_import_entities - collect file decls gingerBill 2021-07-27 21:13:03 +01:00
  • 9cd5ea59dd Big simplification and improvement of the entity collection system, reducing unneeded steps for packages gingerBill 2021-07-27 20:45:50 +01:00
  • 116e98b378 Improve default scope size gingerBill 2021-07-27 10:59:39 +01:00
  • ae25787f48 Fix syntax error for a missing package name gingerBill 2021-07-26 11:43:17 +01:00
  • 08dc829b70 Manually short circuit in lb_build_if_stmt for constant conditions gingerBill 2021-07-26 10:59:07 +01:00
  • 3ac674cf02 Fix typo gingerBill 2021-07-25 13:12:09 +01:00
  • 6cd06ab95f Minor fix gingerBill 2021-07-25 13:07:31 +01:00
  • 99080d41f3 INTERNAL USE ONLY: //+lazy build flag gingerBill 2021-07-25 13:06:09 +01:00
  • 92f3567ee6 Default to using a threaded checker on Windows; Add -no-threaded-checker for Windows gingerBill 2021-07-24 18:00:19 +01:00
  • 481fc8a5b6 Merge pull request #1060 from Kelimion/win_sys Jeroen van Rijn 2021-07-15 12:15:10 +02:00
  • 5dfff51a40 Allow core:sys/windows to build on Windows only Jeroen van Rijn 2021-07-15 12:13:57 +02:00
  • 2938ec028f Remove dead code gingerBill 2021-07-15 00:37:59 +01:00
  • 981b9fb7a8 Remove need for scope mutex, make Scope singly linked list tree with atomic pointers gingerBill 2021-07-14 23:49:35 +01:00
  • 10f4d8df32 Override libtommath allocation procedures gingerBill 2021-07-14 23:36:23 +01:00
  • e15858e2be Remove random load balancing in thread_proc_body gingerBill 2021-07-14 22:53:02 +01:00
  • 6d8302825c Add Greed Work Stealing and Random Load Balancing for check_procedure_bodies gingerBill 2021-07-14 01:13:39 +01:00
  • fae8bf96dd Muilthread check_collect_entities_all gingerBill 2021-07-14 00:46:03 +01:00
  • bc59dc6389 Remove duplicate code gingerBill 2021-07-14 00:36:48 +01:00
  • bd8e2f82be Replace non-recursive mutexes with BlockingMutex; Minor improves to initialization improves gingerBill 2021-07-14 00:34:34 +01:00
  • 69027b6840 Remove dead mutexes gingerBill 2021-07-13 23:10:12 +01:00
  • 7a9b7af078 Reduce mutex usage and convert things to queues from arrays gingerBill 2021-07-13 23:09:24 +01:00
  • 31c7afce1b Minor code clean up to reuse the ProcInfo consumption code gingerBill 2021-07-13 21:19:13 +01:00
  • bab1873416 Require throughput pass results with -show-more-timings -show-debug-messages rather than just the former flag gingerBill 2021-07-13 18:39:11 +01:00
  • 5e2950e9fb Move asserts around gingerBill 2021-07-13 18:35:23 +01:00
  • 74c019f271 Correct lb_big_int_to_llvm gingerBill 2021-07-13 18:32:53 +01:00
  • a745bb8f42 Add extra message to assert gingerBill 2021-07-13 18:21:53 +01:00
  • da9870c77d Do manual byte swapping for endianness in lb_big_int_to_llvm gingerBill 2021-07-13 18:15:47 +01:00
  • 698eeaf7c3 Add (internal flag) -show-debug-messages gingerBill 2021-07-13 17:40:06 +01:00
  • bd954d9990 Minor code reorganization gingerBill 2021-07-13 17:28:39 +01:00
  • 4ded42a33b Split up cycle check and adding type info timings gingerBill 2021-07-13 17:24:20 +01:00
  • 1877965ac3 Short on -threaded-checker gingerBill 2021-07-13 17:04:08 +01:00
  • cec2309504 Big improvement to the -threaded-checker code, unifying the logic and simplify behaviour gingerBill 2021-07-13 16:58:40 +01:00
  • ed5a4afc8c Temporarily disable -threaded-checker; Restructure the untyped-expr-info system to be much more thread-friendly gingerBill 2021-07-13 15:54:56 +01:00
  • f29b51efdd Fix gb_shuffle gingerBill 2021-07-13 13:09:55 +01:00
  • 3930a32b0c enum Addressing_Mode : u8; gingerBill 2021-07-12 16:45:54 +01:00
  • 76707e1d2f Add sanity casts for 32/64 bit correctness gingerBill 2021-07-12 11:03:12 +01:00
  • ff2e5c3efe Simplify big_int_not for negative inputs gingerBill 2021-07-11 17:43:56 +01:00
  • 3600b2e209 Merge pull request #1057 from odin-lang/new-big-int-library-integration gingerBill 2021-07-11 17:20:57 +01:00
  • eb36a0f3b1 Remove dead file gingerBill 2021-07-11 16:35:04 +01:00
  • b397254696 Rename libtommath.c to libtommath.cpp gingerBill 2021-07-11 16:33:58 +01:00
  • 9a37d3b6e5 Add -Wno-unused-value gingerBill 2021-07-11 16:29:51 +01:00
  • 51c4a19234 Fix tab and space issue in Makefile gingerBill 2021-07-11 16:26:21 +01:00
  • a1a1668dcf Update build.bat and Makefile gingerBill 2021-07-11 16:23:25 +01:00
  • e308098f18 Add libtommath.c gingerBill 2021-07-11 16:19:20 +01:00
  • 63b572a0ab Clean up big int to LLVM integer code gingerBill 2021-07-11 16:18:30 +01:00
  • e90e7d4af9 Change mp_clear calls to big_int_dealloc gingerBill 2021-07-11 16:10:04 +01:00
  • 460e14e586 Change the compiler's big integer library to use libTomMath gingerBill 2021-07-11 16:08:16 +01:00
  • ebcabb8a27 Add sanity conversion check for integer to quaternion gingerBill 2021-07-11 00:51:56 +01:00
  • 257b749e9d Minimize mutex usage in update_expr_type gingerBill 2021-07-11 00:21:31 +01:00
  • d9e6ade030 Add experimental support for a threaded semantic checker to -threaded-checker gingerBill 2021-07-10 23:51:37 +01:00
  • 690374d4de Fix typo gingerBill 2021-07-10 23:07:42 +01:00
  • adb25d9d19 Convert constant tag to the correct type for LLVMAddCase gingerBill 2021-07-10 22:29:52 +01:00
  • 2949e4b0c7 Fix floattidf typo gingerBill 2021-07-10 22:23:22 +01:00
  • 6de0181c75 Minor improvements to Map and StringMap gingerBill 2021-07-10 21:51:39 +01:00
  • 8a6b743d2a Simplify thread_pool_wait_to_process gingerBill 2021-07-10 21:50:19 +01:00
  • ed8a6f872d Move things around for sanity checking for multithread preparation gingerBill 2021-07-10 21:29:49 +01:00
  • 0a61d4bf2b Use next_pow2_isize gingerBill 2021-07-10 19:57:54 +01:00
  • 332461c0d2 Add prototypes for next_pow2 gingerBill 2021-07-10 19:52:26 +01:00
  • d8abe7fc4d Implement MPMCQueue for procedure body checking gingerBill 2021-07-10 19:50:34 +01:00
  • ec9667ef5a Remove debug code gingerBill 2021-07-10 17:11:54 +01:00
  • 3bf14fa7ec Update CI and Makefile and build.bat llvm-12-support gingerBill 2021-07-10 16:30:54 +01:00
  • fa50995098 Upgrade to LLVM-12.0.1 gingerBill 2021-07-10 16:26:57 +01:00
  • 484d5df5df Merge branch 'master' into llvm-12-support gingerBill 2021-07-10 15:15:10 +01:00
  • 9f7154a039 Prepare for multithreading the semantic checker by giving mutexes to variables of contention gingerBill 2021-07-10 15:14:25 +01:00
  • 4a932616fc Improve CheckerContext usage gingerBill 2021-07-10 13:02:13 +01:00
  • 73fe36f19c Remove dead variable gingerBill 2021-07-10 11:59:41 +01:00
  • 4167ae95ae Fix #1050 gingerBill 2021-07-10 11:48:28 +01:00
  • 13c3c5be95 Fix #1028 gingerBill 2021-07-10 11:46:22 +01:00
  • 3afec0bcbe Fix #1054 gingerBill 2021-07-10 11:42:21 +01:00
  • 8b1bfc80fb Fix #1051 gingerBill 2021-07-10 11:27:38 +01:00
  • 3662275119 Allow x in ptr_to_map_or_bit_set gingerBill 2021-07-10 11:18:19 +01:00
  • 141573c18c Enable Damerau-Levenshtein gingerBill 2021-07-10 11:09:24 +01:00
  • e692efbe09 Improve update expr type semantics for ternary expressions gingerBill 2021-07-10 11:08:51 +01:00
  • f6c1a5bf6e Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-07-09 15:33:30 +01:00
  • 6afc28f827 Use builtin.min and builtin.max in package slice gingerBill 2021-07-09 15:33:25 +01:00
  • df6681ad4e Merge pull request #1055 from streof/fix-typos-container-package gingerBill 2021-07-09 13:27:03 +01:00
  • 114efbc57c Fix error: Cannot assign to a procedure parameter streof 2021-07-09 14:03:49 +02:00