Commit Graph

2976 Commits

Author SHA1 Message Date
gingerBill
c4172e3914 Rename stream field names 2020-12-02 23:17:21 +00:00
gingerBill
8e08ae47fb Add strings.Reader 2020-12-02 23:12:43 +00:00
gingerBill
d9343ae997 Add package io 2020-12-02 23:12:14 +00:00
gingerBill
4d30b88927 Fix typos 2020-12-02 23:11:46 +00:00
gingerBill
7389ffba6d Fix -llvm-api const initialization of &T{} 2020-12-02 21:07:15 +00:00
gingerBill
a6301ab58a Add type_assertion_check2 2020-12-02 11:50:57 +00:00
gingerBill
996c854071 Disable lb_const_hash for the time being 2020-12-02 11:48:50 +00:00
gingerBill
a9c1811027 Fix typo 2020-12-02 10:41:18 +00:00
gingerBill
32b1537aa3 Fix xor for constant booleans 2020-12-02 10:39:59 +00:00
gingerBill
2d0c0a7a83 Fix typo 2020-12-01 15:38:15 +00:00
gingerBill
400816ebf7 Fix Pointer store in LLVM backend 2020-12-01 00:40:54 +00:00
gingerBill
ef417017f0 Fix typo 2020-11-30 19:46:41 +00:00
gingerBill
7c1c9d22b4 Fix thread.run_with_poly_data* 2020-11-30 19:44:43 +00:00
gingerBill
5803fcc158 Revert function passes 2020-11-29 20:41:01 +00:00
gingerBill
f4f2b8f5ad Add _internal field to context 2020-11-29 18:42:13 +00:00
gingerBill
dd4f8e9747 Improve default pass manager for -llvm-api 2020-11-29 18:32:49 +00:00
gingerBill
f06f33872c Make 16 simple hasher cases for small types 2020-11-29 18:17:21 +00:00
gingerBill
9e13416312 Simplify simple compare hasher code 2020-11-29 17:58:54 +00:00
gingerBill
5ab7ec5b16 Support any comparable type for map keys 2020-11-29 16:37:19 +00:00
gingerBill
b922398a96 Sanity check for map key 2020-11-29 16:13:16 +00:00
gingerBill
57f5976ac1 Support map keys for simple compare types 2020-11-29 16:12:21 +00:00
gingerBill
7fbc081119 Improve const hash 2020-11-29 16:03:21 +00:00
gingerBill
1dfe0cdd1d Simplify hashing approach map 2020-11-29 15:50:29 +00:00
gingerBill
97c66c9c73 Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure 2020-11-29 15:27:53 +00:00
gingerBill
085972bb2c Minor clean up 2020-11-29 14:31:42 +00:00
gingerBill
39bed567b3 Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys 2020-11-29 14:22:42 +00:00
gingerBill
2e0fd34e59 Keep -vet happy 2020-11-29 12:52:30 +00:00
gingerBill
9959a069fc Simplify internals of map[K]V 2020-11-29 12:48:33 +00:00
gingerBill
c77098a91c Fix for in enum type 2020-11-26 10:19:45 +00:00
gingerBill
89cceb910a Keep -vet happy 2020-11-26 00:09:38 +00:00
gingerBill
f36c5de746 Fix typo 2020-11-26 00:05:15 +00:00
gingerBill
ca10248740 Add __dynamic_map_fix_keys 2020-11-25 23:50:25 +00:00
gingerBill
aa859c2187 Clean up and fix __dynamic_map_erase 2020-11-25 22:36:34 +00:00
gingerBill
8591655334 Clean up __dynamic_map_rehash behaviour 2020-11-25 21:03:20 +00:00
gingerBill
70f5d7a1c9 Enforce zeroing through memset to ensure padding is zeroed with llvm api 2020-11-25 19:50:48 +00:00
gingerBill
1acd5acd70 Remove unused variable 2020-11-25 16:28:13 +00:00
gingerBill
dbaf4d24f6 Update package json for new map layout; Correct llvm-api includes for *nix 2020-11-25 16:19:56 +00:00
gingerBill
9c1c9693f2 Patch up gb.h 2020-11-24 15:18:20 +00:00
gingerBill
776c3f4e90 Prepare for M1 Mac 2020-11-24 12:20:48 +00:00
gingerBill
a55568b0c4 Make hash internal key be uintptr rather than u64 to reduce entry size 2020-11-23 19:14:36 +00:00
gingerBill
b08ec005b2 Keep -vet happy 2020-11-23 18:33:49 +00:00
gingerBill
91758656f6 Change internal layout of map[K]V 2020-11-23 18:25:01 +00:00
gingerBill
4762d2f2d1 map type internal reorganization 2020-11-23 16:56:31 +00:00
gingerBill
67bc35e882 Fix logic for comparisons of struct #raw_union types 2020-11-23 16:19:26 +00:00
gingerBill
4e370e6ed8 Add equal procedure field to runtime.Type_Info_Struct 2020-11-23 15:53:49 +00:00
gingerBill
0b30c3dc5a Add flags: Type_Info_Flags, to runtime.Type_Info 2020-11-23 14:35:31 +00:00
gingerBill
9e42cb1595 Add comparisons to structs where all fields are comparable == and != 2020-11-23 12:20:04 +00:00
gingerBill
4379917c7d Re-enable zeroext for i1 2020-11-22 21:52:39 +00:00
gingerBill
dc8e895d72 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-11-22 21:38:52 +00:00
gingerBill
a2461bdf6b Modify llvm_abi.cpp to work correctly for win64 abi of i128 types. (it's a pain) 2020-11-22 21:38:45 +00:00