[JVM IR] Move SYNTHETIC_ACCESSOR origin to IrDeclarationOrigin.Companion

We want to generate synthetic accessors not only on JVM (KT-64865),
so this is one of the prerequisites.
This commit is contained in:
Sergej Jaskiewicz
2024-02-02 21:18:35 +01:00
committed by Space Team
parent 86587a3bf2
commit 4325803262
7 changed files with 22 additions and 18 deletions
@@ -95,6 +95,12 @@ interface IrDeclarationOrigin {
val LOWERED_SUSPEND_FUNCTION by IrDeclarationOriginImpl.Synthetic
val SHARED_VARIABLE_IN_EVALUATOR_FRAGMENT by IrDeclarationOriginImpl.Synthetic
/**
* Used on synthetic accessor functions generated in place of references to e.g. private symbols in non-private inline functions,
* or `super` calls from lambdas and inline functions.
*/
val SYNTHETIC_ACCESSOR by IrDeclarationOriginImpl.Synthetic
}
/**