summaryrefslogtreecommitdiff
path: root/tools/gen_class.py
AgeCommit message (Collapse)Author
4 hoursRemove fallback, not neededJoel Klinghed
7 daysAdd --no-log stub flavor and a second jarJoel Klinghed
The --no-log flag in gen_class.py is now wired through the body generators: emitted stubs skip KotlinProxyLog.loaded()/call() and route reference returns through kotlin.proxy.KotlinProxyNoLog.returnValue instead, so the generated trio references only KotlinProxyNoLog (call/ loaded methodrefs are kept out of the constant pool; max_stack is recomputed for the logging-free bodies). Makefile builds two jars from the same kotlin.proxy.* sources: dist/kotlin-proxy-compiler-stubs.jar (logging) and dist/kotlin-proxy-compiler-stubs-nolog.jar (--no-log). Adds KotlinProxyNoLog (logging-free returnValue/newInstance) and ignores its build outputs like the log flavor's.
11 daysgen_class: Fix class reference resolutionJoel Klinghed
There is no dependency order in the constant table, a class reference may reference a name with a higher index for example.
2026-11-07Bump kotlin to 2.4.21Joel Klinghed
Support <clinit>
2026-11-05Pass the receiver instance to KotlinProxyOverrides.invokeJoel Klinghed
The generated returnValue call now carries the stub instance the method was called on (null for statics), so overrides can keep per-compiler state instead of statics: the performance manager is now stored in an IdentityHashMap keyed by receiver, and OVERRIDE log lines carry the receiver's identityHashCode as inst=0x… .
2026-11-05First steps for overridesJoel Klinghed
2026-11-02Initial commitJoel Klinghed