ayazhafiz
|
fba1c64c4b
|
Fix another quicksort bug
|
2022-01-10 23:41:08 -05:00 |
|
ayazhafiz
|
2c41c43aea
|
Implement saturated add/subtract
|
2022-01-10 22:37:08 -05:00 |
|
ayazhafiz
|
abe42781d5
|
Use unsigned LLVM intrinsic arithmetic for unsigned integers
Closes #2331
|
2022-01-10 19:20:51 -05:00 |
|
Brian Carroll
|
fc677e8d58
|
Wasm: add preloading logic for Types section
|
2022-01-10 10:26:43 +00:00 |
|
Brian Carroll
|
738434329e
|
Wasm: refactor the model of the Linking section
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
8cf82ae1b3
|
Wasm: Delete old output files before compiling new ones
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
5560ecb63e
|
Implement tail recursion for union refcounting procs
|
2022-01-06 22:43:02 +00:00 |
|
Brian Carroll
|
71a5013ed4
|
Add an HTML file for debugging wasm
|
2022-01-06 10:49:58 +00:00 |
|
Brian Carroll
|
8ebdc8ea7f
|
Tests for linked list tail recursion in helper procs
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
bfec255501
|
More refcount tests
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
854106972c
|
Nicer assertions in C test platform
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
d9cc3c5692
|
Modify refcount of contents *before* structure to prevent use-after-free
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
456bda0895
|
Prevent confusion between separate instances of RecursivePointer
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
5e642c880c
|
Mask out union tag ID from pointer when calculating refcount address
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
94dea1df9f
|
Add a refcount test for recursive unions
|
2022-01-05 12:24:04 +00:00 |
|
Brian Carroll
|
e0d0e1884d
|
Check number of allocations in refcount tests
|
2022-01-05 12:24:04 +00:00 |
|
Brian Carroll
|
5d7b4018b7
|
Generate refcounting helper procedures for tag unions
|
2022-01-05 12:24:04 +00:00 |
|
Richard Feldman
|
54eb9ef669
|
Merge pull request #2307 from rtfeldman/make-tag-recursive-loop
Make tag recursive loop
|
2022-01-03 21:44:50 -05:00 |
|
Lucas
|
ef4bb5e124
|
Merge pull request #2287 from rtfeldman/str_to_num
WASM StrToNum
|
2022-01-03 19:28:18 -05:00 |
|
Joshua Warner
|
9b24a4ed9b
|
Fix dev backend problem reporter
|
2022-01-02 09:41:41 -08:00 |
|
Joshua Warner
|
e1c0acb650
|
Fix region formatting test issues
|
2022-01-02 09:13:04 -08:00 |
|
Brian Carroll
|
a85fdda07a
|
Fix misalignment bug in wasm tests (copy/paste error)
|
2022-01-02 12:38:41 +00:00 |
|
Brian Carroll
|
aec8d1bf3d
|
Merge branch 'trunk' of github.com:rtfeldman/roc into str_to_num
|
2022-01-02 12:31:59 +00:00 |
|
Joshua Warner
|
82d2be0635
|
Introduce LineColumnRegion and force conversion
|
2022-01-01 18:20:05 -08:00 |
|
Brian Carroll
|
310de090a3
|
Wasm: Refcounting for struct fields
|
2022-01-01 11:32:53 +00:00 |
|
Brian Carroll
|
ff0c0766ad
|
Note on why refcount tests need result type
|
2021-12-31 23:53:51 +00:00 |
|
Brian Carroll
|
6fabeb345b
|
edit comment
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
4a6b79b686
|
Wasm tests: Skip linking step (and all filesystem access) when not needed
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
84661b7ae1
|
Rename BuildType -> TestType
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
01f293125a
|
Delete debug code that has been superseded
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
a2e58f8530
|
Split wasm test code into smaller well-named functions
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
d66d432716
|
Wasm tests: speed up 3x by only exporting refcount symbols when used
49s vs 2m10s
|
2021-12-31 21:23:15 +00:00 |
|
Folkert
|
2c97c840fc
|
walk the chain till we find a tag union to make recursive
|
2021-12-31 14:26:23 +01:00 |
|
Brian Carroll
|
f767014f30
|
Merge pull request #2301 from rtfeldman/wasm-refcount-list
Wasm refcounting for lists
|
2021-12-31 13:25:38 +00:00 |
|
ayazhafiz
|
f56754a539
|
Remove bad test
We shouldn't expect to generate code for tag destructures that are type
errors
|
2021-12-30 20:59:59 -06:00 |
|
Brian Carroll
|
101ac69de2
|
Disable refcounting test code when not in use
|
2021-12-30 20:00:25 +00:00 |
|
Folkert de Vries
|
aaa041cee5
|
Merge pull request #2295 from rtfeldman/wasm-refcount-tests
Create code gen tests for refcounting
|
2021-12-30 19:31:41 +01:00 |
|
Brian Carroll
|
c5663e3538
|
Generate IR helper proc for list refcounting
|
2021-12-30 17:15:31 +00:00 |
|
Brian Carroll
|
e612f51905
|
Tweak wasm test platform
|
2021-12-30 15:45:20 +00:00 |
|
Brian Carroll
|
eeb4b20390
|
Improve string refcounting tests
|
2021-12-30 09:09:07 +00:00 |
|
ayazhafiz
|
f52cca40b5
|
Dereference small (non recursive) tag unions before storing them elsewhere
Closes #2290
|
2021-12-29 17:55:21 -06:00 |
|
Brian Carroll
|
7aa3f77b3c
|
Handle freed values in refcount tests
|
2021-12-29 17:31:05 +00:00 |
|
Brian Carroll
|
4d2e4d454b
|
Create code gen tests for refcounting
|
2021-12-29 16:48:43 +00:00 |
|
rvcas
|
4298022a89
|
Merge branch 'trunk' into str_to_num
|
2021-12-27 19:11:55 -05:00 |
|
rvcas
|
cd42f034b5
|
feat(wasm): start StrToNum
|
2021-12-27 19:08:21 -05:00 |
|
Richard Feldman
|
554570a232
|
Merge pull request #2284 from rtfeldman/roc-std-result
add RocResult to roc_std rust crate
|
2021-12-27 17:43:22 -05:00 |
|
Folkert de Vries
|
249878cbd9
|
Merge pull request #2281 from rtfeldman/i/2149
(llvm) Generate code for tag unions less than 64 bits in size correctly
|
2021-12-27 22:38:08 +01:00 |
|
Folkert
|
007d777865
|
flesh out api for RocResult
|
2021-12-27 20:01:19 +01:00 |
|
Brian Carroll
|
409a32b192
|
Test for equality on very long linked lists
|
2021-12-27 18:08:43 +00:00 |
|
ayazhafiz
|
235d6a9e88
|
Fix gen_tags tests
|
2021-12-26 15:49:54 -06:00 |
|