public class org.jruby.ir.IRModuleBody extends org.jruby.ir.IRScope
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.IRModuleBody
super_class: org.jruby.ir.IRScope
{
private boolean executesOnce;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.ir.IRManager, org.jruby.ir.IRScope, org.jruby.util.ByteList, int, org.jruby.parser.StaticScope, boolean);
descriptor: (Lorg/jruby/ir/IRManager;Lorg/jruby/ir/IRScope;Lorg/jruby/util/ByteList;ILorg/jruby/parser/StaticScope;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iload 4
aload 5
invokespecial org.jruby.ir.IRScope.<init>:(Lorg/jruby/ir/IRManager;Lorg/jruby/ir/IRScope;Lorg/jruby/util/ByteList;ILorg/jruby/parser/StaticScope;)V
1: aload 0
iload 6
putfield org.jruby.ir.IRModuleBody.executesOnce:Z
2: aload 0
invokevirtual org.jruby.ir.IRModuleBody.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.isDryRun:()Z
ifne 4
3: aload 5
ifnull 4
aload 5
aload 0
invokevirtual org.jruby.parser.StaticScope.setIRScope:(Lorg/jruby/ir/IRScope;)V
4: StackMap locals: org.jruby.ir.IRModuleBody org.jruby.ir.IRManager org.jruby.ir.IRScope org.jruby.util.ByteList int org.jruby.parser.StaticScope int
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/IRModuleBody;
0 5 1 manager Lorg/jruby/ir/IRManager;
0 5 2 lexicalParent Lorg/jruby/ir/IRScope;
0 5 3 name Lorg/jruby/util/ByteList;
0 5 4 lineNumber I
0 5 5 staticScope Lorg/jruby/parser/StaticScope;
0 5 6 executesOnce Z
MethodParameters:
Name Flags
manager
lexicalParent
name
lineNumber
staticScope
executesOnce
public int getNearestModuleReferencingScopeDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRModuleBody;
public org.jruby.ir.IRScopeType getScopeType();
descriptor: ()Lorg/jruby/ir/IRScopeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.IRScopeType.MODULE_BODY:Lorg/jruby/ir/IRScopeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRModuleBody;
public boolean isModuleBody();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRModuleBody;
public void cleanupAfterExecution();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.IRModuleBody.executesOnce:Z
ifeq 4
aload 0
invokevirtual org.jruby.ir.IRModuleBody.getClosures:()Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 4
1: aload 0
aconst_null
putfield org.jruby.ir.IRModuleBody.interpreterContext:Lorg/jruby/ir/interpreter/InterpreterContext;
2: aload 0
aconst_null
putfield org.jruby.ir.IRModuleBody.fullInterpreterContext:Lorg/jruby/ir/interpreter/FullInterpreterContext;
3: aload 0
aconst_null
putfield org.jruby.ir.IRModuleBody.localVars:Ljava/util/Map;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/IRModuleBody;
public boolean executesOnce();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.IRModuleBody.executesOnce:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRModuleBody;
}
SourceFile: "IRModuleBody.java"