19 Commits

Author SHA1 Message Date
kazuya kawaguchi
2ec89ee669 Add typings for second argment of demangle (#385) 2019-01-09 13:18:17 +01:00
dcodeIO
86c084a519 Use a symbol for the this pointer on wrapped loader classes, see #363 2018-12-07 17:55:31 +01:00
kazuya kawaguchi
429435c5b1 Improve demangling of class methods when using the loader (#363) 2018-12-07 17:20:28 +01:00
dcodeIO
6f3209e6c6 Fix imported memory fallback and add common stdlib imports to loader 2018-11-11 10:44:09 +01:00
dcodeIO
2ecec660d2 Mention exporting memory utilities more prominently in loader readme, fixes #318 2018-11-08 11:54:36 +01:00
dcodeIO
b924c152c5 Fix fallback to imported memory in loader, fixes #322 2018-11-08 08:23:00 +01:00
dcodeIO
4683599a82 Improve loader function table handling 2018-10-20 15:40:23 +02:00
dcodeIO
086d96b299 Fix variable arguments handling with setargc in loader 2018-10-11 17:55:11 +02:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes 2018-10-11 08:49:08 +02:00
dcodeIO
b54a97c0fe Fix a typo and a signature in loader README 2018-10-11 08:22:20 +02:00
dcodeIO
af968177c8 Fix use of instantiateStreaming's result object in new loader, see #295 2018-10-04 17:13:01 +02:00
dcodeIO
e22524fab8 Update loader to support environments where 'new WebAssembly.Instance' is limited, see #295 2018-10-04 13:16:39 +02:00
dcodeIO
9c770d801e Add initial newArray and getArray helpers to loader
Essentially creates an unmanaged typed array in memory that one can work with and free again respectively obtain from the AS side. No support for GC or generic arrays yet, and is likely to change substentially once WASM GC becomes a thing.
2018-09-18 15:17:44 +02:00
Daniel Wirtz
dc0f271fc2
Initial GC integration (#196) 2018-08-02 18:23:02 +02:00
dcodeIO
a1b75b69b7 Rename memory instructions; Rework constant handling 2018-07-18 23:49:32 +02:00
dcodeIO
e18165bbbc Remove chalk dependency and replace it with something simpler, fixes #138 2018-06-12 18:34:39 +02:00
dcodeIO
f2eb64c0fd Add conditional BigInt support to loader & minor README fixes 2018-06-11 15:18:13 +02:00
dcodeIO
e049e72171 Fix a few issues with TSD generation; Update Binaryen 2018-05-21 10:31:00 +02:00
dcodeIO
98a0aa863d Initial loader that unifies utils and demangle 2018-05-19 13:38:47 +02:00