73 Commits

Author SHA1 Message Date
Volker
e3764913c3 negate compare condition of if operations in the branch manager instead on parsing the byte code. 2018-08-03 18:04:08 +02:00
Volker
fbe2d97fc6 Add negateCompare() and fix typos in method names. 2018-08-03 17:25:31 +02:00
Volker
ce82010721 pass the compare instruction of an IF operation to the branch manager 2018-08-03 15:17:07 +02:00
Volker
e1fa502b2d docu 2018-08-03 12:50:12 +02:00
Volker
f2942bffc5 Improve the loop compiling and add support for while{} loops with condition on loop start. 2018-08-02 12:18:31 +02:00
Volker
bab58acebe add branch operation after the creating the in memory model and not on
parsing.
2018-07-15 18:06:25 +02:00
Volker
dde69e55c9 Add java code position to the WasmInstruction 2018-07-09 17:18:15 +02:00
Volker
24bfe22a51 Use an intermediate model in the memory of the parsed Java bytecode. 2018-06-21 18:49:55 +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
675d0e76d6 remove unneeded code 2018-05-20 15:57:38 +02:00
Volker Berlin
c8ef4fd3c7 first steps to compile loops 2018-05-20 11:54:06 +02:00
Volker Berlin
59757b3927 make difference between tableswitch and lookupswitch clearer 2018-05-12 09:59:42 +02:00
Volker Berlin
6c971c6525 implements lookupswitch 2018-05-11 22:07:22 +02:00
Volker Berlin
3fa6f5670e convert the GOTO in a switch into "br" 2018-05-08 22:20:33 +02:00
Volker Berlin
0ece5f2dfe use the ValueStackManager to start the switch block on the value
declaration
2018-05-07 18:46:15 +02:00
Volker Berlin
57fca76063 make private again 2018-05-06 14:33:22 +02:00
Volker Berlin
8ed4a37413 handle the table switch operation 2018-05-05 21:43:30 +02:00
Volker Berlin
ac9758334d Split BlockOperator; handle the br operator 2018-05-04 20:52:54 +02:00
Volker Berlin
29ec5ace04 Improve error messages in BranchManager 2018-05-01 11:46:42 +02:00
Volker Berlin
97283a1d39 new branch manager with internal hierarchy. 2018-03-30 17:33:23 +02:00
Volker Berlin
79ee98e8ce Implements the ELSE control structure 2018-03-27 20:04:35 +02:00
Volker Berlin
d26b9bbb94 first step of a "if" implementation 2018-03-25 12:57:04 +02:00