Commit graph

968 commits

Author SHA1 Message Date
Folkert
79ea62b9d4 make uniqueness change codegen 2020-08-10 21:13:57 +02:00
Folkert
65db338435 add test for quicksort example 2020-08-10 16:10:07 +02:00
Folkert
8f7d842d41 apply optimization passes 2020-08-10 13:34:28 +02:00
Folkert
4caef70668 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-09 13:49:13 +02:00
Richard Feldman
3fe2a4e3fd Drop unused jump_counter 2020-08-08 19:53:21 -04:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Richard Feldman
62fdae8b45 Don't send separate start_time arg 2020-08-03 23:16:46 -04:00
Richard Feldman
7f1e666ad3 Add some basic timings 2020-08-03 22:46:14 -04:00
Richard Feldman
9e0cf4cd35 Restore CLI 2020-08-02 22:04:31 -04:00
Folkert
5548bf136d conditionally leak memory 2020-08-01 21:37:54 +02:00
Richard Feldman
1c49e116b3 wip 2020-07-30 00:59:03 -04:00
Richard Feldman
13c589af7d Remove an unnecessary transmute 2020-07-27 01:10:04 -04:00
Richard Feldman
eaaeda728a Use synchronous file I/O over mmap 2020-07-27 01:10:04 -04:00
Richard Feldman
e1fdabd5ef Fix problem with CLI paths 2020-07-22 19:34:14 -04:00
Richard Feldman
d6c54645ce cargo fmt 2020-07-22 19:33:36 -04:00
Richard Feldman
2465c204e3 Restore CLI 2020-07-22 19:33:36 -04:00
Richard Feldman
b5ad6e17b4 Don't print subs on error
It's way too verbose and unhelpful!
2020-07-06 21:23:59 -04:00
Richard Feldman
e559deecbf Improve LLVM verification error messages 2020-07-05 22:24:04 -04:00
Richard Feldman
9d31c667fa Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-18 21:02:50 -04:00
Richard Feldman
b638970c84 Make repl Windows-friendly 2020-06-18 00:24:27 -04:00
Richard Feldman
68f64835f0 Add target triple for Windows 2020-06-16 23:04:00 -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
245a9fc951 Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-13 21:03:38 -04:00
Richard Feldman
99dcda8603 Use inlinable_string 0.1 2020-05-31 20:14:19 -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
df7d017287 cargo fmt 2020-05-10 15:15:09 -04:00
Richard Feldman
64fd0ceed9 Address some unused warnings via TODOs 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
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
Richard Feldman
510ab36f51 Use LayoutCache to avoid recomputing layouts 2020-05-09 22:11:32 -04:00
Richard Feldman
6a79a75648 Don't regenerate anonymous function symbols 2020-05-09 12:56:55 -04:00
Richard Feldman
d7ee713bc5 Have the editor theoretically take filepaths 2020-05-04 21:41:45 -04:00
Richard Feldman
7e7c6ef4af Drop obsolete symbol_counter field 2020-05-04 20:32:21 -04:00
Richard Feldman
b0e2134121 Launch editor when given no CLI args 2020-05-03 22:04:28 -04:00
Richard Feldman
ce9e7a91f6 Clean up some Cargo.toml files 2020-05-03 21:37:59 -04:00
Richard Feldman
13dd937a71 Revert "Attempt to add builtin_defs to CLI"
This reverts commit 2679077de9.
2020-05-01 22:00:06 -04:00
Richard Feldman
2679077de9 Attempt to add builtin_defs to CLI 2020-05-01 21:59:38 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Richard Feldman
095844c2c1 Use iterator chaining over hash insertion 2020-05-01 19:40:59 -04:00
Richard Feldman
ee31eac0c5 Code gen toplevel module functions 2020-05-01 19:30:55 -04:00
Richard Feldman
1a2367c8aa appease clippy 2020-05-01 19:30:55 -04:00
Richard Feldman
5c31369072 Code gen thunks for top-level module decls 2020-05-01 19:30:55 -04:00