Commit Graph

639 Commits

Author SHA1 Message Date
Alexey Andreev
40d2ab97ec wasm gc: add stack trace deobfuscator 2024-10-12 20:04:38 +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
e966690284 Fix failing tests 2024-09-28 19:58:55 +02:00
Alexey Andreev
054d4c2a24 wasm gc: generate array constructor using ref.struct_new 2024-09-26 19:32:02 +02:00
Alexey Andreev
951d0c53c3 wasm gc: fix Date API support 2024-09-26 18:24:15 +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
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
10805ed0dd wasm gc: implement creation of multidimensional arrays 2024-09-18 20:34:29 +02:00
Alexey Andreev
55ac5d0321 wasm gc: implement ServiceLoader 2024-09-17 20:14:29 +02:00
Alexey Andreev
07b45fbec7 wasm gc: fix issues with switch expression 2024-09-17 07:46:26 +02:00
Alexey Andreev
6cf2ff3cc4 wasm gc: fix issue in calculating identity hashcode 2024-09-13 13:23:21 +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
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
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
d0226aab88 wasm gc: implement some Class intrinsics, fix issues with type inference 2024-09-08 20:32:30 +02:00
Alexey Andreev
b36f38f48f classlib: fix parsing floats and doubles with large exponents 2024-09-05 09:08:53 +02:00
Alexey Andreev
9768a86378 Fix issues related to sigma nodes in phi updater 2024-09-03 20:50:07 +02:00
Alexey Andreev
10c3731c43 wasm gc: fix some issues and implement intrinsics
* properly cast exception type on catch blocks
* generate virtual table structures lazily
* fix calculation of types of a.field values
2024-08-27 13:28:49 +02:00
Alexey Andreev
4a345610cf wasm gc: reduce number of generated virtual table entries, reduce size of a simple program 2024-08-23 21:10:44 +02:00
Alexey Andreev
3e19ca341e wasm gc: fix support of class initialization, inherit arrays from Object, add support for clone in arrays 2024-08-23 21:10:44 +02:00
Alexey Andreev
335e2da4cf wasm gc: implement System.identityHashCode() and some Integer intrinsics 2024-08-23 10:14:39 +02:00
Alexey Andreev
5d109236d9 wasm gc: fix running tests in JUnit, fix remaining errors so that *few* tests pass 2024-08-21 14:29:56 +02:00
Alexey Andreev
5eb1e7d9bc wasm gc: implement intrinsics for Long and Class classes 2024-08-18 19:55:25 +02:00
Alexey Andreev
8dd344412e classlib: fix support of null string in System.out/err streams 2024-08-17 20:48:38 +02:00
Alexey Andreev
199032d48a wasm gc: support Array.newInstance 2024-08-17 20:48:03 +02:00
Alexey Andreev
eaf2c8189f wasm gc: implement some basic reflection-specific intrinsics in Object and Class 2024-08-13 20:51:20 +02:00
Alexey Andreev
e4fa6bd364 wasm gc: reduce number of generated virtual tables, fix non-matching types in case of null literals 2024-08-02 13:50:49 +02:00
Alexey Andreev
9b5e1e7661 wasm gc: fix remaining issues that prevent running trivial example 2024-08-01 20:25:18 +02:00
Alexey Andreev
a281c19363 wasm gc: draft Wasm GC backend 2024-07-28 14:31:34 +02:00
Alexey Andreev
13a959ce67 classlib: fix String.replace, add optimizations for some corner cases
Fix #932
2024-07-18 18:51:42 +02:00
Alexey Andreev
e53af544a0 classlib: fix bug with precision in Formatter 2024-07-11 18:26:12 +02:00
Jonathan Coates
1e5e9d50ed
classlib: add FileTime and BasicFileAttributes (#929) 2024-06-30 13:30:00 +02:00
Alexey Andreev
d6474c3aeb wasm: add model definitions for GC spec
- refactor Wasm type representation to include reference types
- refactor function representation for consistency with new type system

First step toward Wasm GC support
2024-06-26 20:41:01 +02:00
Alexey Andreev
3f74817af7 classlib: implement BufferedReader.lines 2024-04-29 20:19:46 +02:00
Alexey Andreev
0dd10899a0 classlib: implement CharSequence chars and codePoints 2024-04-29 19:15:27 +02:00
Alexey Andreev
d4f98a57d0 classlib: fix Stream.dropWhile 2024-04-27 20:26:22 +02:00
Alexey Andreev
31674f9744 classlib: improve performance of Appendable operations in System.out/System.err 2024-04-27 19:30:57 +02:00
pcoperatr
1a1c534535
classlib: add missing implementation of Appendable interface to PrintStream 2024-04-26 23:48:09 +03:00
Alexey Andreev
c066864c68 classlib: fix bug in Stream.takeWhile
Fix #913
2024-04-26 21:30:13 +02:00
Alexey Andreev
e94b171fe9 Update CLDR 2024-04-16 19:06:02 +02:00
Alexey Andreev
ed908cb592 Update tzdata 2024-04-16 19:03:51 +02:00
Alexey Andreev
e7c28da4e2 classlib: fix ThreadLocal implementation for multi-thread case 2024-04-16 18:40:44 +02:00
Alexey Andreev
931f0f1f4a jso: support varargs in exported classes and modules 2024-04-15 20:53:24 +02:00
Alexey Andreev
9b41e3e814 classlib: add CopyOnWriteArrayList implementation 2024-04-09 21:01:41 +02:00
Alexey Andreev
e069bc3a44 classlib: implement WeakHashMap
Fix #799
2024-04-03 19:11:48 +02:00