dcode
e65d875ebc
llvm-like naming of __heap_base, definition fixes, update examples
2019-06-01 01:14:04 +02:00
dcode
bc294203bf
fixes, dist files
2019-05-25 23:14:21 +02:00
dcode
9620f18249
more loader work
2019-05-25 00:38:50 +02:00
dcode
2263dfc87a
update allocator tests
2019-05-23 03:33:32 +02:00
dcode
2dec52976a
fix export star module exports, shiftify
2019-04-18 20:36:51 +02:00
dcode
18c3f0c555
unify, stub impl
2019-04-18 12:53:48 +02:00
dcode
8216cf3361
refactor into stdlib
2019-04-18 11:51:07 +02:00
dcode
ffdda4b695
realloc on mm level
2019-04-17 17:48:26 +02:00
dcode
504e207184
polish
2019-04-17 06:12:02 +02:00
dcode
3e08e5c2d6
asrt debugger, fixes
2019-04-16 17:33:33 +02:00
dcode
ceffc18694
implications of 16b alignment
2019-04-15 13:37:18 +02:00
dcode
aee3a3e3a7
16b alignment, cleanup
2019-04-15 13:10:41 +02:00
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
7b99e44343
update allocator tests
2019-03-31 22:05:52 +02:00
dcode
01fad52984
fix allocator tests
2019-03-29 11:23:40 +01:00
dcode
f7ad5f85ca
fixes
2019-03-27 15:05:45 +01:00
Daniel Wirtz
0c64f21250
Rework resolver ( #489 )
...
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
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