345 Commits

Author SHA1 Message Date
Volker Berlin
5133890a6b Add the JavaScriptWriter and some tests. 2019-07-02 18:40:11 +02:00
Volker Berlin
3709e9cc55 Generalize the usage of WasmTarget 2019-06-30 14:43:45 +02:00
Volker Berlin
d2d6d363f1 handle different string formating of double values 2019-06-27 18:43:44 +02:00
Volker Berlin
40bb69fd16 Improve test speed by executing all tests of an wasm file at once. 2019-06-17 19:00:16 +02:00
Volker Berlin
0a4d03e974 Mark override methods as needed if the super methods are needed. 2019-06-10 11:39:19 +02:00
Volker Berlin
3d5e3af432 fix NPE after restructure 2019-06-09 23:25:28 +02:00
Volker Berlin
6468df956f write the function type definitions to the text format 2019-06-01 13:29:29 +02:00
Volker Berlin
30a8d55491 more debug details 2019-04-27 20:27:33 +02:00
Volker Berlin
3e9e1e1601 Enable test for SpiderMonkey 2019-04-22 16:34:47 +02:00
Volker Berlin
3af321a076 Use a temporary hack for SpiderMonkey WasmTextToBinary 2019-04-22 16:21:02 +02:00
Volker Berlin
04b3b67927 Enable tests with SpiderMonkey WasmTextToBinary() 2019-04-20 15:25:47 +02:00
Volker Berlin
97e3c9616f Skip some Tests for SpiderMonkeyWat because bugs in WasmTextToBinary 2019-04-20 15:11:08 +02:00
Volker Berlin
2cf6214d56 We does not use multiple return values anymore for "dup". 2019-04-19 17:55:24 +02:00
Volker Berlin
8ae609a5f5 Same error message for all SpiderMonkey tests. 2019-04-19 16:06:29 +02:00
Volker Berlin
839a7fda89 Use its own compiler result for SpiderMonkey 2019-04-19 15:57:56 +02:00
Volker Berlin
4ed31cd8f9 correct small problems in test 2019-04-19 10:54:56 +02:00
Volker Berlin
9653520c2b Rewrite the LocalVariableManager to handle the Java reuse of a variable slot with different type. 2019-04-14 14:29:09 +02:00
Volker Berlin
6c1e3e6322 add i/O error tests 2019-04-04 18:56:41 +02:00
Volker Berlin
d6464541e9 test getProperty() 2019-04-04 18:55:20 +02:00
Volker Berlin
209d72faec test NPE 2019-04-01 21:34:55 +02:00
Volker Berlin
a9554930f3 The source map lines are not zero based. Lines are one based. #6 2019-04-01 21:22:04 +02:00
Volker Berlin
40fdbaffc5 test direct compile again 2019-04-01 14:42:15 +02:00
Volker Berlin
0b1ff00ae5 next step for source map #6 2019-03-31 10:39:59 +02:00
Volker Berlin
66945d2974 improve "goto_w" support 2019-03-21 21:14:21 +01:00
Volker Berlin
0b3c1987f5 first support for "goto_w" Java bytecode instruction 2019-03-20 19:11:38 +01:00
Volker Berlin
40d61c56a8 support for more as 255 variable slots added. 2019-03-13 22:09:21 +01:00
Volker Berlin
4bb145d116 Error message for native methods 2019-03-12 22:36:43 +01:00
Volker Berlin
c2be64a525 implements java bytecode frem and drem 2019-03-12 21:27:23 +01:00
Volker Berlin
3d5a98627f improve wat parser for native support. #2 2019-03-12 21:21:06 +01:00
Volker Berlin
2a72dfa58d support offline tests 2019-03-12 21:19:20 +01:00
Volker Berlin
8e9533b2c3 enable reference_types for NodeWat test 2019-03-12 21:16:42 +01:00
Volker Berlin
2e7370dcfd ignore monitorenter and monitorexit from synchronized blocks. see #5 2019-03-10 18:32:26 +01:00
Volker Berlin
86defc3792 improve exception handling 2019-03-09 13:22:40 +01:00
Volker Berlin
3fbb679cb8 add producer section 2019-02-28 21:38:17 +01:00
Volker Berlin
7904f4026e Add support for Replace annotation to replace a single method. fix #4 2019-02-24 20:02:36 +01:00
Volker Berlin
abb6c8a38a enable-exceptions in Wat2Wasm 2019-02-23 14:16:05 +01:00
Volker Berlin
f08b3d0869 Replace the github API for downloading WABT with web GUI because it is limit from Travis. 2019-02-23 14:06:36 +01:00
Volker Berlin
9bcc7347c1 Change the old text format to the new format. fix #3 2019-02-22 23:19:10 +01:00
Volker Berlin
f5ed8aeeb6 get_local --> local.get, set_local --> local.set, see #3 2019-02-20 21:42:52 +01:00
Volker Berlin
de320797a6 prepare node wabt module only if needed 2019-02-19 21:00:05 +01:00
Volker Berlin
fce938f6fd Use Wat2Wasm tool to test the text format. 2019-02-17 10:11:16 +01:00
Volker Berlin
c43a571c30 download wabt tool 2019-02-12 21:16:34 +01:00
Volker Berlin
522f25c326 improve supported array opertions 2019-01-13 14:42:24 +01:00
Volker Berlin
9e4d83861c implements struct.get/set 2019-01-13 11:47:57 +01:00
Volker Berlin
13350e4413 enable debug names also for text output 2019-01-01 14:18:25 +01:00
Volker Berlin
0e02db9985 write function lazy to the output to hold space free for more meta informations 2019-01-01 12:26:32 +01:00
Volker Berlin
6196648cc0 add support for objects equals/not equals (if_acmpeq,if_acmpne) 2018-12-17 21:22:10 +01:00
Volker Berlin
9ba680848a first tests for structs (Objects). 2018-12-16 18:25:13 +01:00
Volker Berlin
30aa01c824 handling of Boolean return values 2018-12-14 21:19:47 +01:00
Volker Berlin
7701ce6993 write extra parameter for instance methods (non static) 2018-12-13 22:32:51 +01:00