JVM IR: support value classes only when feature is enabled
Remove NeedsToVisit because it doesn't really help with performance, and it significantly increases code complexity.
This commit is contained in:
committed by
Space Team
parent
2dee47a8c1
commit
12bbdebed2
+1
-1
@@ -30,7 +30,7 @@ open class ScopeWithIr(val scope: Scope, val irElement: IrElement)
|
||||
|
||||
abstract class IrElementTransformerVoidWithContext : IrElementTransformerVoid() {
|
||||
|
||||
protected open val scopeStack = mutableListOf<ScopeWithIr>()
|
||||
private val scopeStack = mutableListOf<ScopeWithIr>()
|
||||
|
||||
protected open fun createScope(declaration: IrSymbolOwner): ScopeWithIr =
|
||||
ScopeWithIr(Scope(declaration.symbol), declaration)
|
||||
|
||||
Reference in New Issue
Block a user