341 Commits

Author SHA1 Message Date
Volker Berlin
4104a87597 fix java signature parsing with multiple return types 2018-11-29 18:35:56 +01:00
Volker Berlin
b2a359746d more dup operations 2018-11-26 20:35:50 +01:00
Volker Berlin
a8a9d9eb1e Tests for duplicate stack values via native library with multiple return values. 2018-11-25 17:07:34 +01:00
Volker Berlin
ad7174ba8c Enable multiple return values 2018-11-25 17:05:37 +01:00
Volker Berlin
f71747a87f Move WasmTextCode from tests into the core of the compiler for internal use. 2018-11-18 13:00:49 +01:00
Volker Berlin
83a99ce803 test for WasmTextCode 2018-11-17 17:57:53 +01:00
Volker Berlin
fe442e42e6 implement max operation in text format 2018-11-16 20:27:19 +01:00
Volker Berlin
01c469247e npm link seems not to work on travis, use dummy files to prevent the warnings 2018-11-11 13:31:37 +01:00
Volker Berlin
088e689daa reduce npm warnings and improve speed through singel global installation 2018-11-11 12:27:40 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00:52 +01:00
Volker Berlin
db4a6e19bd Add skipped exceptions tests until JS engines can handle it. 2018-11-09 19:47:39 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
bdc5244ebb file extension is .wat and not .wast 2018-10-13 18:14:41 +02:00
Volker Berlin
103ae245a9 enable the debug output for the tests 2018-10-13 15:29:55 +02:00
Volker Berlin
bd6b2ef3c6 enable also in parseWat() the experimental code 2018-10-07 14:09:11 +02:00
Volker Berlin
f79038a19f Show also the outputstream in error case 2018-10-07 14:05:01 +02:00
Volker
10dcbd66b0 Add test for emptyMethod() 2018-09-28 18:41:10 +02:00
Volker
d9fcca86d0 Adapt changes in wabt.js 2018-09-28 18:40:33 +02:00
Volker
3577cded7f debug code for npm install wabt 2018-09-28 18:39:58 +02:00
Volker
e560cc95b6 Fix NPM for linux 2018-08-14 22:52:58 +02:00
Volker
3494c2a57a Add unit tests for the text output. 2018-08-14 22:36:43 +02:00
Volker
80a8b5d00d Test for static variables 2018-08-14 15:12:21 +02:00
Volker
fcaa15d22d Fix SWITCH start position detection and replace erroneous ValueStackManager 2018-08-11 18:12:40 +02:00
Volker
d7c13c018e Use the new Non-trapping float-to-int conversions for Java like behavior. 2018-08-11 15:46:20 +02:00
Volker
0822d9af8c END can not be outside of parent block 2018-08-10 20:35:17 +02:00
Volker
b5296e6268 test for conditional operator 2018-08-10 18:52:50 +02:00
Volker
9bf768c97b fix node location on Linux 2018-08-03 23:23:36 +02:00
Volker
f755d6fa1b add debug code to find the error on travis 2018-08-03 23:07:25 +02:00
Volker
4aedc02d5e use node version 10.8.0 for experimental features 2018-08-03 22:15:12 +02:00
Volker
a27733234f use experimental Sign-extension operators 2018-08-03 21:49:42 +02:00
Volker
ec10240c52 add tests for compare of non int data values 2018-08-03 19:42:20 +02:00
Volker
2a45895a62 activate for loop test 2018-08-03 18:05:03 +02:00
Volker
ca673d84ee more tests for "do while" and "while" loops. 2018-08-02 12:19:20 +02:00
Volker
6554e0fae3 Use annotation package from jwebassembly-api library 2018-06-11 18:47:10 +02:00
Volker Berlin
0c83869a81 support the do while(condition) loop 2018-06-02 23:57:04 +02:00
Volker Berlin
9b3993450e Fix "switch" with multiple "case" values for one block. 2018-06-01 22:04:34 +02:00
Volker Berlin
50648d74a1 test for calling a import function 2018-05-31 21:35:51 +02:00
Volker Berlin
7c0e5d84fb first loop test 2018-05-20 16:16:11 +02:00
Volker Berlin
2cb0988e68 Implements more if(compare) operation codes 2018-05-12 13:48:07 +02:00
Volker Berlin
6c971c6525 implements lookupswitch 2018-05-11 22:07:22 +02:00
Volker Berlin
e36f370c67 improve debug output 2018-05-11 12:21:14 +02:00
Volker Berlin
903c2e0e28 first switch test 2018-05-08 22:21:22 +02:00
Volker Berlin
a7fc8e0fc6 print debug details also on errors. 2018-05-05 21:37:37 +02:00
Volker Berlin
7ba809ac86 implements "neg" instruction code 2018-04-02 19:15:42 +02:00
Volker Berlin
327d685d32 implements "pop" instruction code 2018-04-02 11:53:12 +02:00
Volker Berlin
6da8916a75 implements all data conversions instruction codes 2018-04-02 10:48:24 +02:00
Volker Berlin
7b66756066 add support for the data types byte, short and char. 2018-03-31 19:34:27 +02:00
Volker Berlin
97283a1d39 new branch manager with internal hierarchy. 2018-03-30 17:33:23 +02:00
Volker Berlin
01386051af Test for iflt 2018-03-27 20:05:06 +02:00
Volker Berlin
a93add33cf add license 2018-03-27 19:58:31 +02:00