1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00
Commit graph

1704 commits

Author SHA1 Message Date
Brian Fiete
c750ed076c Reduce BeefPerf calls 2022-05-06 12:03:39 -07:00
Brian Fiete
d623c21495 Compiler performance enhancements 2022-05-06 11:28:38 -07:00
Brian Fiete
3736281ff7 Minor optimizations 2022-05-04 12:51:45 -07:00
Brian Fiete
0c955e5c66 Fixed type population with Span params 2022-05-04 07:58:00 -07:00
Brian Fiete
0df06b9870 Moved Main method reification to PopulateReified 2022-05-04 07:25:31 -07:00
Brian Fiete
9972ff32ab Move mid-compile rebuild request into a work list 2022-05-04 06:40:26 -07:00
Brian Fiete
5271f5e2fd Improvements to emit markers on emits only in specialized types 2022-05-02 07:48:29 -07:00
Brian Fiete
a874bab0e4 ResolveGenericType arg fix 2022-04-30 09:20:32 -07:00
Brian Fiete
bfd062dd59 ResolveGenericType call fix 2022-04-30 08:53:24 -07:00
Brian Fiete
e9ef23e92f Fixed 'defined()' parsing in compat mode 2022-04-30 08:33:39 -07:00
Brian Fiete
717d6aa4cf Changed ResolveSelfType to not require a type instance 2022-04-30 08:10:57 -07:00
Brian Fiete
1bacf5eee2 Don't set mHasBeenInstantiated from comptime module 2022-04-30 07:34:47 -07:00
Brian Fiete
0208c74839 Do reifications forced by virtuals or interfaces for resolve-only 2022-04-30 07:34:14 -07:00
Brian Fiete
23b777c6f8 Fixed nested generic const value types 2022-04-29 08:19:24 -07:00
Brian Fiete
fdb4d7bbb5 Fixed "defer will immediately execute" warning in Compiler.Emit 2022-04-28 11:58:47 -07:00
Brian Fiete
7c11274e1e Fix for const expr in method generic arg 2022-04-28 11:52:58 -07:00
Brian Fiete
5f0fd070ad SetResultStringType type context fix 2022-04-28 11:28:33 -07:00
Brian Fiete
39cf43102e Bounds check fix 2022-04-28 11:21:01 -07:00
Brian Fiete
3bc57b174e Failover to unspecialized type name in GetGenericTypeInstances 2022-04-28 11:09:58 -07:00
Brian Fiete
0b020c2cb0 Sanitized deleted deps from mid-compile rebuild-deleted on-demand types 2022-04-27 14:41:50 -07:00
Brian Fiete
e852ba49bb Improved emit marker when specialized type has no emission 2022-04-27 08:00:21 -07:00
Brian Fiete
5083f5d64e Linux fix 2022-04-26 11:56:08 -07:00
Brian Fiete
f54980400e Fixed array alloca with non-aligned structs 2022-04-26 11:41:34 -07:00
Brian Fiete
259f50d612 Fixed autoprop backing field access 2022-04-26 07:36:33 -07:00
Brian Fiete
2bbe66cecc Circular dependency checking between generic constraints 2022-04-25 17:53:54 -07:00
Brian Fiete
e307448363 Fixed IR type population issue with phi from const structs 2022-04-25 15:03:12 -07:00
Brian Fiete
f7abec2283 Allow 'var' params indirectly specified (ie: from comptime) 2022-04-25 14:57:23 -07:00
Brian Fiete
100181b062 Fixed Go To Definition cases in generated code 2022-04-25 14:41:03 -07:00
Brian Fiete
4e5327e8b8 Allow user access of autoprop fields 2022-04-25 14:40:32 -07:00
Brian Fiete
7ddec857f6 Fixed Emit marker in generic types where unspecialized has no emission 2022-04-25 13:45:18 -07:00
Brian Fiete
5fd9552331 Multi-$ string interpolation 2022-04-19 17:49:28 -07:00
Brian Fiete
3ef627e3e2 No error on return type mismatch on NoReturn expression-bodied calls 2022-04-19 08:26:52 -07:00
Brian Fiete
2de490fd59 Lowering fix when lowered types are larger than source types 2022-04-19 07:48:03 -07:00
Brian Fiete
42e837301b Improved undef handling of unspecialized const generic arg 2022-04-18 11:04:45 -07:00
Brian Fiete
a30e539d29 Allow Compiler.Emit during lambda capture phase 2022-04-18 10:42:08 -07:00
Brian Fiete
1a93660416 Better handling of undef const expressions 2022-04-18 07:57:15 -07:00
Brian Fiete
071dfa8e09 Restrict const expression usage to generic arguments 2022-04-18 07:16:45 -07:00
Brian Fiete
2b9443744b Const generic arg fixes 2022-04-17 17:46:35 -07:00
Brian Fiete
b9a9a4bfac Improved emit embeds for method entry/exit 2022-04-17 12:44:31 -07:00
Brian Fiete
6a8bbd1240 Added GetGenericArgType to MethodInfo 2022-04-17 12:43:49 -07:00
Brian Fiete
7e59c7fb93 Added static search lookup for mixins 2022-04-17 10:34:42 -07:00
Brian Fiete
0de3a62e8b Fixed infinite emit refresh loop with non-deterministic emits 2022-04-17 09:56:52 -07:00
Brian Fiete
f3f2f4c6ec File-scoped namespaces 2022-04-17 08:40:25 -07:00
Brian Fiete
ea637c5684 mEmitSourceMap hash fix 2022-04-17 07:35:53 -07:00
Brian Fiete
9687e7dccc FieldDef null check 2022-04-17 06:34:34 -07:00
Brian Fiete
44ecb92315 Auto ctor fixes 2022-04-16 16:43:21 -07:00
Brian Fiete
87f3aa0335 Parse fix with misplaced custom attributes 2022-04-16 14:29:43 -07:00
Brian Fiete
69fbaf670d Fixed fallthrough inside 'if' or another break scope 2022-04-16 13:40:30 -07:00
Brian Fiete
229c7fbd12 More explicit alignments 2022-04-16 13:22:32 -07:00
Brian Fiete
17e9963d71 Add warning to always-true and always-false 'is' checks 2022-04-16 09:00:51 -07:00