Commit graph

441 commits

Author SHA1 Message Date
Folkert
f8ac85195b fix zig test 2021-10-03 14:18:48 +02:00
Folkert
0690633116 spec for List.reverse 2021-10-03 13:34:09 +02:00
Folkert
13d480d5f3 spec for list append 2021-10-03 13:27:47 +02:00
Folkert
486f1d540f add specifications for fromUtf8 and toUtf8 2021-10-03 13:22:03 +02:00
Folkert
018348bd83 make Str.fromUtf8 in-place 2021-10-03 12:13:17 +02:00
Folkert
dbb8acbe67 add in-place List.swap 2021-10-03 00:25:35 +02:00
Kofi Gumbs
b2343cb0ad Format zig 2021-09-29 21:54:14 -04:00
Kofi Gumbs
b32a42f05a Add Str.repeat builtin 2021-09-29 17:32:42 -04:00
Brendan Hansknecht
c334e4d3e5 Export zig builtin version of __muloti4 as weak so it doesn't conflict if it already exists 2021-09-24 08:54:41 -07:00
Folkert
c0cfd6ac16 make conversion a cast again 2021-09-12 14:28:44 +02:00
Richard Feldman
0dd1395331
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
2021-09-11 13:33:36 -04:00
Folkert
8015edccf8 use freestanding as wasm32 builtins target 2021-09-11 15:40:35 +02:00
Folkert
cd9b32ba65 fix list decref 2021-09-10 21:53:57 +02:00
Folkert
5e68d31afc expose decref_pointer_check_NULL 2021-09-10 20:42:25 +02:00
Folkert
c2165ec0a4 bundle wasi-libc.a 2021-09-10 10:13:16 +02:00
Folkert
1d17a21d1f higher alignment requirement on rocstr/roclist 2021-09-04 15:18:37 +02:00
Folkert
3adfbf3459 fix bug in realloc on 32-bit platforms 2021-09-04 13:46:30 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
cde8f5cbd4 optimize RC 2021-09-02 21:29:24 +02:00
Folkert
4e39543054 simplify/optimize decref logic 2021-09-01 23:07:56 +02:00
Folkert
7aac6b6750 cleanup 2021-09-01 22:52:39 +02:00
Folkert
d8d4522b16 cleanup 2021-09-01 20:27:48 +02:00
Folkert
5cb7dbd3cc use zig's decref instead of an LLVM implementation 2021-09-01 16:58:05 +02:00
Folkert
3ef4a40f45 hopefully get the logic right this time 2021-09-01 15:56:50 +02:00
Folkert
4731cbd391 trying to be even smarter 2021-08-31 22:40:13 +02:00
Folkert
a810c2c27b smarter alignment code 2021-08-31 22:37:32 +02:00
Folkert
106f1311d2 only conditionally flip a bit 2021-08-31 22:32:56 +02:00
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
rvcas
059aeaf1de fix: obj and ir files have new names 2021-08-29 10:47:53 -04:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Richard Feldman
bc5b8bfbba Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-25 23:05:53 -04:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
e99237e302 make Dict.empty C ABI safe 2021-08-25 20:48:58 +02:00
Folkert
e387403c19 make Dict.empty C ABI safe 2021-08-25 20:47:03 +02:00
Folkert
a4475b7544 make TestBase64 compile 2021-08-25 20:47:03 +02:00
Folkert
4be5780215 hash function returns u64! 2021-08-25 00:24:46 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
04fa8fee38 take self by reference 2021-08-24 20:24:21 +02:00
Folkert
ca5efdf1d9 fix alignment issue 2021-08-24 20:23:24 +02:00
Folkert
13df4ee656 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-24 17:02:05 +02:00
Folkert
40d86551ad build builtins with 32-bit pointers 2021-08-24 16:38:47 +02:00
Folkert
7d874e5c15 fix zig warning 2021-08-23 22:27:00 +02:00
Folkert
9037e57e14 fix zig usize/u64 issues 2021-08-23 21:45:12 +02:00
Folkert
9903e14cd3 update zig to compile on nightly 2021-08-23 21:41:13 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Joshua Hoeflich
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -05:00
Joshua Hoeflich
92da003fba Adds castToNat 2021-08-18 11:02:20 -05:00