48 Commits

Author SHA1 Message Date
dcode
3f35a9209f tackle unreachables
suspend compilation on break, optimize stack ir, detect fallthrough instead of terminate
2019-06-10 08:54:41 +02:00
Daniel Wirtz
0484a6b740
Implement reference counting (#592) 2019-06-05 23:15:39 +02:00
Daniel Wirtz
5b58b9aa8d
Update Binaryen to latest (#571) 2019-04-08 08:18:21 +02:00
Daniel Wirtz
2f1a6c44ce
Add SIMD prerequisites (#469) 2019-02-07 15:26:26 +01:00
Daniel Wirtz
f551bc78e1
Implement bulk memory operations (#467) 2019-02-07 11:40:23 +01:00
Nidin Vinayakan
b7c7be1fe9 Add shared memory definitions and initial API (#435) 2019-01-25 10:50:55 +01:00
dcodeIO
d5f72e32d7 Add initial definitions for SIMD ops 2018-12-14 08:17:08 +01:00
dcodeIO
b723ff3e88 Update Binaryen to latest 2018-11-22 17:15:22 +01:00
Daniel Wirtz
2bdc2a72f1
Use stack IR when emitting text format (#312) 2018-11-08 08:04:24 +01:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes 2018-10-11 08:49:08 +02:00
dcodeIO
d90cd085e5 Update Binaryen 2018-09-13 23:10:49 +02:00
dcodeIO
a1b75b69b7 Rename memory instructions; Rework constant handling 2018-07-18 23:49:32 +02:00
dcodeIO
72cb1e9008 Update dependencies; Regenerate dist files 2018-07-14 00:13:52 +02:00
dcodeIO
c4ebc8c291 Fix missing dependency in asc, see #157; Downgrade ts-node to v6 2018-07-04 21:47:58 +02:00
dcodeIO
5ca5df3dc7 Restructure types; Add a use-case specific options parser; Allow (re)creation of specific parser fixtures 2018-07-03 03:06:01 +02:00
dcodeIO
55a8e677c6 Update dependencies 2018-06-28 18:31:19 +02:00
dcodeIO
ef9b43740d Eliminate leftover temporary function types using latest Binaryen 2018-05-09 16:33:42 +02:00
dcodeIO
1bf0ca6525 Add a mechanism to enable additional (experimental) features and start with sign extension operations; Hashing experimentation 2018-05-08 00:36:19 +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
00e6d613a9 Fix an issue with asc not finding bundled library files in the browser; Minor cleanup 2018-03-21 23:27:53 +01:00
dcodeIO
be66abbd78 Initial static arrays of basic element types; Fixed member names in generic contexts 2018-03-20 23:41:37 +01:00
dcodeIO
0fef69e445 Set up documentation generation 2018-03-19 01:12:18 +01:00
dcodeIO
5eb10d404f Document the purpose of most files 2018-03-17 23:41:48 +01:00
dcodeIO
48cbbbbd68 More cleanup 2018-02-16 18:57:51 +01:00
dcodeIO
b1c6ccab2a Use long.js in JS and native i64 in WASM; Compile literals more thoroughly 2018-02-14 09:18:43 +01:00
dcodeIO
4736227879 Update binaryen to latest nightly; Source map support 2018-02-02 03:07:54 +01:00
dcodeIO
d1fed692f6 Moved AST serialization to extra (not ultimately needed by asc) 2018-01-15 19:00:18 +01:00
dcodeIO
ad469ca445 Polyfill move_memory and set_memory and remove Heap 2018-01-14 02:30:20 +01:00
dcodeIO
3980e53bb7 Let the optimizer decide what it takes to become a select 2018-01-12 05:03:25 +01:00
dcodeIO
ce57820f59 Is it a strawberry, see boyanio/wasm-wheel#2 2017-12-13 00:11:45 +01:00
dcodeIO
3d544c2fe5 Slight restructure 2017-12-12 16:08:54 +01:00
dcodeIO
7a5f7dba50 Monday night decompiler shenenigans 2017-12-12 04:35:30 +01:00
dcodeIO
b5cc2f9924 Fix unsigned ops; Fix parenthesized conversion; Minor restructure 2017-12-11 18:46:11 +01:00
dcodeIO
b5ffaf36cd Portable not-so-smart Heap 2017-12-11 03:31:35 +01:00
dcodeIO
d0b189b437 CString/CArray was an illusion; Update and test tsconfig files 2017-12-11 02:03:15 +01:00
dcodeIO
0228ab91d9 Minor restructure and fixes; README; Proposed binaryen additions 2017-12-10 21:59:45 +01:00
dcodeIO
bbc71ebe81 More options for asc; asm.js output 2017-12-09 00:45:12 +01:00
dcodeIO
0ebb99a33c Extract portable AS to its own definition and polyfill; Try running flatten/ssa before default optimizations, see WebAssembly/binaryen#1331 2017-12-08 19:08:03 +01:00
dcodeIO
59dafc8d22 Some thoughts on an initial stdlib to get things going 2017-12-07 04:37:14 +01:00
dcodeIO
29468846ab Unified continue/break labels with binaryen labels; Module-level global exports 2017-12-06 17:47:48 +01:00
dcodeIO
81844a1fe7 Update binaryen 2017-12-05 15:28:01 +01:00
dcodeIO
df212653a8 Add webpack; Setup instructions 2017-12-05 13:35:14 +01:00
dcodeIO
40b814ac73 Refactored builtins 2017-12-05 01:45:15 +01:00
dcodeIO
df3e34f2aa More options for asc 2017-12-04 19:26:50 +01:00
dcodeIO
63a67e7c67 sizeof, load and store builtins 2017-12-04 02:00:48 +01:00
dcodeIO
df637164a6 Cleanup 2017-11-26 04:03:28 +01:00
dcodeIO
6e98c52f76 Cleanup; Initial switch support; Relooper interface fwiw 2017-10-11 17:03:22 +02:00
dcodeIO
1d53303b47 Initial commit 2017-09-28 13:08:25 +02:00