mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Don't coerce intrisic value, it's already coerced
This commit is contained in:
10
compiler/testData/codegen/bytecodeText/disabledOptimizations/noUnitInstanceOnVoidFunctionCall.kt
vendored
Normal file
10
compiler/testData/codegen/bytecodeText/disabledOptimizations/noUnitInstanceOnVoidFunctionCall.kt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// KOTLIN_CONFIGURATION_FLAGS: +JVM.DISABLE_OPTIMIZATION
|
||||
|
||||
fun bar() {}
|
||||
|
||||
fun foo() {
|
||||
bar()
|
||||
}
|
||||
|
||||
// 0 Unit\.INSTANCE
|
||||
// 0 POP
|
||||
Reference in New Issue
Block a user