Commit Graph

  • 996c854071 Disable lb_const_hash for the time being gingerBill 2020-12-02 11:48:50 +00:00
  • a9c1811027 Fix typo gingerBill 2020-12-02 10:41:18 +00:00
  • 32b1537aa3 Fix xor for constant booleans gingerBill 2020-12-02 10:39:59 +00:00
  • 2d0c0a7a83 Fix typo gingerBill 2020-12-01 15:38:15 +00:00
  • 400816ebf7 Fix Pointer store in LLVM backend gingerBill 2020-12-01 00:40:54 +00:00
  • ef417017f0 Fix typo gingerBill 2020-11-30 19:46:41 +00:00
  • 7c1c9d22b4 Fix thread.run_with_poly_data* gingerBill 2020-11-30 19:44:43 +00:00
  • 5803fcc158 Revert function passes gingerBill 2020-11-29 20:41:01 +00:00
  • f4f2b8f5ad Add _internal field to context gingerBill 2020-11-29 18:42:13 +00:00
  • dd4f8e9747 Improve default pass manager for -llvm-api gingerBill 2020-11-29 18:32:49 +00:00
  • f06f33872c Make 16 simple hasher cases for small types gingerBill 2020-11-29 18:17:21 +00:00
  • 9e13416312 Simplify simple compare hasher code gingerBill 2020-11-29 17:58:54 +00:00
  • 5ab7ec5b16 Support any comparable type for map keys gingerBill 2020-11-29 16:37:19 +00:00
  • b922398a96 Sanity check for map key gingerBill 2020-11-29 16:13:16 +00:00
  • 57f5976ac1 Support map keys for simple compare types gingerBill 2020-11-29 16:12:21 +00:00
  • 7fbc081119 Improve const hash gingerBill 2020-11-29 16:03:21 +00:00
  • 1dfe0cdd1d Simplify hashing approach map gingerBill 2020-11-29 15:50:29 +00:00
  • 97c66c9c73 Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure gingerBill 2020-11-29 15:27:53 +00:00
  • 085972bb2c Minor clean up gingerBill 2020-11-29 14:31:42 +00:00
  • 39bed567b3 Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys gingerBill 2020-11-29 14:22:42 +00:00
  • 2e0fd34e59 Keep -vet happy gingerBill 2020-11-29 12:52:30 +00:00
  • 9959a069fc Simplify internals of map[K]V gingerBill 2020-11-29 12:48:33 +00:00
  • c77098a91c Fix for in enum type gingerBill 2020-11-26 10:19:45 +00:00
  • 89cceb910a Keep -vet happy gingerBill 2020-11-26 00:09:38 +00:00
  • f36c5de746 Fix typo gingerBill 2020-11-26 00:05:15 +00:00
  • ca10248740 Add __dynamic_map_fix_keys gingerBill 2020-11-25 23:50:25 +00:00
  • aa859c2187 Clean up and fix __dynamic_map_erase gingerBill 2020-11-25 22:36:34 +00:00
  • 8591655334 Clean up __dynamic_map_rehash behaviour gingerBill 2020-11-25 21:03:20 +00:00
  • 70f5d7a1c9 Enforce zeroing through memset to ensure padding is zeroed with llvm api gingerBill 2020-11-25 19:50:48 +00:00
  • 1acd5acd70 Remove unused variable gingerBill 2020-11-25 16:28:13 +00:00
  • dbaf4d24f6 Update package json for new map layout; Correct llvm-api includes for *nix gingerBill 2020-11-25 16:19:56 +00:00
  • 9c1c9693f2 Patch up gb.h gingerBill 2020-11-24 15:18:20 +00:00
  • 776c3f4e90 Prepare for M1 Mac gingerBill 2020-11-24 12:20:48 +00:00
  • a55568b0c4 Make hash internal key be uintptr rather than u64 to reduce entry size gingerBill 2020-11-23 19:14:36 +00:00
  • b08ec005b2 Keep -vet happy gingerBill 2020-11-23 18:33:49 +00:00
  • 91758656f6 Change internal layout of map[K]V gingerBill 2020-11-23 18:25:01 +00:00
  • 4762d2f2d1 map type internal reorganization gingerBill 2020-11-23 16:56:31 +00:00
  • 67bc35e882 Fix logic for comparisons of struct #raw_union types gingerBill 2020-11-23 16:19:26 +00:00
  • 4e370e6ed8 Add equal procedure field to runtime.Type_Info_Struct gingerBill 2020-11-23 15:53:49 +00:00
  • 0b30c3dc5a Add flags: Type_Info_Flags, to runtime.Type_Info gingerBill 2020-11-23 14:35:31 +00:00
  • 9e42cb1595 Add comparisons to structs where all fields are comparable == and != gingerBill 2020-11-23 12:20:04 +00:00
  • 4379917c7d Re-enable zeroext for i1 gingerBill 2020-11-22 21:52:39 +00:00
  • dc8e895d72 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-11-22 21:38:52 +00:00
  • a2461bdf6b Modify llvm_abi.cpp to work correctly for win64 abi of i128 types. (it's a pain) gingerBill 2020-11-22 21:38:45 +00:00
  • 5cc9ddd40b Update nightly.yml Mikkel Hjortshøj 2020-11-22 02:49:19 +01:00
  • acef96bde7 Merge pull request #787 from dbechrd/dbechrd-mixed-value-error-typo-fix gingerBill 2020-11-22 01:22:48 +00:00
  • e0c028329b Merge pull request #786 from dbechrd/dbechrd-kernel32-typo gingerBill 2020-11-22 01:22:18 +00:00
  • 740411f207 Minor change to unicode/letter.odin gingerBill 2020-11-21 23:14:07 +00:00
  • fa50c8d7d3 Add ODIN_TEST constant for checking if odin test is being run gingerBill 2020-11-21 11:40:15 +00:00
  • 2d878de84d Update check_expr.cpp Dan Bechard 2020-11-20 15:43:51 -08:00
  • 58f768cb4f Update kernel32.odin Dan Bechard 2020-11-20 15:39:08 -08:00
  • 260e28c0af Fix casting of untyped strings gingerBill 2020-11-20 16:30:34 +00:00
  • a14ea5b2b5 Add support for %s and %q for [dynamic]byte gingerBill 2020-11-20 16:25:11 +00:00
  • 63e4a2341f Support string literals for fixed arrays of runes; Add %q support for arrays/slices of bytes gingerBill 2020-11-20 16:24:23 +00:00
  • 6416a6f39c Allow string literals for [N]byte gingerBill 2020-11-20 16:01:59 +00:00
  • 87956676f5 Add %s support for arrays and slices of bytes gingerBill 2020-11-20 16:01:16 +00:00
  • 913eac13b1 Reorganize runtime code into separate files gingerBill 2020-11-19 00:08:23 +00:00
  • 3b7fd4711f Fix text/scanner.scan_string gingerBill 2020-11-18 23:48:01 +00:00
  • fef5172278 Add %q for runes in fmt gingerBill 2020-11-18 23:40:54 +00:00
  • a39921aa6a Add package text/scanner gingerBill 2020-11-18 23:33:16 +00:00
  • 9408eb9580 Update odin doc to support multiple package outputs by passing multiple paths; Replace -all with -short gingerBill 2020-11-18 23:22:27 +00:00
  • ef2f204c58 Improve system_exec_command_line_app functionality; Restrict test_* procedures to *_test.odin files gingerBill 2020-11-17 20:33:15 +00:00
  • 30765475c6 Fix up system_exec_command_line_app exit code code gingerBill 2020-11-17 18:59:48 +00:00
  • 2bd0fd932a Begin rudimentary work on implementing odin test tooling with *_test.odin files gingerBill 2020-11-17 18:50:30 +00:00
  • 11577db6a8 Minor fixes gingerBill 2020-11-17 16:36:33 +00:00
  • ede25a88f8 Ignore +build flags in packages comments with odin doc gingerBill 2020-11-17 16:01:33 +00:00
  • aa5cb7f6a9 Fix proc type printing gingerBill 2020-11-17 15:54:22 +00:00
  • d730c5b334 Improve file doc logic gingerBill 2020-11-17 15:48:18 +00:00
  • 34ca4e92eb Fix parser logic for first comment group line in a file gingerBill 2020-11-17 15:45:55 +00:00
  • 7442f4bab6 Fix typo gingerBill 2020-11-17 15:17:36 +00:00
  • 4f303603e7 Add more documentation for odin doc flags gingerBill 2020-11-17 15:15:26 +00:00
  • a0fbc56317 Improve flags for odin doc gingerBill 2020-11-17 15:13:38 +00:00
  • d90fc18bef Basic odin doc support gingerBill 2020-11-17 15:05:16 +00:00
  • 00192bb349 Improve flag handling to check for invalid uses gingerBill 2020-11-17 13:55:08 +00:00
  • edd9d5e50b Add -show-unused-with-location gingerBill 2020-11-17 13:02:10 +00:00
  • fea8c63ab3 Fix string_compare gingerBill 2020-11-17 12:19:28 +00:00
  • 6f71d1f2a9 Add -show-unused (Shows unused package declarations of all imported packages) gingerBill 2020-11-17 12:10:25 +00:00
  • ca4b0527e8 Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> when the parameter doesn't need to grow gingerBill 2020-11-16 15:18:25 +00:00
  • adf6c85fd3 Minimize Ast flags usage gingerBill 2020-11-16 01:42:30 +00:00
  • 939878df50 Improve logic for x->y() shorthand gingerBill 2020-11-15 23:54:18 +00:00
  • 5fafb17d81 Improve generate_entity_dependency_graph: Calculate edges for graph M - Part 2 gingerBill 2020-11-15 22:46:07 +00:00
  • 3a229397e4 Add next_pow2_isize for PtrSet gingerBill 2020-11-15 21:22:26 +00:00
  • db0bcbc4f4 Fix calling convention for new LLVM ABI, and changePtrSet index to be u32 rather than isize gingerBill 2020-11-15 21:19:08 +00:00
  • 0d6f5cec37 Implement custom temporary allocator using ring buffer gingerBill 2020-11-15 19:36:37 +00:00
  • 17ec3e72a6 Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a block gingerBill 2020-11-15 18:45:40 +00:00
  • 30d922b059 Make set_procedure_abi_types use the permanent_allocator gingerBill 2020-11-15 18:11:49 +00:00
  • 3c1c10a178 Begin clarifying allocation patterns by changing from heap_allocator to specific arenas gingerBill 2020-11-15 18:08:52 +00:00
  • 9f93042163 Improve lb_abi_to_odin_type gingerBill 2020-11-14 17:09:42 +00:00
  • a64ea342df Improve USE_NEW_LLVM_ABI_SYSTEM's System V ABI gingerBill 2020-11-12 23:40:13 +00:00
  • fa284f9a5a Fix import paths gingerBill 2020-11-12 14:20:33 +00:00
  • 78b6948ff2 Reorganize package strings gingerBill 2020-11-12 14:17:41 +00:00
  • a6c5c203ab Begin work on Sys V for new ABI system gingerBill 2020-11-12 01:21:09 +00:00
  • 70b8b3c7dd Update LLVM backend to begin work on a generic ABI system gingerBill 2020-11-12 00:43:49 +00:00
  • 6ee4f51670 Add new math procedure: inf_f32 inf_f64 nan_f32 nan_f64 gingerBill 2020-11-11 11:42:21 +00:00
  • e8da2ef65e Update package unicode gingerBill 2020-11-10 19:00:38 +00:00
  • 6c0fa24e5d Force dependency for @(export) entities gingerBill 2020-11-10 19:00:16 +00:00
  • 27d0660546 Merge pull request #779 from F0x1fy/master gingerBill 2020-11-10 17:47:02 +00:00
  • 0eba4b46b5 Made sure the entry point is not generated when -no-entry-point is specified. F0x1fy 2020-11-10 10:16:22 -07:00
  • 6b6f1a5283 For the sake of consistency, fixed the placement of the -no-entry-point flag check. F0x1fy 2020-11-10 09:56:16 -07:00
  • 3bed5fad77 Removed unnecessary newline from previous commit. F0x1fy 2020-11-10 09:55:00 -07:00