798 Commits

Author SHA1 Message Date
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
dd01ad10b2 generalize the use of the flag useGC 2020-03-18 22:23:45 +01:00
Volker Berlin
ff5b8f8442 add support for abstract methods, WIP 2020-03-18 21:37:56 +01:00
Volker Berlin
16f49f3078 add isAbstract() 2020-03-16 21:48:32 +01:00
Volker Berlin
d73612715f recursive scan methods and type hierarchy 2020-03-15 20:51:19 +01:00
Volker Berlin
52204c23a5 use also UTF-8 encoding for JavaDoc 2020-03-15 16:02:12 +01:00
Volker Berlin
775496640c add support for Class constants 2020-03-15 15:49:52 +01:00
Volker Berlin
eba564fe67 Tests for getClass().getName() 2020-03-15 12:05:54 +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
d2cf5eaaaf remove debug code 2020-03-15 10:55:43 +01:00
Volker Berlin
259a7130f1 improve java.lang.Class replacement, WIP 2020-03-14 23:02:58 +01:00
Volker Berlin
3989070fe0 improve Class replacement 2020-03-14 23:00:51 +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
9a157b74a2 Does not export memory. No JavaScript access is needed. 2020-03-11 19:34:49 +01:00
Volker Berlin
7774b7c04a Test for hashCode() 2020-03-08 21:15:31 +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
2121984eea Roadmap updated 2020-03-08 12:18:31 +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
7ed9ee576a add the original method name as comment to a call_indirect. 2020-02-29 15:56:36 +01:00
Volker Berlin
758f31e79c add support for CAST operation 2020-02-28 18:04:28 +01:00
Volker Berlin
dd74a8beae add unreachable to the wat parser 2020-02-28 15:58:35 +01:00
Volker Berlin
499cddfb0b print the JavaScript stacktrace on error for simpler debugging 2020-02-28 10:00:44 +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
0138eb5dc0 add i32.eq, i32.ne, loop, br and br_if to the wat parser. 2020-02-26 17:57:19 +01:00
Volker Berlin
f761e4bf44 add support for "instanceof", WIP 2020-02-26 10:35:20 +01:00
Volker Berlin
2ec9600d32 Split the wasm stream for reused in generation data section stream 2020-02-26 10:17:11 +01:00
Volker Berlin
7a854ed786 Split the wasm stream for reused in generation data section stream 2020-02-26 10:05:59 +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
db002f8d96 API doc 2020-02-25 15:36:54 +01:00
Volker Berlin
742eb6e128 improve error message 2020-02-25 14:57:11 +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