Commit Graph

1104 Commits

Author SHA1 Message Date
lachsinc
8a789e33b0 Remove llc/opt hack. XX.bc now contains useful debug info thanks to removal of optimization flags in debug builds. 2018-09-18 14:17:43 +10:00
lachsinc
2f86f8f8e0 Provide llvm ir with more debug info (for Visual Studio debugger support). 2018-09-18 10:50:56 +10:00
gingerBill
71d987bd2e Fix runtime proc names; Change calling convention of context parameter 2018-09-15 10:46:46 +01:00
gingerBill
637899467c Merge branch 'master' of https://github.com/odin-lang/Odin 2018-09-15 10:14:40 +01:00
gingerBill
5bdb424c6b context.allocator = a; Remove __ from runtime procs; improve division for complex numbers 2018-09-15 10:14:24 +01:00
Hasen Judy
14a4c28f8f fix macos thread_count value 2018-09-15 01:46:50 +09:00
gingerBill
f1e1814ff9 Syntactic sugar for anonymous enum within a bit set 2018-09-11 12:10:32 +01:00
gingerBill
b468cf141b Fix are_types_identical for bit_set 2018-09-11 11:14:46 +01:00
gingerBill
787ea1feba Fix polymorphic constant parameters for procedures 2018-09-11 11:09:42 +01:00
gingerBill
91477e9e69 Allow for optional ok for return 2018-09-11 10:55:30 +01:00
gingerBill
cfd0dfd2bf Remove assertion from constant parameter 2018-09-10 21:56:16 +01:00
gingerBill
46b1868185 Constant polymorphic names 2018-09-10 14:21:19 +01:00
gingerBill
4c4de1d6c4 Fix cloning of auto_cast Ast 2018-09-10 08:50:20 +01:00
gingerBill
4f3837f0e6 Procedure inlining on call site 2018-09-09 14:46:28 +01:00
gingerBill
76848e8807 Disallow inline for recursive procedures 2018-09-09 13:58:23 +01:00
gingerBill
12902821d6 Make diverging procedure types different from ones without a return type 2018-09-09 13:48:33 +01:00
gingerBill
3825eab989 Diverging procedures proc() -> ! (no return) 2018-09-08 12:16:03 +01:00
gingerBill
3cd6ae311d Parametric polymorphic union type 2018-09-08 12:02:25 +01:00
gingerBill
26cfc0257d Fix array_ordered_remove typo 2018-09-08 10:44:18 +01:00
Ginger Bill
1d31eabb6e Fix minor parsing issue for polymorphic identifiers 2018-09-04 13:47:24 +01:00
gingerBill
11f5236434 Add $T: typeid/[]$E; Deprecate T: type/[]$E
`type` as a keyword will soon be removed in favour of polymorphic names (identifiers) in procedures
2018-09-02 16:33:54 +01:00
gingerBill
220485a2d2 typeid as keyword (ready to implement polymorphic name parameters) 2018-09-02 15:56:36 +01:00
gingerBill
eb274cf316 Remove test code 2018-08-30 19:33:16 +01:00
gingerBill
aa542980ce Change memory layout of map to be 3 words smaller 2018-08-30 19:14:10 +01:00
gingerBill
12256beeb2 Prevent other parameters being the default value 2018-08-30 11:12:57 +01:00
gingerBill
6c18864291 Add default_assertion_failure_proc to the minimum dependency build 2018-08-29 21:15:11 +01:00
gingerBill
001837e6bb Temporary allocator for context 2018-08-29 19:55:55 +01:00
gingerBill
ae2af8315e Allow for default parameters that are non-constant entities, but not any non-constant expression 2018-08-28 20:03:27 +01:00
gingerBill
adbb3bb75f Add -lld flag for using "bin\lld-link.exe" on Windows 2018-08-28 19:28:34 +01:00
gingerBill
830c194da5 Allow enums for array lengths 2018-08-26 18:23:17 +01:00
gingerBill
1830c1e57c Allow bitwise operation on enums 2018-08-26 18:05:59 +01:00
gingerBill
e5735af6d6 Disable for in over cstring 2018-08-26 15:10:23 +01:00
gingerBill
a6b0ae71b2 Remove assert 2018-08-26 10:56:33 +01:00
gingerBill
3365baee8f runtime.Typeid_Bit_Field layout to store more information into the typeid 2018-08-25 12:11:48 +01:00
gingerBill
cc88dd0b71 Allow for variadic min max procs
Request #252
2018-08-25 11:12:52 +01:00
gingerBill
f050bfe872 Fix comparisons with union 2018-08-25 10:39:19 +01:00
gingerBill
ab71acc3a5 Disable abs for arrays #254 2018-08-25 10:27:44 +01:00
gingerBill
0a85d1af6b Improve error messages for using on fields 2018-08-24 22:28:00 +01:00
gingerBill
68adadb01a Allow using in structs on arrays with count <= 4 2018-08-24 22:12:30 +01:00
gingerBill
d56f458d11 Fix file scope #assert 2018-08-24 17:42:13 +01:00
gingerBill
a65eadee63 Fix for in enum iteration 2018-08-22 18:56:41 +01:00
gingerBill
16dfae62bc Allow casting to and from rawptr and cstring #249 2018-08-22 15:19:04 +01:00
gingerBill
fe680a8b1f Fix default return values #250 2018-08-22 15:17:29 +01:00
gingerBill
54fe9f3eb1 Improve min dep for min/max/abs/clamp 2018-08-21 21:43:38 +01:00
gingerBill
cbc6c2666b Improve proc group scoring algorithm 2018-08-21 14:11:18 +01:00
gingerBill
e3f0ab7c3d Parallelize parser on *nix 2018-08-19 10:58:57 +01:00
gingerBill
5643ea1ba2 Fix typo 2018-08-19 10:56:23 +01:00
gingerBill
3b6523fbd9 Fix gbMutex for *nix 2018-08-19 10:34:31 +01:00
gingerBill
ffc4f01470 All enums in array indices 2018-08-17 19:38:15 +01:00
gingerBill
1d0ac72e4a Disable non-comparison operations for enum (use bit_set for flags) 2018-08-17 15:24:44 +01:00