[FIR] Don't create initializers for simple enum entries
Usually FIR enum entry is initialized by anonymous object, which is the container for all enum entry' declarations. However, for simple enum entries there is no need of initializer at all.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// CHECK_CASES_COUNT: function=box count=0
|
||||
// CHECK_IF_COUNT: function=box count=1
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
// CHECK_CASES_COUNT: function=foo count=0
|
||||
// CHECK_IF_COUNT: function=foo count=3
|
||||
|
||||
Reference in New Issue
Block a user