347 Commits

Author SHA1 Message Date
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
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
5e880bab5b first string tests 2019-10-29 18:56:39 +01: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
b81ea073a9 Improve error message if there is not an expected number 2019-10-20 12:43:26 +02:00
Volker Berlin
023ea867a1 Add test for update a single byte 2019-10-05 16:17:40 +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
40375316e2 detect some optimization of GOTO jumps 2019-09-25 19:24:01 +02:00
Volker Berlin
35c9845886 Split structs test for NonGC and GC script engines because the different implementation state 2019-09-23 20:34:34 +02:00
Volker Berlin
d1bb7cac23 pass the method with signature to the VariableManager as fallback 2019-09-23 20:33:21 +02:00
Volker Berlin
e3eb66efc9 Set flag --wasm-gc only for GC tests to improve performance. 2019-09-22 17:09:12 +02:00
Volker Berlin
53319942ae set initial values of non GC struct values 2019-09-15 15:42:50 +02:00
Volker Berlin
2a5856971b Run the compiler also with SpiderMonkeyWatGC also if the script engine does not support arrays currently 2019-09-15 10:50:45 +02:00
Volker Berlin
d17648a448 Split structs test for NonGC and GC script engines because the different implementation state 2019-09-15 10:45:29 +02:00
Volker Berlin
9a03a70e8f better error message 2019-09-15 10:41:00 +02:00
Volker Berlin
88b925fbde add script engine SpiderMonkeyWatGC 2019-09-12 21:54:35 +02:00
Volker Berlin
b4d2f6caa2 use WasmOptions on more places for consistency 2019-09-10 17:49:05 +02:00
Volker Berlin
c5d514de73 prepare also script engines which currently are skipped 2019-09-08 19:10:31 +02:00
Volker Berlin
4e3c11553f prepare the polyfill of struct/Object instruction 2019-09-08 13:55:22 +02:00
Volker Berlin
c029ef2a88 run the right scripts with ScriptEngine.SpiderMonkeyGC 2019-09-08 13:40:24 +02:00
Volker Berlin
ebf3673ef6 Prepare support for SyntheticFunctionName for imported JavaScript functions 2019-09-07 21:24:17 +02:00
Volker Berlin
617301b165 Add 'use strict' to the Java script glue code to prevent mistakes. 2019-09-02 16:14:17 +02:00
Volker Berlin
c029c48be5 Add a test with enabled GC 2019-08-27 20:44:27 +02:00
Volker Berlin
fd0a22121c reorder the script engines for testing 2019-08-27 18:25:31 +02:00
Volker Berlin
8c1792329e fix dead lock with larger debug output 2019-08-25 20:23:55 +02:00
Volker Berlin
75c42db525 remove skip, SM bug was fixed. 2019-08-14 20:13:06 +02:00
Volker Berlin
0b28099674 Add ArrayType and improve the Java type parser. 2019-08-14 20:07:39 +02:00
Volker Berlin
010362e7d0 Enable the Array tests with the GC from the JavaScript host. 2019-08-11 13:12:50 +02:00
Volker Berlin
5883adc2af pass the compiler properties to sub classes 2019-08-08 19:28:27 +02:00
Volker Berlin
8c199b5157 more Math tests 2019-08-04 19:32:18 +02:00
Volker Berlin
6a9800f2ef More Math functions tests 2019-08-03 20:54:46 +02:00
Volker Berlin
ccbc633463 handle complex IF conditions 2019-08-02 22:39:04 +02:00
Volker Berlin
a60e7ca823 more math tests 2019-07-29 19:32:19 +02:00
Volker Berlin
be77f59ac0 Add support for OR concatenated IF conditions 2019-07-29 19:15:47 +02:00
Volker Berlin
a019647094 fix && operator in if expression 2019-07-26 23:05:54 +02:00
Volker Berlin
6d4bf1d347 improve wat parser 2019-07-25 16:50:38 +02:00
Volker Berlin
c2b8505634 Math.min/max operation 2019-07-18 19:21:11 +02:00
Volker Berlin
03ed725262 implements abs instruction 2019-07-17 18:45:36 +02:00
Volker Berlin
eed21966d4 tests for round(double) 2019-07-15 21:18:39 +02:00
Volker Berlin
abeec6cca4 NaN is written in lowercase in Wasm text format. 2019-07-14 17:24:39 +02:00
Volker Berlin
588ac6db47 implement reinterpret opcodes and use it in the WatParser. 2019-07-14 12:41:40 +02:00
Volker Berlin
ed0eb9e4b6 handle different string formating of float values 2019-07-13 20:17:23 +02:00
Volker Berlin
c15bea7d3d more math API tests 2019-07-13 15:56:34 +02:00
Volker Berlin
c64c620a38 more math operation for the text format (Watparser) 2019-07-13 15:46:20 +02:00
Volker Berlin
e53af239ce Add a test for System.currentTimeMillis() 2019-07-06 21:26:51 +02:00
Volker Berlin
2058acea7f enable --experimental-wasm-bigint for node 2019-07-06 21:25:54 +02:00