383 Commits

Author SHA1 Message Date
Volker Berlin
03957b0988 Add a placeholder for jumps instructions to better inspect the stack. 2020-03-26 18:21:50 +01:00
Volker Berlin
b3bef1570a write string constant in the text format for easer reading 2020-03-22 12:36:01 +01:00
Volker Berlin
548d701444 write string constant in the text format for easer reading 2020-03-21 22:57:42 +01:00
Volker Berlin
63384e359a fix do while with multiple conditions 2020-03-21 21:16:10 +01:00
Volker Berlin
ab95396471 never break inside conditional operator 2020-03-21 15:58:50 +01:00
Volker Berlin
7bf1a26a37 add all used functions to the vtable (also abstract methods) 2020-03-21 10:40:22 +01:00
Volker Berlin
ae0f1e3410 add FunctionType to differ between real and abstract methods 2020-03-20 20:35:13 +01:00
Volker Berlin
dbf658ec41 fix getAbstractedFunctions() 2020-03-20 19:47:42 +01:00
Volker Berlin
ff5b8f8442 add support for abstract methods, WIP 2020-03-18 21:37:56 +01:00
Volker Berlin
d73612715f recursive scan methods and type hierarchy 2020-03-15 20:51:19 +01:00
Volker Berlin
775496640c add support for Class constants 2020-03-15 15:49:52 +01:00
Volker Berlin
386c5adf28 Class replacement need also StringManager.stringsMemoryOffset. 2020-03-15 12:00:15 +01:00
Volker Berlin
d3e3c4ff5d API docu 2020-03-15 11:09:10 +01:00
Volker Berlin
af5f713a70 skip the length of the instanceof list 2020-03-15 11:08:55 +01:00
Volker Berlin
259a7130f1 improve java.lang.Class replacement, WIP 2020-03-14 23:02:58 +01:00
Volker Berlin
946e911982 implementation of a a replacement for java.lang.Class 2020-03-14 19:21:37 +01:00
Volker Berlin
a6f1743109 simplify the string count 2020-03-11 20:03:00 +01:00
Volker Berlin
cc4a5e7858 add table for classes 2020-03-11 19:55:59 +01:00
Volker Berlin
853ee503e7 Add a field for the HashCode to any object. 2020-03-08 21:14:57 +01:00
Volker Berlin
83188e87e6 remove obsolete TODO 2020-03-08 17:37:58 +01:00
Volker Berlin
5eed2c2e79 write the class name of all classes in the wasm file for later use 2020-03-07 18:35:52 +01:00
Volker Berlin
62b16ac07e Fix switch blocks with string cases and add tests. 2020-03-07 17:01:59 +01:00
Volker Berlin
f120c40de3 fix NPE with a string switch if the default case is not the last case block. 2020-03-05 22:30:36 +01:00
Volker Berlin
6923765683 add support for SWICH of strings 2020-03-05 21:31:15 +01:00
Volker Berlin
a4040a8d3b optimize the DUP instruction, only use a temp local variable if needed. 2020-03-01 19:02:49 +01:00
Volker Berlin
3d8f49c79a simplify the scan and the compiler structure, remove some old hacks. 2020-02-29 16:14:32 +01:00
Volker Berlin
758f31e79c add support for CAST operation 2020-02-28 18:04:28 +01:00
Volker Berlin
8264897215 fix JavaDoc 2020-02-27 11:25:41 +01:00
Volker Berlin
6c820ba5e6 implements INSTANCEOF operation 2020-02-26 18:02:59 +01:00
Volker Berlin
f761e4bf44 add support for "instanceof", WIP 2020-02-26 10:35:20 +01:00
Volker Berlin
02696a6488 use a synthetic function call to calculate the function id of a virtual call. 2020-02-25 18:05:12 +01:00
Volker Berlin
2f2c39a07a simplify the initializing 2020-02-24 21:08:29 +01:00
Volker Berlin
f2547bd0d2 duplicate THIS parameter also for interface calls 2020-02-24 18:16:36 +01:00
Volker Berlin
cb71374f57 add interface calls, WIP 2020-02-24 11:46:00 +01:00
Volker Berlin
a535c48363 API doc 2020-02-24 11:17:11 +01:00
Volker Berlin
88e539f2a0 remove dead code 2020-02-24 11:14:28 +01:00
Volker Berlin
8fd7ae26f7 ref_ne need also the non GC polyfill 2020-02-23 20:18:57 +01:00
Volker Berlin
82e5f367b8 fix debug message on error 2020-02-23 20:17:37 +01:00
Volker Berlin
762ecba363 Add error message for not supported class constants 2020-02-23 17:51:32 +01:00
Volker Berlin
a57d3020f9 fix wrong debug information 2020-02-23 17:50:23 +01:00
Volker Berlin
8379416cb8 add support for multi dimension array allocation 2020-02-09 18:05:31 +01:00
Volker Berlin
ce05e7aa5d remove obsolete hack 2020-02-01 20:31:27 +01:00
Volker Berlin
5410764249 implement CAST operation, WIP 2020-02-01 20:29:29 +01:00
Volker Berlin
8c12f5a3c9 implement "instanceof", WIP 2020-02-01 16:49:52 +01:00
Volker Berlin
674eb84129 test for interface calls 2020-01-26 14:29:27 +01:00
Volker Berlin
43b41d4fad interface call, WIP 2020-01-25 23:42:22 +01:00
Volker Berlin
45b5a4a955 InvokeDynamic, WIP 2020-01-25 21:17:42 +01:00
Volker Berlin
4872dd137a Add support for partial classes 2020-01-19 15:15:01 +01:00
Volker Berlin
7247623dc6 use also registered replace methods if does not exists an original in the current search path. 2020-01-12 19:13:20 +01:00
Volker Berlin
8a24d0b8b8 remove debug code 2020-01-12 19:11:08 +01:00