Commit Graph

187 Commits

Author SHA1 Message Date
gingerBill
028d628e9f Add extra zero init for IR 2018-01-31 18:27:08 +00:00
gingerBill
8c360b2a3c Reduce type info data size in IR 2018-01-28 15:43:58 +00:00
gingerBill
b66e7bed45 Improve min-dep for Type Info 2018-01-28 15:37:15 +00:00
gingerBill
e919482aa8 Add ir_emit_store_union_variant to reduce alloca use 2018-01-28 15:09:07 +00:00
gingerBill
dce45e7d58 Add ODIN_DEBUG 2018-01-28 14:42:22 +00:00
gingerBill
1a0877e965 Fix minimum dependency generation for foreign entities 2018-01-28 14:39:18 +00:00
gingerBill
2c0b08145f Fix nested defer blocks 2018-01-21 19:26:55 +00:00
gingerBill
aa9c9eda9e Fix boolean casting 2018-01-21 18:41:21 +00:00
gingerBill
2e28c9d793 Cache type size/align; Improve speed of ir_print.cpp 2018-01-20 15:12:44 +00:00
gingerBill
2fe660a1d7 Fix empty union IR bug 2018-01-19 17:11:28 +00:00
gingerBill
386f5f596d Change to HeapAlloc et al on Windows 2018-01-18 13:11:51 +00:00
gingerBill
add53228b2 -no-bounds-check 2018-01-18 12:22:27 +00:00
gingerBill
d90008cc52 Add basic debug information needed for stepping over code 2018-01-18 12:12:18 +00:00
gingerBill
876af6fb02 Modify boolean conversion in IR 2018-01-17 19:27:13 +00:00
gingerBill
419ab6f00c Named return value act as variables; Code reorganization 2018-01-17 19:07:38 +00:00
gingerBill
5558b55e9f Fix ir_emit_store for booleans 2018-01-17 14:06:06 +00:00
gingerBill
9428d86f2b Specific sized booleans: b8, b16, b32, b64 2018-01-17 14:00:49 +00:00
gingerBill
6b3c4cc379 Remove u128 and i128 2018-01-13 22:26:37 +00:00
gingerBill
82057f08ce Fix issue #172 2018-01-10 21:13:20 +00:00
gingerBill
f3ea109e6f Fix min/max for floats 2018-01-01 11:41:32 +00:00
gingerBill
125bad3154 Fix 'llvm bool' emit store 2017-12-23 09:46:28 +00:00
gingerBill
30c83d6c81 Fix map internals 2017-12-23 09:30:40 +00:00
gingerBill
860a5c3e86 "Fix" LLVM boolean bug (more like a bodge) 2017-12-22 18:14:35 +00:00
gingerBill
ac277a1cce Revert map to be a value type and not a reference type
(Implement code for "const ref" parameters)
2017-12-21 20:59:23 +00:00
gingerBill
a17310a83c Fix len, cap, comparison against nil for map 2017-12-18 20:43:02 +00:00
gingerBill
a69ea58388 map is internally backed by a pointer (i.e. a "reference type") 2017-12-17 19:25:35 +00:00
gingerBill
30530d058c Remove struct #ordered 2017-12-17 14:53:40 +00:00
gingerBill
367013f589 Change Map and PtrSet grow rate 2017-12-12 23:39:20 +00:00
gingerBill
c980a30bad Merge branch 'checker-optimizations' into explicit-overloading
# Conflicts:
#	examples/demo.odin
2017-12-12 21:22:46 +00:00
gingerBill
78b459590c Print nil for nil procedures in fmt.odin 2017-12-12 21:21:55 +00:00
gingerBill
054e241033 Localize checker data 2017-12-12 20:23:36 +00:00
gingerBill
f7e9649be4 Disable struct field reordering (for the time being) 2017-12-12 18:21:40 +00:00
gingerBill
3aea08df78 Change how abs, min, max, and clamp are implemented for floats 2017-12-11 11:06:43 +00:00
gingerBill
3c6f90e552 Fix proc groups from import names 2017-12-10 11:35:11 +00:00
gingerBill
3703ca4df4 Explicit procedure group; Remove implicit procedure overloading 2017-12-09 18:11:36 +00:00
Aleksander Birkeland
265c05927f Added skip for Entity_ProcedureGrouping 2017-12-04 16:05:42 +01:00
gingerBill
97760c3fa4 Fix union_tag_size; Fix constant array of array literal printing with scalar contents 2017-12-03 20:49:19 +00:00
gingerBill
d75291097e &x.(type) 2017-11-30 23:09:21 +00:00
gingerBill
1a75dfe075 Remove vector type (will be replaced by something else in the future) 2017-11-30 20:34:42 +00:00
gingerBill
e00d88d82e Fix issue #157 2017-11-30 19:53:40 +00:00
gingerBill
04cce1826b Fix map IR bug 2017-11-28 23:46:01 +00:00
gingerBill
cc28cda053 Fix issue #156 2017-11-28 22:49:34 +00:00
gingerBill
cfabc0e61f Remove using in arrays; Remove _ non-exported struct fields
Start determining slow parts of the compiler
2017-11-28 22:12:33 +00:00
gingerBill
91b534d128 Fix transmute 2017-11-27 23:00:23 +00:00
gingerBill
65945dac09 Fix comparison against nil for slices 2017-11-26 22:49:31 +00:00
gingerBill
1608da2dc8 for key, val in some_map {}; for val, idx in some_array {} 2017-11-26 18:56:47 +00:00
gingerBill
74fa7ca25d New slice memory layout (ptr+len); byte 2017-11-26 18:36:46 +00:00
gingerBill
5a9223afda nil_allocator; Fix IR type checking assert; append_string 2017-11-26 15:25:45 +00:00
Nakst
b0d3fbba47 essence cross compile 2017-11-26 11:03:11 +00:00
gingerBill
976415ff9d Fix key lookup of pointer to map 2017-11-21 22:32:41 +00:00