595 Commits

Author SHA1 Message Date
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
7c2d276de2 If nonGC mode then StructType has also a negative code type of anyref. 2019-09-07 19:52:10 +02:00
Volker Berlin
425e14c6b6 Object array must be filled with NULL 2019-09-02 18:07:00 +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
4d45d92824 use native methods for imports to simplify 2019-08-28 20:30:31 +02:00
Volker Berlin
c029c48be5 Add a test with enabled GC 2019-08-27 20:44:27 +02:00
Volker Berlin
6ea1955886 Fix the stack value of array new. 2019-08-27 20:41:00 +02:00
Volker Berlin
fd0a22121c reorder the script engines for testing 2019-08-27 18:25:31 +02:00
Volker Berlin
8cd9d16a33 fix parsing of i8 and i16 arrays 2019-08-26 20:10:49 +02:00
Volker Berlin
724ead3742 add len() for i8 and i16 arrays 2019-08-26 20:08:18 +02:00
Volker Berlin
8c1792329e fix dead lock with larger debug output 2019-08-25 20:23:55 +02:00
Volker Berlin
083ebf263e improve the type handling of arrays 2019-08-21 20:52:12 +02:00
Volker Berlin
572d4d6c1f Rename except_ref to exnref 2019-08-21 19:07:59 +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
dd9f03df99 API dependency is needed for import annotation 2019-08-11 14:44:24 +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
32e609b32f use GC Feature of the JavaScript host for arrays as replacement for the missing GC feature in WASM 2019-08-11 13:11:22 +02:00
Volker Berlin
7667c1a080 rename ArrayOpertion.LENGTH -> LEN for more consistency 2019-08-11 13:06:31 +02:00
Volker Berlin
3058348787 add constant for "wasm.use_gc" 2019-08-11 13:02:31 +02:00
Volker Berlin
615efbd11f use class and method name as default import setting if not set 2019-08-09 21:58:42 +02:00
Volker Berlin
5883adc2af pass the compiler properties to sub classes 2019-08-08 19:28:27 +02:00
Volker Berlin
9faeb626a9 fix file name of JavaScript output with text output format. 2019-08-08 18:23:44 +02:00
Volker Berlin
20d2b7f44e improve error messages 2019-08-08 17:47:57 +02:00
Volker Berlin
8c199b5157 more Math tests 2019-08-04 19:32:18 +02:00
Volker Berlin
c66d7748a4 improve error message 2019-08-04 19:29:36 +02:00
Volker Berlin
fd24d852ee cast only to AnyType 2019-08-04 18:47:02 +02:00
Volker Berlin
5a08ecf122 fix copy paste error 2019-08-04 17:28:03 +02:00
Volker Berlin
6a9800f2ef More Math functions tests 2019-08-03 20:54:46 +02:00
Volker Berlin
9bb6e64ce8 Add support for "copysign" for the text format. 2019-08-03 20:51:00 +02:00
Volker Berlin
ae489b2f5a handle infinity values 2019-08-03 20:49:45 +02:00
Volker Berlin
24ec45e3a2 current default on Travis of Gradle 4.10 and openjdk11 is a bad combination 2019-08-03 13:04:30 +02:00
Volker Berlin
ccbc633463 handle complex IF conditions 2019-08-02 22:39:04 +02:00
Volker Berlin
215d8ff70e calculate also the THEN position of an IF control structure 2019-08-02 11:11:10 +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
3ec23fa3c9 more predictable function order depending the call dependency 2019-07-25 23:18:34 +02:00
Volker Berlin
6d4bf1d347 improve wat parser 2019-07-25 16:50:38 +02:00
Volker Berlin
b934de9556 add flush() on publish() 2019-07-23 21:50:22 +02:00
Volker Berlin
d32244c60c fix getPopCount() and getPushValue() 2019-07-23 21:48:31 +02:00
Volker Berlin
b65027f156 fix push/pop value of compare instructions 2019-07-23 18:23:59 +02:00
Volker Berlin
0d58782f75 ConsoleHandler.setOutputStream(x) has closed System.err 2019-07-23 17:19:52 +02:00
Volker Berlin
8726bb92d6 use fine() log level because it is not enable by default 2019-07-21 13:55:29 +02:00
Volker Berlin
e37caf06b1 add logging 2019-07-19 22:29:34 +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