Folkert
|
c68689a52b
|
drop closure argument if the function does not use it
|
2021-09-17 22:43:09 +02:00 |
|
Brian Carroll
|
4f55b7a56e
|
Allocate and free stack frames
|
2021-09-17 21:17:05 +01:00 |
|
Folkert
|
02ffcc2096
|
Merge remote-tracking branch 'origin/trunk' into mix-function-closure
|
2021-09-17 20:45:15 +02:00 |
|
Brian Carroll
|
036503c750
|
copy returned structs to caller stack
|
2021-09-17 19:42:29 +01:00 |
|
Brendan Hansknecht
|
66a7a3aa07
|
Make clippy happy again
|
2021-09-16 22:34:55 -07:00 |
|
Brendan Hansknecht
|
8a30b4803a
|
Merge branch 'trunk' into integrate-linker
|
2021-09-16 16:27:50 -07:00 |
|
Folkert
|
8f7eab4f05
|
in tests, make gen_dev generate the same name as LLVM backend
|
2021-09-16 22:22:07 +02:00 |
|
Folkert
|
539d90b62e
|
make gen tests expose mainForHost like LLVM backend
|
2021-09-16 21:41:23 +02:00 |
|
Folkert
|
2de9856576
|
add fibonacci example
|
2021-09-15 23:34:27 +02:00 |
|
Folkert
|
e97df90bda
|
don't wrap in LambdaSet
|
2021-09-15 23:26:13 +02:00 |
|
Folkert
|
03d0fa524c
|
add test
|
2021-09-15 23:25:08 +02:00 |
|
Brendan Hansknecht
|
b1e02315d0
|
Strip debug info from zig
|
2021-09-15 12:28:19 -07:00 |
|
Folkert
|
15fd312b6f
|
hook up wasm and assembly dev backends
|
2021-09-15 20:53:00 +02:00 |
|
Brendan Hansknecht
|
da28b669bb
|
Get zig host working
|
2021-09-15 11:45:44 -07:00 |
|
Folkert
|
c221225ed9
|
refactor
|
2021-09-15 20:05:57 +02:00 |
|
Folkert
|
7fe652ab19
|
add Development optimization option
|
2021-09-15 20:05:39 +02:00 |
|
Brian Carroll
|
3d18d34135
|
Insert extra argument when returning on stack
|
2021-09-15 18:45:20 +02:00 |
|
Brendan Hansknecht
|
e96291e9a7
|
Enable rebuilding hosts into a dynamic executable
|
2021-09-14 21:59:15 -07:00 |
|
Brendan Hansknecht
|
7297e969bd
|
Fix cargo debug build
|
2021-09-14 17:30:26 -07:00 |
|
Brendan Hansknecht
|
0ef9498a69
|
Rebuild hosts in a separate thread and only optimize when specified
|
2021-09-14 14:46:03 -07:00 |
|
Folkert
|
58ee7f0bfc
|
fix argument order bug for mapWithIndex
|
2021-09-14 22:20:35 +02:00 |
|
Folkert
|
bd7ce52e26
|
only unwrap lambda set at the last moment
|
2021-09-14 22:20:14 +02:00 |
|
Brian Carroll
|
2be2e09ffd
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_stack_memory
|
2021-09-14 14:57:17 +02:00 |
|
Folkert
|
de959d3ad3
|
recurse on lambda set in wasm backend
|
2021-09-14 13:30:19 +02:00 |
|
Brian Carroll
|
866d9f47a0
|
Move WasmLayout to its own module
|
2021-09-14 08:31:32 +02:00 |
|
Brian Carroll
|
258513a57c
|
reset join/jump data
|
2021-09-14 08:18:33 +02:00 |
|
Brian Carroll
|
672aa14f7c
|
Cosmetic: reorganise WasmLayout match statment
|
2021-09-14 08:00:00 +02:00 |
|
Richard Feldman
|
d6057eafb4
|
clippy
|
2021-09-13 20:06:38 -04:00 |
|
Richard Feldman
|
b16faae0a2
|
Fix gen_wasm exhaustiveness error
|
2021-09-13 20:02:34 -04:00 |
|
Richard Feldman
|
2cf551a634
|
Extract program::report_problems
|
2021-09-13 19:51:38 -04:00 |
|
Richard Feldman
|
f619932255
|
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
|
2021-09-13 19:50:50 -04:00 |
|
Folkert
|
52d36cbe72
|
fix closure weirdness (skipping or infinite looping)
|
2021-09-13 22:50:48 +02:00 |
|
Brian Carroll
|
cfef0f0f47
|
Add clarifying comments based on PR feedback
|
2021-09-13 22:42:04 +02:00 |
|
Brian Carroll
|
c47c3ccf58
|
Clippy fix
|
2021-09-13 17:30:13 +02:00 |
|
Brian Carroll
|
408c31ebcc
|
Tests for different bitwidth integers
|
2021-09-13 17:01:06 +02:00 |
|
Brian Carroll
|
8407e8ad4c
|
Merge branch 'trunk' of github.com:rtfeldman/roc into gen_wasm_test_wrapper
|
2021-09-12 23:33:01 +02:00 |
|
Brian Carroll
|
df73a4d80e
|
rename wasm test modules
|
2021-09-12 23:24:04 +02:00 |
|
Brian Carroll
|
35c5b6bc4e
|
Tests passing with generic native/wasm interface
|
2021-09-12 23:23:43 +02:00 |
|
Richard Feldman
|
c80534d03b
|
Merge pull request #1694 from rtfeldman/wasm-layout-fix
Wasm layout fix
|
2021-09-12 11:56:26 -04:00 |
|
Folkert
|
350891468a
|
add LambdaSet layout variant
|
2021-09-12 17:00:09 +02:00 |
|
Folkert
|
c0cfd6ac16
|
make conversion a cast again
|
2021-09-12 14:28:44 +02:00 |
|
Folkert
|
0b893eb972
|
remove alignment bump again
|
2021-09-12 14:01:41 +02:00 |
|
Brendan Hansknecht
|
1d23f4c0d2
|
Merge branch 'trunk' into linker
|
2021-09-11 22:55:07 -07:00 |
|
Richard Feldman
|
fc1be5d90b
|
Fix total_problems calculation
|
2021-09-11 16:34:30 -04:00 |
|
Richard Feldman
|
0dd1395331
|
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
|
2021-09-11 13:33:36 -04:00 |
|
Richard Feldman
|
2ccb4f768a
|
Merge pull request #1685 from rtfeldman/quicksort-wasm
Platform fixes for Wasm
|
2021-09-11 13:32:03 -04:00 |
|
Brian Carroll
|
8b73b98622
|
Code gen full test wrapper from body
|
2021-09-11 16:56:00 +01:00 |
|
Brian Carroll
|
086f13ef5a
|
Rename test code gen menthod to build_wrapper_body
|
2021-09-11 16:55:20 +01:00 |
|
Folkert
|
8015edccf8
|
use freestanding as wasm32 builtins target
|
2021-09-11 15:40:35 +02:00 |
|
Folkert
|
820750ca26
|
Merge remote-tracking branch 'origin/trunk' into refcounting-cleanup
|
2021-09-11 15:12:59 +02:00 |
|