669 Commits

Author SHA1 Message Date
Volker Berlin
947f66502b Add support for i32.load to the wat parser and some small bug fixes 2019-11-18 21:32:35 +01:00
Volker Berlin
86d239986e add memory instructions 2019-11-18 20:08:18 +01:00
Volker Berlin
ed00c7a02f add support for i32.mul to wat parser 2019-11-18 17:36:26 +01:00
Volker Berlin
35005e2a1a Activate tests again for SpiderMonkey 2019-11-17 17:53:00 +01:00
Volker Berlin
28853373c6 Handle different line encoding 2019-11-17 17:47:41 +01:00
Volker Berlin
185a0515c7 supports also constructor replacement with a Java method 2019-11-17 17:28:31 +01:00
Volker Berlin
ce1d3ddb38 improve the "ignore redefinition" in ClassPath. The first should win. 2019-11-17 17:04:35 +01:00
Volker Berlin
b26b290464 write the stings into the data section 2019-11-17 14:24:41 +01:00
Volker Berlin
10b754e3e3 Use a Placeholder Instruction for Java DUP opertions. 2019-11-16 19:17:22 +01:00
Volker Berlin
8649438fa9 update Required WebAssembly Features 2019-11-14 20:29:20 +01:00
Volker Berlin
63a7c487c0 add support for locals in WatParser 2019-11-12 20:47:57 +01:00
Volker Berlin
c6d569c66c add support for more const instructions on WatParser 2019-11-12 20:06:31 +01:00
Volker Berlin
8f36ed4d6d initial checkin for StringManager (WIP) 2019-11-10 12:57:58 +01:00
Volker Berlin
6d7c8b12a9 add support for ref.is_null to wat parser 2019-11-09 18:59:47 +01:00
Volker Berlin
5e2b65ddd0 static constructors 2019-11-09 18:50:37 +01:00
Volker Berlin
0ae27b2c86 add support for local.tee to wat parser 2019-11-09 18:48:28 +01:00
Volker Berlin
baf7fb9cf0 Add table.set/get 2019-11-03 19:00:49 +01:00
Volker Berlin
b47274e007 add @Override 2019-11-03 18:04:45 +01:00
Volker Berlin
ca9efce370 constant pool can also contains string constants 2019-11-03 13:52:07 +01:00
Volker Berlin
4f79782bfe add table instructions 2019-11-03 13:38:53 +01:00
Volker Berlin
672574abd0 Rename anyfunc -> funcref 2019-11-03 10:14:29 +01:00
Volker Berlin
87039232eb export the memory with the name "memory" 2019-11-02 19:20:28 +01:00
Volker Berlin
fac7e68b43 optimize the memory section, write only if needed 2019-11-02 19:11:18 +01:00
Volker Berlin
1dd644b67a Generalize the writing of the export section for future improvements 2019-11-02 18:59:09 +01:00
Volker Berlin
3f4462064d provide the wasm.exports to the JavaScript import functions for possible callbacks. 2019-11-02 18:09:35 +01:00
Volker Berlin
ec96a8c9f8 Wabt has a slow release cycle then we can use ever the cached version. 2019-11-02 16:43:49 +01:00
Volker Berlin
6c0939f341 v128 added 2019-11-02 12:22:10 +01:00
Volker Berlin
2efe7768e2 Rename anyfunc -> funcref 2019-11-02 12:11:10 +01:00
Volker Berlin
5e880bab5b first string tests 2019-10-29 18:56:39 +01:00
Volker Berlin
ebe1c27e9a Add support for outsourcing of a constructor to JavaScript 2019-10-27 20:11:47 +01:00
Volker Berlin
1fdcae5191 expand the hierarchy of SyntheticFunctionName for future improvements 2019-10-27 19:41:43 +01:00
Volker Berlin
9692b3b98f Accept also new functions in the cache after prepare finish to simplify the handling with unknown functions. 2019-10-27 19:37:55 +01:00
Volker Berlin
3c0199c000 fix parameter order for struct.set polyfill 2019-10-26 12:26:35 +02:00
Volker Berlin
431d5f5a4a parse InvokeDynamic constants 2019-10-26 12:23:36 +02:00
Volker Berlin
81c865706c Support NULL as test result. 2019-10-20 14:43:05 +02:00
Volker Berlin
b3ac7c49fc tests for System.arraycopy 2019-10-20 14:14:50 +02:00
Volker Berlin
7518188ded String support 2019-10-20 14:13:55 +02:00
Volker Berlin
b81ea073a9 Improve error message if there is not an expected number 2019-10-20 12:43:26 +02:00
Volker Berlin
833cd8c80a handle MODULE and PACKAGE constant on the pool (module-info.class) 2019-10-14 21:51:54 +02:00
Volker Berlin
e0659a7033 update the status 2019-10-14 21:50:32 +02:00
Volker Berlin
023ea867a1 Add test for update a single byte 2019-10-05 16:17:40 +02:00
Volker Berlin
19a119d7f4 fix position of duplicating THIS on virtual method calls 2019-10-05 16:15:18 +02:00
Volker Berlin
be12f047dd move some helper method into the parent 2019-10-02 18:56:35 +02:00
Volker Berlin
ec898cad71 skip ELSE blocks on counting the stack 2019-09-29 13:47:45 +02:00
Volker Berlin
4f40976019 ignore redefinition replacements 2019-09-29 11:44:01 +02:00
Volker Berlin
41d45af53d Add CRC32 support 2019-09-28 21:31:45 +02:00
Volker Berlin
ab284c2a84 remove test skip after wabt fix 2019-09-26 17:25:36 +02:00
Volker Berlin
432baef4b4 fix end detecting of ELSE block and sub structures in the THEN block. 2019-09-25 22:32:41 +02:00
Volker Berlin
40375316e2 detect some optimization of GOTO jumps 2019-09-25 19:24:01 +02:00
Volker Berlin
c29d19178a remove additional parameter from copy/paste 2019-09-24 20:03:28 +02:00