374 Commits

Author SHA1 Message Date
Volker Berlin
8379416cb8 add support for multi dimension array allocation 2020-02-09 18:05:31 +01:00
Volker Berlin
d460aac03f remove --wasm-bigint switch 2020-02-09 16:31:12 +01:00
Volker Berlin
5410764249 implement CAST operation, WIP 2020-02-01 20:29:29 +01:00
Volker Berlin
8c12f5a3c9 implement "instanceof", WIP 2020-02-01 16:49:52 +01:00
Volker Berlin
674eb84129 test for interface calls 2020-01-26 14:29:27 +01:00
Volker Berlin
800edc837d test for partial lambda code 2020-01-26 13:11:11 +01:00
Volker Berlin
5f3c199e34 handle the empty DataCount section of WABT 1.0.13 2020-01-18 13:21:43 +01:00
Volker Berlin
b1e89a91ca add support for default methods 2020-01-12 17:13:52 +01:00
Volker Berlin
e43a8277c1 add option WASM_USE_EH to ignore exception support because currently not supported 2020-01-12 12:46:00 +01:00
Volker Berlin
54d2deef4f add option WASM_USE_EH to ignore exception support because currently not supported 2020-01-12 12:42:31 +01:00
Volker Berlin
f3bcd8e670 also print the generated JavaScript on error 2020-01-05 18:29:38 +01:00
Volker Berlin
1592d79cdd returns domString in export functions. 2020-01-03 21:08:30 +01:00
Volker Berlin
525a2f2f87 change the static ClassFile cache to an instance cache 2020-01-02 15:15:21 +01:00
Volker Berlin
820a686192 Unbox InvocationTargetException 2020-01-01 23:04:51 +01:00
Volker Berlin
515123d4e1 use "sourceRoot" in map instead to concatenate it to every source file name 2019-12-31 14:06:30 +01:00
Volker Berlin
5c3536ffd3 Enable tests because SpiderMonkey supports bigint<->i64 now. 2019-12-07 17:51:34 +01:00
Volker Berlin
aba8052de0 Move the exports after the imports in the wat format 2019-11-28 20:50:33 +01:00
Volker Berlin
724f39dc18 Warning for multiple CATCH blocks 2019-11-28 20:07:51 +01:00
Volker Berlin
8668d71b6c Fix the memory offset of strings with a dynamic synthetic function. 2019-11-24 14:44:56 +01:00
Volker Berlin
9286113b0c more wat instructions 2019-11-19 19:48:24 +01:00
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
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
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
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