Convert to expression body
This commit is contained in:
parent
a8fa385497
commit
a7302f49ff
@ -44,9 +44,7 @@ internal fun MethodVisitor.visitCheckCast(type: String): Unit = visitTypeInsn(CH
|
|||||||
internal fun MethodVisitor.visitGetField(owner: String, name: String, descriptor: String): Unit =
|
internal fun MethodVisitor.visitGetField(owner: String, name: String, descriptor: String): Unit =
|
||||||
visitFieldInsn(GETFIELD, owner, name, descriptor)
|
visitFieldInsn(GETFIELD, owner, name, descriptor)
|
||||||
|
|
||||||
internal fun MethodVisitor.visitLoadObjectVar(`var`: Int) {
|
internal fun MethodVisitor.visitLoadObjectVar(`var`: Int): Unit = visitVarInsn(ALOAD, `var`)
|
||||||
visitVarInsn(ALOAD, `var`)
|
|
||||||
}
|
|
||||||
|
|
||||||
internal fun MethodVisitor.visitGetObjectArrayElement(): Unit = visitInsn(AALOAD)
|
internal fun MethodVisitor.visitGetObjectArrayElement(): Unit = visitInsn(AALOAD)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user