Commit Graph

1093 Commits

Author SHA1 Message Date
Alexey Andreev
2e0864017b wasm gc: improve exception stack trace when exception is thrown from wasm and rethrown between Java and JS 2024-10-24 20:05:57 +02:00
Alexey Andreev
24d672e820 Fix support for multi-dimensional arrays of degree 3 and more in dependency analyzer 2024-10-24 18:28:28 +02:00
Alexey Andreev
ce862b9eaa wasm gc: support ReferenceQueue 2024-10-18 19:48:48 +02:00
Alexey Andreev
f3e035148d wasm gc: add support for importing modules in more cases 2024-10-17 20:18:56 +02:00
Alexey Andreev
e4a2550cc6 wasm gc: add support for imports from JS 2024-10-17 19:35:23 +02:00
Alexey Andreev
1fadc71536 wasm gc: improve gradle plugin settings 2024-10-16 18:41:53 +02:00
Alexey Andreev
d68018d2d3 wasm gc: support source maps 2024-10-14 20:24:34 +02:00
Alexey Andreev
2f678ccb6c wasm gc: make stack trace deobfuscator work in Firefox 2024-10-14 14:05:32 +02:00
Alexey Andreev
d37ab2a276 wasm gc: fix issues with stack trace deobfuscator 2024-10-14 14:00:16 +02:00
Alexey Andreev
cfd381f47b wasm gc: fix bugs in stack trace deobfuscator 2024-10-13 20:26:37 +02:00
Alexey Andreev
4f9208c4d4 wasm gc: more configuration options to set up stack trace deobfuscation 2024-10-13 19:05:44 +02:00
Alexey Andreev
40d2ab97ec wasm gc: add stack trace deobfuscator 2024-10-12 20:04:38 +02:00
Alexey Andreev
0b292bb510 Trying to fix build on CI 2024-10-11 18:24:35 +02:00
Alexey Andreev
069caf63cf Trying to fix build on CI 2024-10-11 18:09:27 +02:00
Alexey Andreev
cb3ce477e2 wasm gc: preprocess JS runtime with uglifyjs, add modular runtime 2024-10-11 13:48:29 +02:00
Alexey Andreev
14a4a99fa5 wasm gc: fix exporting classes to JS 2024-10-10 19:12:40 +02:00
Alexey Andreev
0dcc25d66b wasm gc: support exporting declarations as JS entities from module 2024-10-08 20:09:43 +02:00
Alexey Andreev
73dda91d35 wasm gc: minor optimizations; make initializer functions Wasm start function; fix compilation; remove debugging output 2024-10-06 17:29:27 +02:00
Alexey Andreev
f95250ddf7 wasm gc: fix inlining support in debug info builder, fix support of debug info in disassembler 2024-10-06 16:54:57 +02:00
Alexey Andreev
c2eb11e056 wasm gc: support writing debug info, support it in disassembler 2024-10-04 18:49:58 +02:00
Alexey Andreev
7aec0763fa wasm gc: fix issue with JS exceptions, trying to propagate Java exception message to JS error message 2024-10-04 16:56:47 +02:00
Alexey Andreev
753a028fc9 wasm gc: improve performance of JS interop 2024-10-04 15:38:14 +02:00
Alexey Andreev
3218a00eb9 wasm gc: support JS exceptions 2024-10-04 11:49:17 +02:00
Alexey Andreev
1d47146f43 wasm gc: support JS functions with varargs 2024-10-04 10:02:06 +02:00
Alexey Andreev
a5212fb9ca wasm gc: support imported functions in disassembler 2024-10-04 09:40:54 +02:00
Alexey Andreev
eba0e2b2e8 wasm gc: fix issues with arrays of JS objects, unignore passing test 2024-10-03 22:23:56 +02:00
Alexey Andreev
8ce104ae64 Fix bug in GVN that prevented optimizations in same basic block 2024-10-03 19:38:54 +02:00
Alexey Andreev
68a1b2efae wasm gc: fix issue with dependency initialization order 2024-10-02 20:18:04 +02:00
Alexey Andreev
802efd49c6 wasm gc: fix String.intern support 2024-10-02 20:04:18 +02:00
Alexey Andreev
0bd7bc6ca9 wasm gc: fix support of legacy Object.cast method 2024-10-02 19:27:43 +02:00
Alexey Andreev
551f0505c7 wasm gc: fix support of cast/instanceof for JS types; fix accessing top-level declarations 2024-10-02 14:54:40 +02:00
Alexey Andreev
a291eb3026 wasm gc: support wrapping JS values in Java 2024-10-02 14:31:33 +02:00
Alexey Andreev
4b76396332 wasm gc: basic support for functors in JSO 2024-10-01 14:43:53 +02:00
Alexey Andreev
383fee67c5 wasm gc: support exporting Java classes to JavaScript 2024-10-01 13:57:20 +02:00
Alexey Andreev
5ad4496c34 wasm gc: support primitive array conversion to JavaScript in JSO 2024-09-28 19:52:14 +02:00
Alexey Andreev
bbf45760b8 wasm gc: implement simple features from JSO 2024-09-28 19:20:48 +02:00
Alexey Andreev
33f4537f43 wasm gc: use non-null array storage type 2024-09-27 13:50:45 +02:00
Alexey Andreev
1d81b7004f Fix possible bug with exceptions in GVN 2024-09-26 20:39:29 +02:00
Alexey Andreev
054d4c2a24 wasm gc: generate array constructor using ref.struct_new 2024-09-26 19:32:02 +02:00
Alexey Andreev
4d416af7dc wasm gc: reduce amount of code generated for initialization of strings 2024-09-26 18:59:44 +02:00
Alexey Andreev
951d0c53c3 wasm gc: fix Date API support 2024-09-26 18:24:15 +02:00
Alexey Andreev
b9f406dcaa wasm gc: general implementation of System.arraycopy 2024-09-26 07:57:46 +02:00
Alexey Andreev
dd24425de0 wasm gc: support resources 2024-09-25 13:39:03 +02:00
Alexey Andreev
f8022f9465 wasm gc: fix issues in Java 17 switch expression and metaprogramming API 2024-09-23 20:23:24 +02:00
Alexey Andreev
4546029a5a wasm gc: implement String.intern 2024-09-23 15:39:08 +02:00
Alexey Andreev
8ed8322b17 wasm gc: basic implementation of WeakReference 2024-09-20 15:03:43 +02:00
Alexey Andreev
6613d379ec wasm gc: don't generate emulated casts in non-strict mode 2024-09-19 20:40:45 +02:00
Alexey Andreev
29339f3fbc Fix old Wasm backend 2024-09-19 20:26:32 +02:00
Alexey Andreev
21cc3b048b wasm gc: fix broken module when Class.getName is never called 2024-09-19 19:49:25 +02:00
Alexey Andreev
10805ed0dd wasm gc: implement creation of multidimensional arrays 2024-09-18 20:34:29 +02:00