1254 Commits

Author SHA1 Message Date
Volker Berlin
fbd6027055
toString() for debugging 2022-09-17 16:51:54 +02:00
Volker Berlin
60d24f2feb
Fix StrucType.isSubTypeOf() for sub interfaces. 2022-09-03 20:47:49 +02:00
Volker Berlin
6294172dbc
parse Bootstarp of java/lang/invoke/StringConcatFactory for Java 11 2022-09-03 18:15:55 +02:00
Volker Berlin
e4692a4e52
enable assertion 2022-08-01 20:02:59 +02:00
Volker Berlin
7d2152a5df
Fix complex catch blocks with reverse multiple catch 2022-08-01 19:52:10 +02:00
Volker Berlin
50ca777dc3
Lambdas with parameters had one value too many on the stack. 2022-07-31 20:38:04 +02:00
Volker Berlin
82cf49aa41
fix lambda expressions with field access 2022-07-31 13:33:24 +02:00
Volker Berlin
024be2c50c
fix lambda expressions with field access 2022-07-31 12:00:07 +02:00
Volker Berlin
fbbbae0980
remove debug code 2022-07-31 11:39:56 +02:00
Volker Berlin
f8a79c16e0
Fix complex catch blocks with multiple catch 2022-07-29 22:15:39 +02:00
Volker Berlin
5013f2f819
fix wrong block return type calculation with synchronized 2022-07-27 21:21:03 +02:00
Volker Berlin
f5e8e48356
fix NPE with "IgnoreNative" 2022-07-27 19:48:49 +02:00
Volker Berlin
c6fc938a3d
Give CATCH blocks the right order with finally most outer block. 2022-07-26 21:25:09 +02:00
Volker Berlin
855713a519
fix CONTINUE in a CATCH block 2022-07-24 14:29:32 +02:00
Volker Berlin
4722445f24
clean code, remove unused code 2022-07-23 19:58:56 +02:00
Volker Berlin
fd3c698ef5
correct the end position of CATCH blocks 2022-07-18 21:23:28 +02:00
Volker Berlin
bf7518e5d4
Fix ConcurentModificationException 2022-07-18 20:20:53 +02:00
Volker Berlin
a32b3af059
revert registering function StringTable.stringConstant 2022-07-17 20:56:45 +02:00
Volker Berlin
3e5d966548
Use @Partial for ReplacementForClass 2022-07-17 19:54:05 +02:00
Volker Berlin
94be918c36
Add support for native methods with @WasmTextCode in @Partial classes 2022-07-17 19:49:04 +02:00
Volker Berlin
c2655dbce2
Fix compound IF that continue a loop 2022-07-17 19:46:12 +02:00
Volker Berlin
a5e4b6a353
more method stubs from Class 2022-07-16 23:11:53 +02:00
Volker Berlin
56ac30b3b1
Replacement for asSubclass() 2022-07-16 21:59:51 +02:00
Volker Berlin
0ff60a2809
A middle block should not start at beginning of a CATCH block 2022-07-16 15:17:59 +02:00
Volker Berlin
e512ee4e65
Detect more block overlapping for IF instructions. 2022-07-10 15:55:31 +02:00
Volker Berlin
28cc29a30a
add stub for getModifiers() 2022-06-26 22:07:23 +02:00
Volker Berlin
9da6d8e736
Add the compiler flag "IgnoreNative" to generate stubs for rall not replaced, referenced native methods. #43 2022-06-26 17:36:30 +02:00
Volker Berlin
330634ea7f
fix TRY CATCH inside a loop without end marker. 2022-06-26 16:19:40 +02:00
Volker Berlin
b43c27cb8e
remove obsolete elseEndPos 2022-06-19 20:30:15 +02:00
Volker Berlin
9d1c9ee93b
expand a loop if there is a SWICH structure that point outside the loop. #43 2022-06-19 16:20:17 +02:00
Volker Berlin
47c28f7d46
use for IF conditions also a block with input parameter to prevent problems with not splitable instruction like DUP (Java) or TEE (Wasm) #43 2022-06-19 14:09:49 +02:00
Volker Berlin
2b27364466
@Nonnull 2022-06-19 14:04:21 +02:00
Volker Berlin
aa6a851db4
Write block types without newlines. 2022-06-19 13:31:30 +02:00
Volker Berlin
511d31af67
Add support for a block with input and return type. 2022-06-18 19:47:43 +02:00
Volker Berlin
4bb7f8f555
performance optimizing 2022-06-18 19:44:59 +02:00
Volker Berlin
062e2aeb47
fix while(true) inside a while(true) loop. #43 2022-06-16 22:47:22 +02:00
Volker Berlin
f5edb58911
define CATCH_ALL 2022-06-12 21:23:19 +02:00
Volker Berlin
4611474ec5
Fix TRY CATCH with RETURN. 2022-06-12 21:02:43 +02:00
Volker Berlin
a46cbe2bc5
fix handling of subopertions in a SWITCH and add more asserts. #43 2022-06-06 20:24:19 +02:00
Volker Berlin
4958cb2f46
convert also AssertErrors to WasmExceptions 2022-06-06 15:37:12 +02:00
Volker Berlin
442e0c896c
Use the normal break handling for the GOTO in the CASEs of an SWITCH. This eliminates the need to calculate the end of the SWITCH structure. #43 2022-06-06 15:21:14 +02:00
Volker Berlin
c392afc76f
Use a BLOCK with input parameters for SWITCHES so that the start position of the SWITCH value does not have to be determined. #43 2022-06-05 23:04:12 +02:00
Volker Berlin
3d5543fa38
toString() for debugging 2022-06-05 19:16:33 +02:00
Volker Berlin
56f46fcbe6
parse lambdas with two interfaces 2022-06-05 00:00:16 +02:00
Volker Berlin
f393802418
fix BranchNode order for some complex constructs. #43 2022-05-29 10:47:50 +02:00
Volker Berlin
d182bace9a
Catch block should not larger as the parent. 2022-05-28 21:40:31 +02:00
Volker Berlin
b4828b4659
Handle also Lamba for interfaces 2022-05-28 21:36:00 +02:00
Volker Berlin
97f9fb39a7
Ignore parsing errors on non *.class files which can be add through build systems. #41 2022-05-28 16:36:37 +02:00
Volker Berlin
ad93c2c10b
Parse also the annotation types: class, enum and annotation. #41 2022-05-28 15:48:13 +02:00
Volker Berlin
d46050a3a3
Does not include the end position of a block in findChildNodeAt() 2022-05-27 21:42:09 +02:00