Commit Graph

401 Commits

Author SHA1 Message Date
gingerBill
3d2279fba0 Support 128-bit integers i128 u128 2019-05-28 20:27:45 +01:00
gingerBill
222941727f Add ..< operator for ranges; Add extra checking for bit set assignments 2019-05-28 12:45:20 +01:00
gingerBill
16f3bc2c0b Allow comparisons with bit field values 2019-05-09 13:18:57 +01:00
gingerBill
71a733e3b5 Allow booleans to be assigned to a 1-bit bit field value 2019-05-09 13:04:15 +01:00
gingerBill
a66612e8ae Remove test code 2019-05-09 11:07:26 +01:00
gingerBill
ab0afa548b Fix ||= and &&= 2019-05-06 11:32:35 +01:00
gingerBill
a46a1f5f34 Minor change to bit_field assignment rules 2019-05-04 13:02:15 +01:00
gingerBill
56c4039e72 #load directive (request from #368) (Basic implementation) 2019-04-20 15:05:35 +01:00
gingerBill
564e85ee29 Modify ir_generate_array name logic slightly 2019-03-31 11:22:27 +01:00
gingerBill
9e6d488063 Modify slice_expr_error_* logic to change depending on which parameters are passed 2019-03-25 21:20:12 +00:00
gingerBill
4a15689776 Remove bounds checks for slice expressions with both indices empty 2019-03-25 21:00:45 +00:00
gingerBill
885c5dc8b7 Fix issue with deferred_* attributes 2019-03-15 16:39:49 +00:00
gingerBill
3d86fc2f2f Minor adjustments 2019-03-15 15:41:06 +00:00
gingerBill
712744ef36 Fix ir_copy_value_to_ptr usage in ir_emit_call #350 2019-03-14 23:41:48 +00:00
gingerBill
ad3b6ab718 Implicit Selector Expressions: .A 2019-03-06 16:19:47 +00:00
Jeroen van Rijn
b6d6eb6ae2 Fix #345: Panic when using enum as map key
Also add a little map demo.
2019-03-02 13:21:01 +01:00
Jeroen van Rijn
6faab8e47a Fix #345: panic when using enum as map key 2019-02-26 13:51:56 +01:00
gingerBill
a0c81c79ad Fix bugs: Array Literals with constant elements; IR printing of raw procedure types 2019-02-24 10:30:58 +00:00
gingerBill
a9ab90bd24 Make static an attribute rather than a keyword prefix 2019-02-23 22:17:27 +00:00
gingerBill
4c51384ad6 intrinsics.vector type (Experimental) 2019-02-23 16:44:16 +00:00
gingerBill
a07232ea63 Fix missing break in switch statement for deferred_in in the IR 2019-02-23 14:11:48 +00:00
gingerBill
dbd0638853 Fix untyped ternary string IR conversion 2019-02-14 11:11:05 +00:00
gingerBill
42f936742e Add extra dead code elimination 2019-02-10 21:23:02 +00:00
gingerBill
e2d4667639 Fix data layout issue on Windows; Remove unused loads in SSA 2019-02-10 20:51:19 +00:00
gingerBill
bc5c37ebb1 Extra checks to reduce mem.zero calls 2019-02-06 13:47:52 +00:00
gingerBill
a194aa5a9e Minimize mem.zero use 2019-02-06 13:33:31 +00:00
gingerBill
e452765d28 Patch minor IR bug 2019-01-28 12:13:37 +00:00
gingerBill
44b959648c Pass any and union "by pointer" to make the tag a pointer 2019-01-26 20:13:43 +00:00
gingerBill
19e37c852e Change deferred_* scoping behaviour for if 2019-01-13 20:51:26 +00:00
gingerBill
8fc24fd6f2 Replace deferred with deferred_none, deferred_in, deferred_out 2019-01-13 19:34:08 +00:00
gingerBill
5acea1bceb Source_Code_Location.hash; %#v printing for Source_Code_Location; allow typeid for map keys 2019-01-05 15:56:47 +00:00
gingerBill
9156af2bab Add missing types to minimum dependency checking 2019-01-05 11:15:23 +00:00
gingerBill
bb93a8b131 Fix TODO ParameterValue_Location 2019-01-04 10:19:39 +00:00
gingerBill
f647187e53 Fix defer on branching with new scoping rules 2019-01-01 11:59:09 +00:00
gingerBill
bbece7e910 Remove some unneeded zero emits 2018-12-31 13:00:55 +00:00
gingerBill
3ba3421f5f Fix static procedure name mangling 2018-12-29 19:57:25 +00:00
gingerBill
a240a3d146 static variable declarations (Experimental) 2018-12-28 13:31:06 +00:00
gingerBill
b504d6e12a notin operator 2018-12-21 11:34:15 +00:00
gingerBill
68384a452f Fix scoping determination for IR 2018-12-17 11:36:15 +00:00
gingerBill
95873e66ab deferred procedure attribute 2018-12-14 21:05:02 +00:00
gingerBill
b7eebe5d00 Fix polymorphic record types with constant value parameters 2018-12-14 18:36:06 +00:00
gingerBill
57d4333ed3 Fix polymorphic procedure generation with debug information 2018-12-14 15:45:14 +00:00
gingerBill
0b6fc19fb0 Allow polymorphic cast on fields with _ #302 2018-12-14 14:57:04 +00:00
gingerBill
f2dae7023f Fix polymorphic cast with pointers #303 2018-12-14 14:53:31 +00:00
gingerBill
f36775ffd8 Add endian specific integers to ir_debug_encoding_for_basic #307 2018-12-14 14:46:26 +00:00
gingerBill
d05837ab6d Labels for block and if statements (break only) 2018-12-08 14:12:52 +00:00
gingerBill
4369a1714e Fix automatic subtype casting bug 2018-12-08 13:31:25 +00:00
gingerBill
13f084a219 Fix foreign export #294 2018-12-08 11:45:08 +00:00
gingerBill
304c7594cd Ignore ir_emit_byte_swap for constant values 2018-12-02 20:59:08 +00:00
gingerBill
17b0e3a1a1 Fix bit sets with custom endian underlying type 2018-12-02 19:27:42 +00:00