Commit graph

1017 commits

Author SHA1 Message Date
Richard Feldman
72bdeb6e3c Avoid a clone 2020-06-25 00:41:33 -04:00
Richard Feldman
e0fc71526e Clean up some debugging info 2020-06-25 00:28:01 -04:00
Richard Feldman
72d865b753 Add a derive(Debug) 2020-06-25 00:15:02 -04:00
Richard Feldman
0550af17d2 Fix some empty list edge cases 2020-06-25 00:02:52 -04:00
Richard Feldman
2332650785 Add cfg(debug_assertions) where appropriate 2020-06-24 23:15:12 -04:00
Richard Feldman
c5fbb05ce9 Fix an error message 2020-06-24 23:15:03 -04:00
Richard Feldman
0f36255f83 Fix List.first types 2020-06-24 23:08:25 -04:00
Richard Feldman
14c31d55ee Fix List.set monomorphization 2020-06-23 23:42:12 -04:00
Richard Feldman
4fdb39ee71 Delete some unused helpers 2020-06-23 21:17:51 -04:00
Richard Feldman
f350c0ed52 Fix List.len monomorphization 2020-06-23 21:14:23 -04:00
Richard Feldman
1c98248b91 Ops for sqrt and round 2020-06-23 18:05:30 -04:00
Richard Feldman
9f8c48118f wip List.get 2020-06-22 23:30:11 -04:00
Richard Feldman
88990c8711 Move Int and Float modules into Num 2020-06-22 23:25:38 -04:00
Richard Feldman
d041355c1d Rename to_owned to into_owned 2020-06-21 22:30:16 -04:00
Richard Feldman
8d92920731 Re-add Float128 and Float16 2020-06-21 22:29:28 -04:00
Richard Feldman
b97c94c2da Fix infinite loop 2020-06-21 22:29:28 -04:00
Richard Feldman
5ec512a0e7 Drop dead code 2020-06-21 21:23:01 -04:00
Richard Feldman
41519fc5a9 Remove incorrect debug_assert 2020-06-21 21:22:57 -04:00
Richard Feldman
52dfb75dc0 Fix some Int8s that should have been Int1s 2020-06-21 16:52:22 -04:00
Richard Feldman
56c637e399 Fix some constraint gen 2020-06-21 16:48:44 -04:00
Richard Feldman
32b9b1ea60 Remove FLOAT_ADD and similar 2020-06-21 15:35:38 -04:00
Richard Feldman
ddf980e475 Use RunLowLevel over calling Bool.and 2020-06-21 15:25:03 -04:00
Richard Feldman
1f6afe1182 Default Num layout to Int 2020-06-21 15:21:03 -04:00
Richard Feldman
6ef74a2432 Add canonical builtins to test_mono 2020-06-21 15:14:04 -04:00
Richard Feldman
187f3f8dc5 Move some Num operations into LowLevel 2020-06-21 15:07:32 -04:00
Richard Feldman
7c98e2e9f8 Only immediately specialize anonymous closures 2020-06-21 15:07:20 -04:00
Richard Feldman
0d6d30e5df debug_assert for duplicate partial_procs 2020-06-21 14:20:10 -04:00
Richard Feldman
706c28b2bb Specialize in test_mono 2020-06-21 14:18:19 -04:00
Richard Feldman
461e166254 wip 2020-06-20 13:59:04 -04:00
Richard Feldman
dec5c3a062 Get low-level ops compiling 2020-06-19 20:07:04 -04:00
Richard Feldman
b75f061f4f Fix exhaustiveness errors 2020-06-19 13:30:14 -04:00
Richard Feldman
1b3b9ee1c4 Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-13 23:54:30 -04:00
Richard Feldman
269da82840 Make VarStore no longer use atomics 2020-06-13 21:59:01 -04:00
Richard Feldman
0a9989e75f wip 2020-06-06 23:41:12 -04:00
Richard Feldman
ac940a8b4b wip 2020-05-26 21:21:12 -04:00
Richard Feldman
60e583fb78 Improve debug stuff a bit 2020-05-26 21:19:47 -04:00
Richard Feldman
887ec9860a wip 2020-05-26 21:19:46 -04:00
Richard Feldman
42e3d35564 Use specialize_all 2020-05-26 21:18:25 -04:00
Richard Feldman
639c132ce0 wip 2020-05-26 21:18:25 -04:00
Richard Feldman
4295dec955 Fix load_builtin_aliases ordering 2020-05-26 00:04:59 -04:00
Richard Feldman
c386192e8b Reorganize when solving and constraint gen happen 2020-05-26 00:04:42 -04:00
Richard Feldman
b5e4066c49 clippy clop 2020-05-10 15:22:05 -04:00
Richard Feldman
33a5f36d7c Refactor out name arg from from_can 2020-05-10 15:13:18 -04:00
Richard Feldman
85ec1e0f72 Fix anonymous function code gen 2020-05-10 15:13:18 -04:00
Richard Feldman
bf11262e61 Move layout_id from mono to gen
This is because it's actually important that mono never use this.
It should only be used in gen, because it's only safe to use
synchronously, and it's important that mono be done in parallel.

Moving it to gen guarantees that mono will not use it, even accidentally!
2020-05-10 15:13:18 -04:00
Richard Feldman
bd6228de8b Prevent infinite looping in code gen 2020-05-10 15:13:18 -04:00
Richard Feldman
e26df0d8cb Drop unused ContentHash 2020-05-10 15:13:18 -04:00
Richard Feldman
6e05ba816f Have CallByName use Layout 2020-05-10 15:13:18 -04:00
Richard Feldman
8572879e0d Remove unused procs argument 2020-05-09 22:41:59 -04:00
Richard Feldman
c49abfe2de Add layout to CallByName 2020-05-09 22:41:59 -04:00