mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Optimize defaults format: avoid reduntant stack normalization operations
This commit is contained in:
5
compiler/testData/codegen/bytecodeText/defaultMethodBody.kt
vendored
Normal file
5
compiler/testData/codegen/bytecodeText/defaultMethodBody.kt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
fun test(a: Int, z: String = try{"1"} catch (e: Exception) {"2"}) {
|
||||
"Default body"
|
||||
}
|
||||
|
||||
//1 ILOAD 0\s*ALOAD 1\s*INVOKESTATIC DefaultMethodBodyKt\.test \(ILjava/lang/String;\)V
|
||||
Reference in New Issue
Block a user