17 Commits

Author SHA1 Message Date
Volker Berlin
d182bace9a
Catch block should not larger as the parent. 2022-05-28 21:40:31 +02:00
Volker Berlin
d46050a3a3
Does not include the end position of a block in findChildNodeAt() 2022-05-27 21:42:09 +02:00
Volker Berlin
bf58d2968a
Change the used Wasm instruction from IF ELSE END to BLOCK BLOCK BR_IF END END to solve problems of complex if expressions. 2022-05-26 21:50:45 +02:00
Volker Berlin
9acda37be4
fix conditionals expressions as method parameters in a SWITCH. 2022-05-07 21:19:48 +02:00
Volker Berlin
4b2b65e883 prevent empty ELSE branches 2022-04-24 18:18:29 +02:00
Volker Berlin
2f8538dbf5 extract method calculateSubOperations() 2022-04-24 17:19:10 +02:00
Volker Berlin
aabff4d93c Use BR_IF if possible. 2022-04-24 16:19:41 +02:00
Volker Berlin
9470db15b7 fix loop detection for nested loops 2022-03-19 17:35:18 +01:00
Volker Berlin
f52c41ae14 fix loop detection for nested loops 2022-03-13 14:16:31 +01:00
Volker Berlin
d629fbcd02 correct LOOP detection in an ELSE block 2022-02-20 18:32:07 +01:00
Volker Berlin
9f0f82bb06 Use also RETURN in the BranchManager to calculate the IF THEN ELSE blocks. 2022-02-19 22:15:56 +01:00
Volker Berlin
84f2f45d4c fix WHILE loop after a return 2022-02-13 15:46:43 +01:00
Volker Berlin
86f95ad3bb fix WHILE loop after a return 2022-02-13 13:18:32 +01:00
Volker Berlin
71d2b91895 fix a while loop in ELSE after an return. 2022-01-30 14:34:39 +01:00
Volker Berlin
cbcf9fdfbc use local variable for performance 2022-01-29 22:11:21 +01:00
Volker Berlin
ec7f23a35f Fix a loop inside an ELSE block 2022-01-23 16:48:40 +01:00
Volker Berlin
2fa6dfedf8 fix typo in class name 2022-01-02 18:20:34 +01:00