374 Commits

Author SHA1 Message Date
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
Volker Berlin
8d7ea08f64 implements byte code ifne 2018-03-25 21:06:18 +02:00
Volker Berlin
07c18fac6b print debug output only in failed case. 2018-03-25 20:55:29 +02:00
Volker Berlin
01ab665681 first tests for control flow operations like "if" 2018-03-25 12:57:58 +02:00
Volker Berlin
d26b9bbb94 first step of a "if" implementation 2018-03-25 12:57:04 +02:00
Volker Berlin
39ca8a383c use AbstractBaseTest 2018-03-24 19:12:15 +01:00
Volker Berlin
e8e066506e activate JS script engine node in tests 2018-03-24 18:01:13 +01:00
Volker Berlin
fa1fd6062b Adapt the expected error message for node. 2018-03-24 17:36:26 +01:00
Volker Berlin
3ab57b3804 Add try catch to execution errors 2018-03-24 17:32:48 +01:00
Volker Berlin
cf71920447 Add compileToBinary() for samples 2018-03-24 12:49:23 +01:00
Volker Berlin
6a2e33ac8a Add support for invoke static method calls 2018-03-24 12:43:11 +01:00
Volker Berlin
4836024e4e Add support for invoke static method calls 2018-03-24 12:33:56 +01:00
Volker Berlin
c548779c76 newline encoding 2018-03-24 12:31:06 +01:00
Volker Berlin
b5d4825b56 reorganize tests 2017-04-17 08:23:26 +02:00
Volker Berlin
ff8a5cd67b reorganize tests 2017-04-17 08:22:31 +02:00
Volker Berlin
4b2089b88d the shift parameter for i64 data must also be of type i64. 2017-04-16 23:24:37 +02:00
Volker Berlin
28d4fb9b1c add support for inc/dec 2017-04-16 11:28:11 +02:00
Volker Berlin
65c83c8f4b smoke test for wasm.compileToText() 2017-04-16 11:27:28 +02:00