Commit graph

4206 commits

Author SHA1 Message Date
Folkert
565a962613 even more Layout::Closure 2021-06-19 16:01:03 +02:00
Folkert
84df503193 less Layout::Closure 2021-06-19 15:52:54 +02:00
Folkert
0a3cfd9a39 more raw function layout 2021-06-19 15:19:25 +02:00
Folkert
6a010c9513 rename TopLevelFunctionLayout -> ProcLayout 2021-06-19 15:07:40 +02:00
Folkert
718aa34b19 clippy 2021-06-19 15:04:28 +02:00
Folkert
f2f9897187 remove FunctionPointer completely 2021-06-19 15:04:28 +02:00
Folkert
c776d98686 remove another FunctionPointer 2021-06-19 15:04:27 +02:00
Folkert
dd341508e4 refactor 2021-06-19 15:04:27 +02:00
Folkert
53ce8b2d25 improve call_by_name with raw layout 2021-06-19 15:04:27 +02:00
Folkert
4a8ec50c0e more raw layout 2021-06-19 15:04:27 +02:00
Folkert
e0f5dc40cb WIP 2021-06-19 15:04:27 +02:00
Richard Feldman
449ec19b0f
Merge pull request #1420 from rtfeldman/layout-changes
Layout changes
2021-06-19 08:08:07 -04:00
Folkert
c6f5f58761 when refcount is isize, decrement is subtraction 2021-06-19 10:56:02 +02:00
Richard Feldman
423c7d4fca
Merge branch 'trunk' into layout-changes 2021-06-18 22:12:36 -04:00
Richard Feldman
6f22dc8abf
Merge branch 'trunk' into cli-host 2021-06-18 22:08:18 -04:00
Folkert
4256c22004 more toplevel 2021-06-18 22:25:31 +02:00
Folkert
fe81eabbfa remove full() function 2021-06-18 22:08:42 +02:00
Folkert
daa1374678 remove full_layout field 2021-06-18 21:58:50 +02:00
Jared Ramirez
711daee650 Fix variable names & clarify comments 2021-06-18 12:56:23 -07:00
Jared Ramirez
5868518758 Add basic Dec.roc docs 2021-06-18 12:50:44 -07:00
Jared Ramirez
88aa8318f1 Refactor RocDec.toStr 2021-06-18 12:50:15 -07:00
Richard Feldman
53ccef0506 nightly clippy
I was on nightly for benchmarks, and these all seem reasonable.
2021-06-18 15:21:11 -04:00
Folkert
a64f80dbe8 fix hash problem 2021-06-18 21:16:43 +02:00
Folkert
d894a06290 use toplevel more 2021-06-18 21:05:31 +02:00
Folkert
88f4b6bc9b remove more FunctionPointer 2021-06-18 21:00:27 +02:00
Folkert
94cbb103ef use toplevelfunctionlayout in refcount insertion 2021-06-18 20:46:15 +02:00
Richard Feldman
b7af34c8b1 Fix decref in utils.zig 2021-06-17 22:39:57 -04:00
Chadtech
dfbba2badd
Merge branch 'trunk' into document-only-exposed-values 2021-06-17 22:04:24 -04:00
Richard Feldman
b6f0a3f693
Merge pull request #1411 from rtfeldman/constrain_when
Constrain Expr2::When
2021-06-17 00:46:02 -04:00
Richard Feldman
94dd8a7253
Merge branch 'trunk' into dec-div 2021-06-16 23:54:00 -04:00
Richard Feldman
fe9a2c1fc2 Average zig benchmarks 2021-06-16 23:53:04 -04:00
Richard Feldman
11b43c1128 Make zig benchmarks more like the Rust ones 2021-06-16 23:22:04 -04:00
Richard Feldman
4d2699f598 Use -O ReleaseFast in zig benchmarks 2021-06-16 23:18:40 -04:00
Jared Ramirez
a25986fc3b Add super basic benchmarks 2021-06-16 15:00:05 -07:00
Folkert de Vries
0c10826612
Merge branch 'trunk' into morphic-type-checking 2021-06-16 23:38:46 +02:00
Jared Ramirez
49977ac803 Fix typo 2021-06-16 14:32:18 -07:00
Jared Ramirez
9903ccecf6 Add RocDec.div 2021-06-16 14:26:09 -07:00
Folkert
642271d730 clippy 2021-06-16 23:18:56 +02:00
Folkert
6d31f9e1da recursion info is not needed 2021-06-16 23:17:10 +02:00
Folkert
11ed2cbcf8 special-case rose tree field access 2021-06-16 23:16:14 +02:00
Folkert
a1231058da store is_recursive info for unwrapped tags 2021-06-16 23:09:58 +02:00
Folkert
5ba378551c deal with closure argument everywhere 2021-06-16 23:09:40 +02:00
Lucas
8200911ec2
Merge branch 'trunk' into constrain_when 2021-06-16 17:00:04 -04:00
Folkert
cc98237a0a closure_env_layout 2021-06-16 22:15:55 +02:00
Folkert
b54033a2f5 alias analysis fixes 2021-06-16 22:14:14 +02:00
Folkert
ee2a1d74ed fix usage of layout in Switch; always use outer layout 2021-06-16 22:05:30 +02:00
Jared Ramirez
dd2ac10ab9 Add RocDec.sub 2021-06-15 19:19:03 -07:00
rvcas
9716096999 test: cleanup some warnings 2021-06-15 19:34:15 -04:00
Folkert
9b9394b413 make list literal return bag and cell 2021-06-15 21:28:13 +02:00
Folkert
0e6e9847fc fix things in alias analysis 2021-06-14 23:36:27 +02:00