AsmLikeInstructionListingTest: Print owner for FieldInsnNode

This commit is contained in:
Steven Schäfer
2021-09-15 14:16:07 +02:00
committed by Alexander Udalov
parent e23b4df519
commit ae27be16eb
67 changed files with 346 additions and 345 deletions
@@ -308,7 +308,7 @@ abstract class AbstractAsmLikeInstructionListingTest : CodegenTestCase() {
append(" ").append(Printer.OPCODES[node.opcode] ?: error("Invalid opcode ${node.opcode}"))
when (node) {
is FieldInsnNode -> append(" (" + node.name + ", " + node.desc + ")")
is FieldInsnNode -> append(" (" + node.owner + ", " + node.name + ", " + node.desc + ")")
is JumpInsnNode -> append(" (L" + labelMappings[node.label.label] + ")")
is IntInsnNode -> append(" (" + node.operand + ")")
is MethodInsnNode -> append(" (" + node.owner + ", "+ node.name + ", " + node.desc + ")")