374 Commits

Author SHA1 Message Date
Volker Berlin
8878b37225 Declare Node Script Engine with GC 2020-06-12 22:09:42 +02:00
Volker Berlin
c0575b5b65 reactivate NodeWat 2020-06-12 21:55:39 +02:00
Volker Berlin
5cdf705c1d ArchiveInputStream seems not compatible with Files.copy() that try Files.write() 2020-06-07 13:48:15 +02:00
Volker Berlin
87cbee437b ArchiveInputStream seems not compatible with Files.copy() 2020-06-07 12:55:40 +02:00
Volker Berlin
b6238124c7 Replace gradle node plugin and switch to V8 canary. 2020-06-07 12:00:40 +02:00
Volker Berlin
42c68257b6 Add own Node downloader to use V8 Canary. Remove duplicate downloader code. 2020-06-07 11:57:56 +02:00
Volker Berlin
67f8fd4355 implement Class.getComponentType(), WIP 2020-05-31 11:39:57 +02:00
Volker Berlin
3f89240a8b debug code 2020-05-31 11:09:58 +02:00
Volker Berlin
cfbadfa226 anyref --> externref, add kind to ref.null and ref.is_null, https://github.com/WebAssembly/reference-types/pull/87 2020-05-30 23:06:29 +02:00
Volker Berlin
a0d56ddcc3 fix IF with complex && and || operations. see #17 2020-05-27 21:21:50 +02:00
Volker Berlin
8f1cc4bf97 fix IF-GOTO analyzing for multiple sub IF inside the THEN part. 2020-05-25 19:28:47 +02:00
Volker Berlin
b457f4aaf0 fix cascaded try catch blocks 2020-05-21 20:51:48 +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
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
b80c2b7a0d first implementation of interfaces, WIP 2020-05-10 11:16:18 +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
4b581dd969 test for a primitive class name 2020-05-02 14:42:22 +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
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
570b7090b0 enable first exception tests 2020-04-24 20:56:28 +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
87374ff41b remove V8 flags for features that are already default 2020-04-13 16:03:39 +02:00
Volker Berlin
d14fd790b5 prevent dead lock on large error stream from external process 2020-04-13 16:00:12 +02:00
Volker Berlin
2f1c0f0706 test for empty catch block 2020-04-10 21:27:29 +02:00
Volker Berlin
9bbc82bb6d Remove all special handling for SpiderMonkey. It is compatible now. 2020-04-04 11:40:35 +02:00
Volker Berlin
c52bc2a0fe Rewrite stack analyze to handle conditional parameters on the stack. 2020-03-29 14:31:58 +02:00
Volker Berlin
d3f7069cc8 pass the signature from synthetic functions to the wat parser. 2020-03-27 21:10:02 +01:00
Volker Berlin
63384e359a fix do while with multiple conditions 2020-03-21 21:16:10 +01:00
Volker Berlin
ab95396471 never break inside conditional operator 2020-03-21 15:58:50 +01:00
Volker Berlin
a3aa825ebc fix branch result with reference type 2020-03-21 11:59:05 +01:00
Volker Berlin
1882d016ac test for abstract method calls 2020-03-21 11:25:32 +01:00
Volker Berlin
dd01ad10b2 generalize the use of the flag useGC 2020-03-18 22:23:45 +01:00
Volker Berlin
775496640c add support for Class constants 2020-03-15 15:49:52 +01:00
Volker Berlin
eba564fe67 Tests for getClass().getName() 2020-03-15 12:05:54 +01:00
Volker Berlin
d2cf5eaaaf remove debug code 2020-03-15 10:55:43 +01:00
Volker Berlin
7774b7c04a Test for hashCode() 2020-03-08 21:15:31 +01:00
Volker Berlin
62b16ac07e Fix switch blocks with string cases and add tests. 2020-03-07 17:01:59 +01:00
Volker Berlin
758f31e79c add support for CAST operation 2020-02-28 18:04:28 +01:00
Volker Berlin
499cddfb0b print the JavaScript stacktrace on error for simpler debugging 2020-02-28 10:00:44 +01:00
Volker Berlin
6c820ba5e6 implements INSTANCEOF operation 2020-02-26 18:02:59 +01:00
Volker Berlin
02696a6488 use a synthetic function call to calculate the function id of a virtual call. 2020-02-25 18:05:12 +01:00
Volker Berlin
2f2c39a07a simplify the initializing 2020-02-24 21:08:29 +01:00
Volker Berlin
762ecba363 Add error message for not supported class constants 2020-02-23 17:51:32 +01:00