520 Commits

Author SHA1 Message Date
Volker Berlin
59789cd424 Normalize try catch tables 2021-10-31 14:13:53 +01:00
Volker Berlin
1ba650dce5 Stub Code for getDeclaredField 2021-10-24 17:36:09 +02:00
Volker Berlin
2fb70dd319 clear also breakOperations 2021-10-24 16:19:21 +02:00
Volker Berlin
87be1faafe Handle Conditional operator inside an if expression 2021-10-24 15:29:12 +02:00
Volker Berlin
0ef00ba2ab hack for Enum.valueOf(String) 2021-08-29 13:44:29 +02:00
Volker Berlin
a47d1e3bc8 reduce compiler warnings 2021-07-10 22:30:53 +02:00
Volker Berlin
cd96ed0d03 Fix jump for multiple exception catch 2021-07-10 19:10:01 +02:00
Volker Berlin
bac4522cfc correct decoding of exception handling 2021-06-13 19:36:03 +02:00
Volker Berlin
5fef399743 Handle DUP2 as two dup if used for non 64 bit values from stack (non variables) 2021-06-06 21:26:24 +02:00
Volker Berlin
71fad44962 Handle call of Object methods from arrays 2021-05-30 21:29:50 +02:00
Volker Berlin
3003daf65f implements Class.isPrimitive() 2021-05-30 15:35:37 +02:00
Volker Berlin
3508ed3e19 more Class API replacement stubs 2021-05-30 10:52:57 +02:00
Volker Berlin
6520370e02 Handle DUP2 as two dup if used for non 64 bit values 2021-05-23 22:12:29 +02:00
Volker Berlin
534cd19c0f implements Class.getSimpleName() 2021-05-23 14:36:18 +02:00
Volker Berlin
4f4f9ddc29 implement Class.isArray 2021-05-23 12:42:37 +02:00
Volker Berlin
466714bd88 more stub methods to compile the Java runtime 2021-05-23 12:04:20 +02:00
Volker Berlin
428794efae use original visibility also if not needed 2021-05-23 11:58:35 +02:00
Volker Berlin
4e9e5ca069 Fix IF construct with conditional operator inside THEN. 2021-05-16 18:44:23 +02:00
Volker Berlin
712ce90393 Add some stub code 2021-05-02 14:47:39 +02:00
Volker Berlin
6d89fa8eca Handle array component type for not init (null) values. 2021-05-02 14:19:55 +02:00
Volker Berlin
631bd4efc3 Define the this parameter with the best matching type. 2021-05-02 14:08:19 +02:00
Volker Berlin
2d7b7f2f50 TODO 2021-05-02 11:46:07 +02:00
Volker Berlin
b35279a960 The needThis flag must be set already on marking a function as needing. If it will set on scan it is to late for stack calculation. 2021-04-17 20:27:28 +02:00
Volker Berlin
1771ab1f39 Add support for Lambda expressions with parameters 2021-04-03 22:06:39 +02:00
Volker Berlin
6d4379b2e8 implements StructType.isSubTypeOf(x) for Arrays and Lambdas 2021-03-28 20:32:52 +02:00
Volker Berlin
1f167d99b9 implements StructType.isSubTypeOf(x) 2021-03-28 15:16:45 +02:00
Volker Berlin
f4fd312d31 fix assignment of parameters from stack for lambda expressions with parameters 2021-03-28 10:56:51 +02:00
Volker Berlin
d480471e27 Use also local.tee instruction for reused with dup instructions 2021-03-27 18:27:00 +01:00
Volker Berlin
4e2f35a073 ApiDoc @Nonnull 2021-03-27 16:37:30 +01:00
Volker Berlin
66ee596fcf pass the parameters of a lamba expression to the lambda type 2021-02-28 22:20:49 +01:00
Volker Berlin
d3261149e6 Update the exception handling support to the current proposal 2021-02-27 22:22:24 +01:00
Volker Berlin
cf7e66901d Add support for complex block types 2021-02-27 20:40:30 +01:00
Volker Berlin
99e406958f Type specific NULL constant values. 2021-02-14 16:27:10 +01:00
Volker Berlin
fb7e3e2468 array.len needs a match between variable type and given type. Thats wee needs a cast in WASM to come from Object to a specific array type. 2021-02-14 11:22:21 +01:00
Volker Berlin
c1e8191ee0 use also ref.cast for every cast. 2021-02-13 20:56:42 +01:00
Volker Berlin
bb97efa1f5 enable lambda expressions 2021-01-24 18:57:00 +01:00
Volker Berlin
740b7a8c19 add a variable slot for THIS parameter to lambda methods to increment the variable index. 2021-01-24 18:41:01 +01:00
Volker Berlin
c1869baee5 add THIS parameter to lambda methods 2021-01-24 13:49:23 +01:00
Volker Berlin
3e42160655 implement more Lambda stuff 2021-01-23 22:16:16 +01:00
Volker Berlin
cde24d98ed Fix Struct.NEW_DEFAULT for GC mode. 2021-01-16 17:38:11 +01:00
Volker Berlin
de1befcc1d Make interfaces castable to java/lang/Object 2021-01-12 22:10:14 +01:00
Volker Berlin
8263463be9 annotation 2021-01-03 19:20:44 +01:00
Volker Berlin
536fe8385f need also to use the component type for object array get/set instructions 2021-01-03 14:50:50 +01:00
Volker Berlin
4d2dfdeaa2 use array.get_s/get_u for packed array types (i8/i16) 2021-01-02 21:43:02 +01:00
Volker Berlin
6bd993617c fix the order of parameters on the stack for array.get/set 2021-01-02 20:48:29 +01:00
Volker Berlin
f9de14d88e improve array handling for GC mode 2021-01-02 16:44:38 +01:00
Volker Berlin
c96b27a12e declare the native array type with GC enabled 2020-12-27 17:39:35 +01:00
Volker Berlin
26ec7ece48 Handle different versions of a class in the library path 2020-12-12 20:42:46 +01:00
Volker Berlin
2c0db289cd match eqref also to "java/lang/Object" like externref 2020-12-08 20:56:20 +01:00
Volker Berlin
58d6cbc4de Does not register primitive types as StructType in wasm 2020-09-30 20:17:15 +02:00