Commit Graph

3258 Commits

Author SHA1 Message Date
Alexey Andreev
58cef561a3 wasm gc: enable running tests by default 2024-09-26 18:39:53 +02:00
Alexey Andreev
f64f907b9f wasm gc: enable running tests in CI 2024-09-26 18:26:32 +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
e8c939f40b wasm gc: fix equality checks in records 2024-09-23 20:27:58 +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
Ivan Hetman
f85aa977eb
classlib: add Math cell/floor div/mod versions, add exact versions of methods 2024-09-23 15:46:05 +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
28c64ef7d8 samples: fix console output in pi example for Wasm BE 2024-09-19 20:41:12 +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
6968e2cee4 Repair samples 2024-09-19 20:07:30 +02:00
Alexey Andreev
7c27b56b2c Add teavm-local.properties to gitignore 2024-09-19 19:49:49 +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
64d6b1e570 wasm gc: add Gradle properties to copy runtime and write disassembly 2024-09-19 19:48:37 +02:00
Alexey Andreev
9fa88a15da wasm gc: add support to Gradle plugin 2024-09-19 08:24:50 +02:00
Alexey Andreev
10805ed0dd wasm gc: implement creation of multidimensional arrays 2024-09-18 20:34:29 +02:00
Alexey Andreev
34bba2a4a5 wasm gc: skip tests for features that won't be implemented during the first iteration 2024-09-18 14:44:14 +02:00
Alexey Andreev
3cf5fc10c8 wasm gc: emit string literals in WTF-8 rather than in UTF-8 2024-09-18 14:24:19 +02:00
Alexey Andreev
944fd22513 wasm gc: group structurally equal different substructures into recursive group in order to benefit from using native ref.test/rest.cast instructions for classes 2024-09-18 13:24:29 +02:00
Alexey Andreev
55ac5d0321 wasm gc: implement ServiceLoader 2024-09-17 20:14:29 +02:00
Alexey Andreev
36f7ec36f3 wasm gc: disable cast optimization and fix issue with short/char fields 2024-09-17 08:02:50 +02:00
Alexey Andreev
07b45fbec7 wasm gc: fix issues with switch expression 2024-09-17 07:46:26 +02:00
Alexey Andreev
7784969bb8 wasm gc: fix issues with casts 2024-09-16 13:49:38 +02:00
Alexey Andreev
7e622d8bc7 wasm gc: sort types, functions and globals in usage count order to reduce binary size 2024-09-15 11:02:55 +02:00
Alexey Andreev
86e8cfd0db wasm gc: reduce size of array construction 2024-09-14 19:34:56 +02:00
Alexey Andreev
e5d6603503 wasm gc: reduce size of class metadata and metadata initializer 2024-09-14 18:24:54 +02:00
Alexey Andreev
a503333c1b wasm gc: optimize null checks, casts and try/catch using branching instructions 2024-09-14 15:26:22 +02:00
Alexey Andreev
9aee15fa0f wasm gc: attach Java exception to Wasm exception 2024-09-14 13:02:31 +02:00
Alexey Andreev
7029d3cff7 wasm gc: implement branching instructions and null check instruction 2024-09-13 19:46:11 +02:00
Alexey Andreev
5acb9a4707 Fix checkstyle warnings 2024-09-13 13:27:22 +02:00
Alexey Andreev
4072111af5 wasm: fix error when generating casts 2024-09-13 13:25:26 +02:00
Alexey Andreev
6cf2ff3cc4 wasm gc: fix issue in calculating identity hashcode 2024-09-13 13:23:21 +02:00
Alexey Andreev
845523f1a7 wasm gc: implement flags for classes 2024-09-12 20:43:09 +02:00
Alexey Andreev
bfd2c8479c wasm gc: fix bugs related to casts and implement runtime method for converting date to string 2024-09-12 20:16:01 +02:00
Alexey Andreev
8e2cf27e94 wasm gc: fix bugs related to invalid nested temporary variable generation 2024-09-12 18:23:05 +02:00
Alexey Andreev
eccfaff889 wasm gc: fix bugs with Class 2024-09-11 20:07:05 +02:00
Alexey Andreev
d12637f959 wasm gc: fix issues related to class metadata 2024-09-11 15:45:37 +02:00
Alexey Andreev
1533794cf1 wasm gc: add strict mode, fix some bugs 2024-09-11 08:00:39 +02:00
Alexey Andreev
2d8556d0a2 wasm gc: implement enum constants 2024-09-10 15:32:27 +02:00
Alexey Andreev
8184c46bae Revert change is ResourceProgramTransformer which is not necessary for WasmGC BE, but breaks C BE 2024-09-09 19:06:52 +02:00
Ivan Hetman
e2699554b8
classlib: small BitSet fixes and improvements (#950) 2024-09-09 14:44:42 +02:00
Alexey Andreev
349ed8fc2d wasm gc: implement Class.getSuperclass and Object.clone, fix issue with resource maps 2024-09-09 14:23:58 +02:00
Alexey Andreev
fe0304ee67 wasm gc: reduce size of string literal initializer 2024-09-08 20:52:23 +02:00
Alexey Andreev
d0226aab88 wasm gc: implement some Class intrinsics, fix issues with type inference 2024-09-08 20:32:30 +02:00
Alexey Andreev
fea62af09a wasm gc: implement resources 2024-09-07 20:11:22 +02:00
Alexey Andreev
29dec0962b wasm gc: fix issues with type inference 2024-09-05 18:49:42 +02:00
Alexey Andreev
b36f38f48f classlib: fix parsing floats and doubles with large exponents 2024-09-05 09:08:53 +02:00