Daniel Wirtz
|
dc0f271fc2
|
Initial GC integration (#196)
|
2018-08-02 18:23:02 +02: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
|
27e61f8f67
|
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
|
2018-06-27 19:03:39 +02:00 |
|
dcodeIO
|
7a8995b18b
|
Properly inline getters; Simplify blocks when last statement returns
|
2018-06-22 15:26:59 +02:00 |
|
dcodeIO
|
73417a9a06
|
Move 'abort' out of builtins and make it overridable
Now defaults to 'env.abort' as imported in lib/env.ts, but can be overridden through '--use abort=someThingElseOrNothingAtAll'
|
2018-05-21 18:48:29 +02:00 |
|
dcodeIO
|
ef9b43740d
|
Eliminate leftover temporary function types using latest Binaryen
|
2018-05-09 16:33:42 +02:00 |
|
dcodeIO
|
25a1f6230a
|
Suppress some unnecessary blocks and nops; Fix compilation of always 'break'ing 'do's
|
2018-05-06 05:46:35 +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
|
6d6d1dddcf
|
Improve inlining where locals can be aliased; Add a crude mechanism for explicit unchecked array accesses
The `unchecked` builtin should be handled with ultimate care and it would be a lot better if there'd be a mechanism doing this automatically.
|
2018-04-25 05:04:35 +02:00 |
|
dcodeIO
|
63aa648ace
|
Slim down indexed access as far as currently possible
Interestingly, the same code written as statements is significantly slower. See notes.
|
2018-04-23 23:57:15 +02:00 |
|
dcodeIO
|
de98a19eb8
|
Implement dynamic array literals
|
2018-04-23 22:49:04 +02:00 |
|