317 Commits

Author SHA1 Message Date
dcodeIO
d9ad42ed2e Also create optimized & inlined wasts for comparison 2017-12-06 23:54:16 +01:00
dcodeIO
9ae3328e58 Precompute and inline constant globals
This is necessary so that other constant globals referencing constant globals can be precomputed as well (NON_STANDALONE_FLOW in binaryen)
2017-12-06 23:38:17 +01:00
dcodeIO
d63ed925a9 Add unfinished TLSF as test case fwiw 2017-12-06 19:33:48 +01:00
dcodeIO
29468846ab Unified continue/break labels with binaryen labels; Module-level global exports 2017-12-06 17:47:48 +01:00
dcodeIO
f045975a4b Built-in abs/min/max for integers; For-loop fixes 2017-12-05 22:47:20 +01:00
dcodeIO
330752908a Implement asc in js for dist 2017-12-05 15:06:44 +01:00
dcodeIO
b7030d4dea reinterpret and select builtins 2017-12-04 22:47:08 +01:00
dcodeIO
df3e34f2aa More options for asc 2017-12-04 19:26:50 +01:00
dcodeIO
0e6bfa45f8 Type-aware && and || 2017-12-04 16:26:34 +01:00
dcodeIO
c6af2d1454 Implement ternary using if, see AssemblyScript/assemblyscript#123 2017-12-04 14:49:24 +01:00
dcodeIO
63a67e7c67 sizeof, load and store builtins 2017-12-04 02:00:48 +01:00
dcodeIO
017efc71b6 Fixes; Builtins; Testing in the interpreter 2017-12-03 23:04:33 +01:00
dcodeIO
032ae379cd Unary postfix fixes 2017-12-03 01:18:35 +01:00
dcodeIO
eaf9253b96 Initial module level function exports 2017-12-02 23:33:01 +01:00
dcodeIO
9e053f311e Add CI 2017-12-02 20:58:39 +01:00
dcodeIO
b9edfb5185 More tests and fixes (unary, binary, globals) 2017-12-02 18:37:59 +01:00
dcodeIO
ef859937a8 Better testing infrastructure; Initial exports/imports/re-exports 2017-12-02 01:14:15 +01:00