Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
coercionToUnitOptimization
/
safeCall.kt
blob: 0baa78fd8210faf7896d3f768be685787b6ad310 [
file
] [
log
] [
blame
]
// TODO KT-36654 Generate more compact bytecode for safe call in JVM_IR
interface
A
{
fun foo
()
}
fun test
(
x
:
A
?)
{
x
?.
foo
()
}
// JVM_TEMPLATES
// 1 POP
// 0 ACONST_NULL
// JVM_IR_TEMPLATES
// 0 ACONST_NULL