dcodeIO
26e46f6f86
Reintroduce builtin decorator so these can appear anywhere in stdlib again
...
Avoids wrapping an undocumented function within 'memory.size' for example.
2018-07-19 02:10:04 +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
2f8f477ab0
Update dist files; Unify some examples
2018-05-06 01:32:58 +02:00
Daniel Wirtz
50f6c1c460
Update internal ABI to zero/sign-extend where necessary only ( #87 )
2018-05-06 00:00:54 +02:00
dcodeIO
391db28fe2
Always try to eliminate branches if tree-shaking is enabled
2018-04-24 23:11:11 +02:00
Daniel Wirtz
623597c23a
Make the transition to ArrayBuffer backed Arrays ( #70 )
...
* Traverse base classes when resolving overloads
* Implement preliminary TypedArray accessors
* Extract decorator flags from common flags to make space
* Add '**' overload
* Implement basic explicit inlining
* Support inlining of instance methods
* Reduce number of required locals when inlining
* Implement inlining of operator overloads
* Fix issues when inlining generic functions
2018-04-11 23:35:19 +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
5823e35f37
Progress and a tiny WASM binary parser
2018-04-03 23:56:48 +02:00
dcodeIO
fea8e65a41
Fix 'static readonly' not being recognized as constant anymore, see #44
2018-03-19 19:36:39 +01:00
dcodeIO
507482adb2
Pull more (possibly) repeated loads to locals
2018-03-14 00:27:35 +01:00
Daniel Wirtz
423533c6b0
Implement function types / indirect calls / trampolines ( #39 )
2018-03-12 14:06:39 +01:00
dcodeIO
00c4f6fa52
Unify allocator tests even more, also test arena
2018-03-04 17:25:32 +01:00
dcodeIO
4257273d42
Make TLSF always align to 8 bytes, see #15
2018-03-04 01:31:44 +01:00
dcodeIO
4633fdab96
Update binary expression inference, see #35 ; Update dependencies
2018-03-01 19:42:07 +01:00
dcodeIO
8dc517e352
Cleanup; Initial tslint integration
2018-02-25 00:13:39 +01:00
dcodeIO
16ffddc5d5
Minor buddy alloc tweaks; Share entire allocator testing infrastructure
2018-02-20 18:40:30 +01:00
dcodeIO
d8cdb663cb
Share test runner between allocators
2018-02-19 23:07:35 +01:00
dcodeIO
67f6efee1e
Fix obvious issues in buddy allocator
2018-02-19 22:48:07 +01:00
dcodeIO
1b5fe18c2c
Update dist files
2018-02-19 19:19:45 +01:00
dcodeIO
93da63f571
Add evanw's buddy allocator for testing
2018-02-19 19:16:50 +01:00