| Age | Commit message (Collapse) | Author |
|
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.
|
|
Also parse and handle warning/error output from native image compiler.
Note that the native-image compiler is quite noisy, so ignoring
"unknown" output for now.
|
|
|
|
|
|
|
|
|
|
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… .
|
|
|
|
|
|
Can be re-generated.
|
|
|