Commit Graph

764 Commits

Author SHA1 Message Date
Alexey Andreev
224810d0ab Wasm: support file IO and random generator in WASI 2022-11-08 19:44:56 +01:00
Alexey Andreev
e428e2ac7a Wasm: implement file IO in WASI 2022-11-08 17:24:58 +01:00
Alexey Andreev
3eb4b742ea Move FS support to teavm-core module 2022-11-07 09:53:46 +01:00
Alexey Andreev
8f4e4e811f Wasm: don't emit wasm-runtime.js file in WASI mode 2022-11-06 21:41:09 +01:00
Alexey Andreev
34eb06f5f0 Wasm: support command line args in WASI 2022-11-06 21:21:49 +01:00
Alexey Andreev
1ca2c75e1c Wasm: initial WASI support 2022-11-06 11:53:52 +01:00
Alexey Andreev
d5cdd740f5 Fix incorrect behaviour of Class.getInterfaces
fix #635
2022-11-04 16:15:30 +01:00
Alexey Andreev
752ec040b0 Wasm: fix resource files getting into garbage collection metadata 2022-11-04 14:48:53 +01:00
Alexey Andreev
6c6d440ebb С/wasm: don't include references metadata resource into GC stack roots and into class layout for GC. 2022-11-01 09:38:10 +01:00
Alexey Andreev
d097350787 Bump ASM version, use common ASM API version everywhere, bump ASM API version to 9 2022-10-05 11:09:53 +02:00
Alexey Andreev
2b671b8088 Fix issue with precedence of % operator 2022-08-25 12:48:59 +02:00
Alexey Andreev
ddddfcf217 Add option to disable assertions 2022-07-15 19:51:47 +03:00
Alexey Andreev
f0d805fda8 Support Java 17 records 2022-07-10 20:40:24 +03:00
Alexey Andreev
29fd95be95 Fix bugs related to MULTINEWARRAY in various backends 2022-07-10 18:16:16 +03:00
Alexey Andreev
98490e92f6 JS: fix strict mode null pointer check with inlining 2022-05-19 12:24:02 +03:00
Alexey Andreev
be259f1667 Fix false negatives when checking missing methods 2022-05-19 10:25:40 +03:00
Alexey Andreev
31f91bc63c C: fix overlapping file names 2022-05-16 11:59:25 +03:00
Alexey Andreev
5e37e2a45b Fix reporting missing static field if containing class is never referenced directly 2022-03-25 10:27:15 +03:00
Alexey Andreev
ce5e3bfeb7 C/Wasm: fix issue in GC 2021-12-16 18:39:26 +03:00
Alexey Andreev
15466bad93 C: fix heap dump generator 2021-12-16 14:54:23 +03:00
Alexey Andreev
1fa48560c6 C: add option to generate shorter output file names to workaround msvc bug 2021-12-10 18:51:12 +03:00
Alexey Andreev
08aa642fe5 C: prevent from casting to native function type 2021-08-31 15:11:17 +03:00
Alexey Andreev
c2f90d3cfc fix ClassInference for arrays 2021-08-30 17:53:14 +03:00
Alexey Andreev
c65a9e1c97 Fix bug in irreducible graph splitting algorithm 2021-07-15 19:17:11 +03:00
Alexey Andreev
220537d984 C: fix behaviour of nested try/catch statements 2021-04-15 20:55:52 +03:00
Alexey Andreev
73bd139b7e C: implement ServiceLoader 2021-04-14 23:02:09 +03:00
Alexey Andreev
4a62b58f82 Bug fixes in optimizer 2021-04-02 19:54:38 +03:00
Alexey Andreev
7058a195b7 JS: fix class of object created by multianewarray instruction 2021-04-01 12:05:18 +03:00
Alexey Andreev
c89bc11d02 Fix dominator tree builder, make it possible to choose starting node 2021-04-01 09:29:18 +03:00
Alexey Andreev
d710870c65 Fix possible NPE 2021-03-31 12:53:12 +03:00
Alexey Andreev
9972fe0c29 Rewrite node splitting algorithm 2021-03-30 12:07:14 +03:00
Alexey Andreev
b34e25414e C: fix support for resources 2021-03-24 18:52:54 +03:00
Alexey Andreev
00fba54d7b C: fix exception handling semantics with longjmp 2021-03-24 17:30:49 +03:00
Alexey Andreev
bb4315e486 C: fix missing files when casting to arrays 2021-03-24 16:09:01 +03:00
Alexey Andreev
6de830d5bd wasm: fix initialization order of system classes 2021-03-22 23:22:34 +03:00
Alexey Andreev
f2bac088f1 Fix more complex cases of irreducible CFGs during coroutine transformation 2021-03-22 22:09:41 +03:00
Alexey Andreev
9df897d298 Fix coroutine transformation. Make emulated threads work in Wasm 2021-03-22 21:28:50 +03:00
Alexey Andreev
eb495182d2 JS: fix runtime for Safari 2021-03-22 15:13:40 +03:00
Alexey Andreev
38cbd7e80b JS: fix async methods 2021-03-22 14:17:50 +03:00
Alexey Andreev
d6780ea637 Fix bug in global value numbering optimization 2021-03-22 14:17:50 +03:00
Alexey Andreev
bd53c1a5a2 wasm: trying to implement coroutines 2021-03-21 22:13:09 +03:00
Alexey Andreev
c4c1408160 wasm: fix running tests, add in-browser test runners 2021-03-20 19:52:45 +03:00
Alexey Andreev
b2b7a603b4 JS: fix array optimization 2021-03-19 14:16:29 +03:00
Alexey Andreev
75d06bebbf JS: fix bug in compilation of monitorenter instruction 2021-03-18 14:20:29 +03:00
JohannesS
f97484365c JS: fix overrides with default methods 2021-03-18 12:26:33 +03:00
Alexey Andreev
2c7b5be62e JS: fix long emulation in JS engines that don't support BigInt 2021-03-18 10:14:18 +03:00
Alexey Andreev
3779520389 C: fix after introducing CCE support 2021-03-18 01:03:01 +03:00
Alexey Andreev
67c639b875 JS: fix stack trace decoder with new CCE support 2021-03-17 21:49:06 +03:00
Alexey Andreev
4c0c7872a1 JS: add support for CCE in strict mode 2021-03-17 21:11:18 +03:00
Alexey Andreev
02e8955abc JS: fix overflow behaviour of unary minus 2021-03-17 10:16:07 +03:00