public class org.jruby.ir.instructions.NonlocalReturnInstr extends org.jruby.ir.instructions.ReturnBase 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.NonlocalReturnInstr
super_class: org.jruby.ir.instructions.ReturnBase
{
public final java.lang.String methodId;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.ir.operands.Operand, java.lang.String);
descriptor: (Lorg/jruby/ir/operands/Operand;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.jruby.ir.Operation.NONLOCAL_RETURN:Lorg/jruby/ir/Operation;
aload 1
invokespecial org.jruby.ir.instructions.ReturnBase.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Operand;)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.NonlocalReturnInstr.methodId:Ljava/lang/String;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
0 3 1 returnValue Lorg/jruby/ir/operands/Operand;
0 3 2 methodId Ljava/lang/String;
MethodParameters:
Name Flags
returnValue
methodId
public java.lang.String[] toStringNonOperandArgs();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.String
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.NonlocalReturnInstr.methodId:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
public boolean computeScopeFlags(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.IRScope.getFlags:()Ljava/util/EnumSet;
getstatic org.jruby.ir.IRFlags.HAS_NONLOCAL_RETURNS:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 1
new org.jruby.ir.instructions.NonlocalReturnInstr
dup
aload 0
invokevirtual org.jruby.ir.instructions.NonlocalReturnInstr.getReturnValue:()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;
aload 0
getfield org.jruby.ir.instructions.NonlocalReturnInstr.methodId:Ljava/lang/String;
invokespecial org.jruby.ir.instructions.NonlocalReturnInstr.<init>:(Lorg/jruby/ir/operands/Operand;Ljava/lang/String;)V
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.ir.transformations.inlining.InlineCloneInfo
astore 2
start local 2 2: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.isClosure:()Z
ifeq 11
3: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getHostScope:()Lorg/jruby/ir/IRScope;
instanceof org.jruby.ir.IRMethod
ifeq 10
4: aload 1
checkcast org.jruby.ir.transformations.inlining.InlineCloneInfo
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getScopeBeingInlined:()Lorg/jruby/ir/IRScope;
aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getHostScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.isScopeContainedBy:(Lorg/jruby/ir/IRScope;)Z
ifeq 6
5: new org.jruby.ir.instructions.ReturnInstr
dup
aload 0
invokevirtual org.jruby.ir.instructions.NonlocalReturnInstr.getReturnValue:()Lorg/jruby/ir/operands/Operand;
aload 2
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.ReturnInstr.<init>:(Lorg/jruby/ir/operands/Operand;)V
areturn
6: StackMap locals: org.jruby.ir.transformations.inlining.InlineCloneInfo
StackMap stack:
aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getCallResultVariable:()Lorg/jruby/ir/operands/Variable;
astore 3
start local 3 7: aload 3
ifnonnull 8
aconst_null
goto 9
StackMap locals: org.jruby.ir.operands.Variable
StackMap stack:
8: new org.jruby.ir.instructions.CopyInstr
dup
aload 3
aload 0
invokevirtual org.jruby.ir.instructions.NonlocalReturnInstr.getReturnValue:()Lorg/jruby/ir/operands/Operand;
aload 2
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/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
StackMap locals:
StackMap stack: org.jruby.ir.instructions.CopyInstr
9: areturn
end local 3 10: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.NonlocalReturnInstr
dup
aload 0
invokevirtual org.jruby.ir.instructions.NonlocalReturnInstr.getReturnValue:()Lorg/jruby/ir/operands/Operand;
aload 2
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
aload 0
getfield org.jruby.ir.instructions.NonlocalReturnInstr.methodId:Ljava/lang/String;
invokespecial org.jruby.ir.instructions.NonlocalReturnInstr.<init>:(Lorg/jruby/ir/operands/Operand;Ljava/lang/String;)V
areturn
11: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Nonlocal returns shouldn't show up outside closures."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
0 12 1 info Lorg/jruby/ir/transformations/inlining/CloneInfo;
2 12 2 ii Lorg/jruby/ir/transformations/inlining/InlineCloneInfo;
7 10 3 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
info
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.ReturnBase.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.NonlocalReturnInstr.getReturnValue:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: aload 1
aload 0
getfield org.jruby.ir.instructions.NonlocalReturnInstr.methodId:Ljava/lang/String;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.NonlocalReturnInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/NonlocalReturnInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.NonlocalReturnInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeString:()Ljava/lang/String;
invokespecial org.jruby.ir.instructions.NonlocalReturnInstr.<init>:(Lorg/jruby/ir/operands/Operand;Ljava/lang/String;)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 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.NonlocalReturnInstr:(Lorg/jruby/ir/instructions/NonlocalReturnInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/NonlocalReturnInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "NonlocalReturnInstr.java"