public class org.jruby.ir.instructions.CopyInstr extends org.jruby.ir.instructions.OneOperandResultBaseInstr implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.CopyInstr
super_class: org.jruby.ir.instructions.OneOperandResultBaseInstr
{
public void <init>(org.jruby.ir.Operation, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.ir.instructions.OneOperandResultBaseInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 2 1 op Lorg/jruby/ir/Operation;
0 2 2 result Lorg/jruby/ir/operands/Variable;
0 2 3 source Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
op
result
source
public void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.jruby.ir.Operation.COPY:Lorg/jruby/ir/Operation;
aload 1
aload 2
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 2 1 result Lorg/jruby/ir/operands/Variable;
0 2 2 source Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
result
source
public org.jruby.ir.operands.Operand getSource();
descriptor: ()Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.instructions.CopyInstr.getOperand1:()Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/CopyInstr;
public org.jruby.ir.operands.Operand simplifyAndGetResult(org.jruby.ir.IRScope, java.util.Map<org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand>);
descriptor: (Lorg/jruby/ir/IRScope;Ljava/util/Map;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
iconst_0
invokevirtual org.jruby.ir.instructions.CopyInstr.simplifyOperands:(Ljava/util/Map;Z)V
1: aload 0
invokevirtual org.jruby.ir.instructions.CopyInstr.getSource:()Lorg/jruby/ir/operands/Operand;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
0 2 2 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
Signature: (Lorg/jruby/ir/IRScope;Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;)Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
scope
valueMap
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.CopyInstr
dup
aload 0
invokevirtual org.jruby.ir.instructions.CopyInstr.getOperation:()Lorg/jruby/ir/Operation;
aload 1
aload 0
getfield org.jruby.ir.instructions.CopyInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 0
invokevirtual org.jruby.ir.instructions.CopyInstr.getSource:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public static org.jruby.ir.instructions.CopyInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/CopyInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.CopyInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.instructions.OneOperandResultBaseInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.CopyInstr.getSource:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.CopyInstr:(Lorg/jruby/ir/instructions/CopyInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CopyInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "CopyInstr.java"