892 Commits

Author SHA1 Message Date
JCWasmx86
c7afbd4691
Update ConstantPool.java 2020-05-24 13:52:54 +02:00
Volker Berlin
b457f4aaf0 fix cascaded try catch blocks 2020-05-21 20:51:48 +02:00
Volker Berlin
bba6c79fd2 add support for interface method calls 2020-05-21 16:30:37 +02:00
Volker Berlin
410a3c1321 stub for getClassLoader0() 2020-05-21 16:28:52 +02:00
Volker Berlin
f383ef26e8 fix bug with cascaded if blocks 2020-05-17 13:57:30 +02:00
Volker Berlin
55ddeac911 test for new Object().toString() 2020-05-16 20:36:24 +02:00
Volker Berlin
b15cc8b7ae implement Class.getClassLoader() 2020-05-15 18:27:46 +02:00
Volker Berlin
6fc9feca70 better error message 2020-05-15 17:52:05 +02:00
Volker Berlin
23b01afaea use fix (old) SpiderMonkey version until the change from anyref -> externref is available in the other tools 2020-05-14 22:16:41 +02:00
Volker Berlin
43140453c9 fix interface calls for redefinied defaults with new defaults 2020-05-13 21:20:19 +02:00
Volker Berlin
d3acc3698f Add isAbstract() 2020-05-10 15:35:26 +02:00
Volker Berlin
b80c2b7a0d first implementation of interfaces, WIP 2020-05-10 11:16:18 +02:00
Volker Berlin
47d2ea9946 API doc 2020-05-10 11:10:54 +02:00
Volker Berlin
e30deb315d write itable into the memory; implement interface instruction; WIP 2020-05-08 22:24:57 +02:00
Volker Berlin
9416628961 invokeinterface has 2 unused bytes 2020-05-08 22:19:08 +02:00
Volker Berlin
1556c36f32 add micro code for for interface calling, WIP 2020-05-08 15:01:01 +02:00
Volker Berlin
f91f34c626 docu 2020-05-03 21:42:10 +02:00
Volker Berlin
f277238d14 compile all implementations of used interfaces. 2020-05-03 11:17:57 +02:00
Volker Berlin
c4d4bf04be does not create a reference on a isUsed check to reduce memory usage 2020-05-03 09:20:49 +02:00
Volker Berlin
daaa648a04 Use NODE_PATH instead linking to wabt to improve test speed. 2020-05-02 21:42:32 +02:00
Volker Berlin
c4ed671b99 install wabt@nightly globally to improve speed of tests 2020-05-02 16:09:50 +02:00
Volker Berlin
ee5b3ce326 only set a function index if method is used 2020-05-02 15:31:26 +02:00
Volker Berlin
4b581dd969 test for a primitive class name 2020-05-02 14:42:22 +02:00
Volker Berlin
a511e9b090 version 0.3 v0.3 2020-04-27 21:00:44 +02:00
Volker Berlin
676bd8efa0 cheerpj 2020-04-26 20:42:06 +02:00
Volker Berlin
5eb6f9aad6 enable class initializers (static constructors) 2020-04-26 20:30:49 +02:00
Volker Berlin
6e9ea1f1e8 Does not write a static constructors only because it has a replacement. 2020-04-26 20:28:40 +02:00
Volker Berlin
7eb0406db8 Only ASCII strings as comment 2020-04-26 19:47:51 +02:00
Volker Berlin
fd27656b65 Does not unbox if exception handling is not supported. 2020-04-26 18:37:10 +02:00
Volker Berlin
f04369fac5 Also replace static constructor methods 2020-04-26 17:59:05 +02:00
Volker Berlin
820a4ac6df On Class replacement also patch the local variable signatures. 2020-04-26 14:06:31 +02:00
Volker Berlin
7692880b7e Enable debug names in Wat2Wasm; use enable-all with Wat2Wasm to compatible with future features. 2020-04-26 14:03:06 +02:00
Volker Berlin
b251141f45 Scan also the types of used imports 2020-04-26 00:08:50 +02:00
Volker Berlin
11f338eea8 implements dup_x2 instruction 2020-04-25 22:22:18 +02:00
Volker Berlin
f15fb1cdf9 implements dup_x1 instruction 2020-04-25 19:31:30 +02:00
Volker Berlin
f0828196b7 first multi catch support, WIP 2020-04-25 18:03:16 +02:00
Volker Berlin
063f035155 Correct catch code positions for a correct END of the CATCH. 2020-04-24 22:14:11 +02:00
Volker Berlin
4738619e62 create dir first 2020-04-24 22:03:35 +02:00
Volker Berlin
570b7090b0 enable first exception tests 2020-04-24 20:56:28 +02:00
Volker Berlin
374ab7121b revert event section order until v8 in node it support 2020-04-24 20:55:52 +02:00
Volker Berlin
af50221b44 update node version 2020-04-24 20:54:56 +02:00
Volker Berlin
e533c97d0f throw an ArithmeticException on a division by zero of integer values 2020-04-19 19:29:14 +02:00
Volker Berlin
1ce3e97464 add i32.div_s, i64.div_s, i64.eqz and throw to the wat parser 2020-04-19 19:09:58 +02:00
Volker Berlin
d99eb77de8 fix drop exnref in a try/finally structure 2020-04-19 17:35:56 +02:00
Volker Berlin
df8aade0fa Support for multiple catch blocks, WIP 2020-04-19 12:05:35 +02:00
Volker Berlin
87359fb497 Simplify the try/catch structure 2020-04-18 13:09:11 +02:00
Volker Berlin
5a665b7c11 prevent dead lock on large error stream from external process 2020-04-18 11:25:11 +02:00
Volker Berlin
850d990264 fix available() == 0 for SSL streams 2020-04-13 21:58:00 +02:00
Volker Berlin
25423c6bb8 pass LocalvariableManager to the BranchManager to create temp variable for CATCh blocks. 2020-04-13 16:05:41 +02:00
Volker Berlin
87374ff41b remove V8 flags for features that are already default 2020-04-13 16:03:39 +02:00