31 Commits

Author SHA1 Message Date
dcode
586ca8b580 backport tlsf fixes, add asrt allocator test 2019-04-15 12:41:29 +02:00
dcode
8b5c629cde reduce tlsf footprint 2019-04-11 02:29:25 +02:00
dcode
27f1905510 runtime integration and flag 2019-03-31 21:58:42 +02:00
dcode
e36722f2e6 unify mem/ref interface 2019-03-27 17:21:52 +01:00
dcode
f44dbf2646 quick pure gc prototype 2019-03-20 18:36:58 +01:00
dcode
d3ca06b7ce inline single-use implementations 2019-03-14 12:52:46 +01:00
dcode
84ddd97761 if that's what's necessary 2019-03-14 06:09:49 +01:00
dcode
a5e14a0eaa srsly 2019-03-14 05:11:03 +01:00
dcode
6163a73ab5 take a step back 2019-03-14 04:33:58 +01:00
dcode
707f2dae9a more 2019-03-13 03:47:35 +01:00
dcode
cb77760562 unsafe, stub 2019-03-10 21:38:15 +01:00
dcodeIO
631478c7c9 Rework static memory segment creation; Fix stdlib gc hooks not marking own fields; Align everything to 8 bytes that might be touched by GC 2018-08-04 00:36:59 +02:00
dcodeIO
fafaf423b4 Make an interface around gc.* fwiw 2018-07-19 16:15:56 +02:00
dcodeIO
a1b75b69b7 Rename memory instructions; Rework constant handling 2018-07-18 23:49:32 +02:00
dcodeIO
9c16363796 Initial external decorator for annotating explicit import names; Use file name as default module name in imports; Emit empty memory if there are no static segments; Update TLSF and examples accordingly 2018-06-28 01:44:32 +02:00
dcodeIO
e9094bbd6f Fix TLSF test 2018-06-09 02:27:10 +02:00
dcodeIO
9731958738 Implement a mechanism to realloc array buffers; Trap when trying to allocate more than max size; Test allocators in CI 2018-04-08 00:52:19 +02:00
dcodeIO
8770f7b548 New ArrayBuffer/TypedArray; Stdlib restructure; Fix importing stdlib in stdlib; Traverse constructors; Allow initialization of readonly instance fields in constructors 2018-04-07 03:27:22 +02:00
dcodeIO
5e20bed09a Unify / simplify asc API (in browsers) 2018-04-04 14:39:40 +02:00
dcodeIO
5823e35f37 Progress and a tiny WASM binary parser 2018-04-03 23:56:48 +02:00
dcodeIO
0fef69e445 Set up documentation generation 2018-03-19 01:12:18 +01:00
dcodeIO
23a7db4dc3 Ensure consistent variable modifiers
'var' is a distinct local or mutable global, 'let' a shared local
2018-03-13 02:32:10 +01:00
Daniel Wirtz
423533c6b0
Implement function types / indirect calls / trampolines (#39) 2018-03-12 14:06:39 +01:00
dcodeIO
4257273d42 Make TLSF always align to 8 bytes, see #15 2018-03-04 01:31:44 +01:00
dcodeIO
9ef8b162a9 Also lint stdlib 2018-02-25 23:21:32 +01:00
dcodeIO
8dc517e352 Cleanup; Initial tslint integration 2018-02-25 00:13:39 +01:00
dcodeIO
e50a23bf75 Rename wast to wat 2018-02-17 11:09:22 +01:00
dcodeIO
3d7e8b2b7a More cleanup and a possible fix for #29 2018-02-16 11:55:13 +01:00
dcodeIO
c6486c461d Move TLSF to stdlib, see #15 2018-02-12 19:17:50 +01:00
dcodeIO
4ce8c7a6b0 More memory allocators 2018-02-02 04:21:06 +01:00
dcodeIO
4736227879 Update binaryen to latest nightly; Source map support 2018-02-02 03:07:54 +01:00