Commit graph

289 commits

Author SHA1 Message Date
Folkert
cd1103df64 bumpalo allocator sadness; revert later 2021-05-02 01:09:16 +02:00
Folkert
2032ef9b52 refactor/optimize loop in ir codegen 2021-05-02 01:08:53 +02:00
Folkert
327d7b77b0 remove dead code 2021-05-01 00:47:23 +02:00
Folkert
a586626d7c more bump 2021-05-01 00:27:22 +02:00
Folkert
a2f144f4db bump set 2021-05-01 00:13:11 +02:00
Folkert
503d011c43 more bump 2021-05-01 00:04:56 +02:00
Folkert
58ba5c09fd bump-allocate procs 2021-04-30 23:52:08 +02:00
Folkert
efc004b19a use bumpmap in partialproc 2021-04-28 23:37:17 +02:00
Folkert
3290528d70 use bumpmap in record IR gen 2021-04-28 23:26:09 +02:00
Folkert
2d00dd528f use bumpmap in substitution 2021-04-28 23:23:40 +02:00
Folkert
a6fc267449 make bumpmap new functions using a trait 2021-04-28 23:16:02 +02:00
Folkert
2dab9c81d1 use invoke 2021-04-23 11:22:32 +02:00
Folkert
6633f8ca9f add ExpectTrue lowlevel 2021-04-23 10:16:30 +02:00
Folkert
01c5b0dd66 codegen expect to boolean not 2021-04-23 10:00:36 +02:00
Folkert
903583f1d4 implement basic type error reporting 2021-04-23 09:41:49 +02:00
Folkert
cdf5b89f9a using hashbrown + bumpalo in practice 2021-04-18 15:35:43 +02:00
Folkert
62da85cc06 remove ATTR_ATTR usage 2021-04-04 23:18:50 +02:00
Folkert
fa7dec2997 no more boolean algebra 2021-04-04 21:22:59 +02:00
Folkert
61b7be7838 remove pub fn 2021-04-01 21:45:50 +02:00
Lucas
15203e3584
Merge branch 'trunk' into applied_tag_functions 2021-03-30 11:34:24 -04:00
Folkert
5babeb9d5a remove runtime_errors field 2021-03-29 15:38:52 +02:00
rvcas
7628904019 feat(mono/ir): implement applied tag functions 2021-03-28 17:00:50 -04:00
rvcas
6e1f42f990 Merge branch 'trunk' into applied_tag_functions 2021-03-27 18:00:46 -04:00
rvcas
fe9e9af576 tests(test_gen): add tests for mono 2021-03-27 18:00:36 -04:00
Folkert
5a8eb2ab39 on specialize failure, call runtime error function 2021-03-27 19:55:59 +01:00
Folkert
3b458309c6 WIP emit runtime error functions on specialization failure 2021-03-26 21:57:50 +01:00
Folkert
89f5e0465e Revert "WIP emit runtime error functions on specialization failure"
This reverts commit 090a7063d5.
2021-03-25 16:57:01 +01:00
Folkert
090a7063d5 WIP emit runtime error functions on specialization failure 2021-03-25 16:56:47 +01:00
Folkert
dd8bdcb806 show platform header in error messages 2021-03-23 23:00:18 +01:00
Folkert
715ab9ff2e actually blow up on invalid pattern 2021-03-23 22:01:22 +01:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
6a34c08049 cleanup 2021-03-20 01:05:05 +01:00
Eric Henry
aa6d5b9e34 fix clippy linting errors 2021-03-12 20:48:34 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
Folkert
2faeda29f2 Err with void type 2021-03-06 23:07:03 +01:00
Folkert
ee5d68a6cc better debug reporting 2021-03-03 22:31:17 +01:00
Folkert
b4f86c449f try harder to find a list element type 2021-03-03 21:34:10 +01:00
Folkert
25827fc70e more debug info 2021-03-03 20:09:21 +01:00
Folkert
447df1f0f7 only reuse call-by-pointer wrapper if same layout 2021-03-02 23:02:41 +01:00
Folkert
84d036bd91 don't respecialize call by pointer wrappers 2021-03-02 20:23:22 +01:00
Folkert
7304154452 update comment 2021-02-24 21:36:16 +01:00
Folkert
6bd10ddc05 use imported module thunks for pointer calling 2021-02-24 16:23:35 +01:00
Folkert
a361148380 add imported_module_thunks 2021-02-24 16:09:47 +01:00
Folkert
c24d51e69d remove old function 2021-02-24 15:14:52 +01:00
Folkert
89bf22598e call by pointer wrappers need to call by pointer for closures 2021-02-21 14:41:08 +01:00
Folkert
ff20ab76ce put closure tests into one file 2021-02-19 21:29:33 +01:00
Folkert
9473a332db clippy 2021-02-19 19:22:05 +01:00
Folkert
c10c442473 add better debug info 2021-02-19 17:12:11 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00