public class org.jruby.ir.persistence.IRWriterAnalyzer implements org.jruby.ir.persistence.IRWriterEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.persistence.IRWriterAnalyzer
super_class: java.lang.Object
{
private int currentOffsetId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, java.lang.Integer> offsetIds;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private final java.util.Map<org.jruby.ir.operands.Operand, java.lang.Integer> operandCounts;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Ljava/lang/Integer;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jruby.ir.persistence.IRWriterAnalyzer.currentOffsetId:I
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.ir.persistence.IRWriterAnalyzer.offsetIds:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.ir.persistence.IRWriterAnalyzer.operandCounts:Ljava/util/Map;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
public void encode(org.jruby.ir.instructions.Instr);
descriptor: (Lorg/jruby/ir/instructions/Instr;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.instructions.Instr.getOperands:()[Lorg/jruby/ir/operands/Operand;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.jruby.ir.persistence.IRWriterAnalyzer org.jruby.ir.instructions.Instr top int int org.jruby.ir.operands.Operand[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.jruby.ir.persistence.IRWriterAnalyzer.increment:(Lorg/jruby/ir/operands/Operand;)V
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 6 1 instr Lorg/jruby/ir/instructions/Instr;
2 3 2 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
instr
public void encode(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
value
public void encode(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value [B
MethodParameters:
Name Flags
value
public void encode(org.jcodings.Encoding);
descriptor: (Lorg/jcodings/Encoding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 encoding Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
encoding
public void encode(org.jruby.RubySymbol);
descriptor: (Lorg/jruby/RubySymbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
value
public void encodeRaw(org.jruby.RubySymbol);
descriptor: (Lorg/jruby/RubySymbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
value
public void encode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public void encode(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 values [Ljava/lang/String;
MethodParameters:
Name Flags
values
public void encode(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
value
public void encode(org.jruby.ir.IRScopeType);
descriptor: (Lorg/jruby/ir/IRScopeType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/ir/IRScopeType;
MethodParameters:
Name Flags
value
public void encode(org.jruby.parser.StaticScope$Type);
descriptor: (Lorg/jruby/parser/StaticScope$Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/parser/StaticScope$Type;
MethodParameters:
Name Flags
value
public void encode(org.jruby.ir.Operation);
descriptor: (Lorg/jruby/ir/Operation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/ir/Operation;
MethodParameters:
Name Flags
value
public void encode(org.jruby.ir.operands.OperandType);
descriptor: (Lorg/jruby/ir/operands/OperandType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/ir/operands/OperandType;
MethodParameters:
Name Flags
value
public void encode(org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operand
public void encode(org.jruby.ir.operands.Operand[]);
descriptor: ([Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 operand [Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operand
public void encode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Z
MethodParameters:
Name Flags
value
public void encode(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value B
MethodParameters:
Name Flags
value
public void encode(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value C
MethodParameters:
Name Flags
value
public void encode(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value I
MethodParameters:
Name Flags
value
public void encode(int[]);
descriptor: ([I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value [I
MethodParameters:
Name Flags
value
public void encode(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value J
MethodParameters:
Name Flags
value
public void encode(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value F
MethodParameters:
Name Flags
value
public void encode(java.util.EnumSet<org.jruby.ir.IRFlags>);
descriptor: (Ljava/util/EnumSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Ljava/util/EnumSet<Lorg/jruby/ir/IRFlags;>;
Signature: (Ljava/util/EnumSet<Lorg/jruby/ir/IRFlags;>;)V
MethodParameters:
Name Flags
value
public void encode(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value D
MethodParameters:
Name Flags
value
public void encode(org.jruby.runtime.Signature);
descriptor: (Lorg/jruby/runtime/Signature;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/runtime/Signature;
MethodParameters:
Name Flags
value
public void encode(org.jruby.runtime.RubyEvent);
descriptor: (Lorg/jruby/runtime/RubyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 event Lorg/jruby/runtime/RubyEvent;
MethodParameters:
Name Flags
event
public void (org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public void (org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public void startEncodingScopeInstrs(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.persistence.IRWriterAnalyzer.offsetIds:Ljava/util/Map;
aload 1
invokevirtual org.jruby.ir.IRScope.toString:()Ljava/lang/String;
aload 0
dup
getfield org.jruby.ir.persistence.IRWriterAnalyzer.currentOffsetId:I
dup_x1
iconst_1
iadd
putfield org.jruby.ir.persistence.IRWriterAnalyzer.currentOffsetId:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 2 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public void endEncodingScopeInstrs(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public void (org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 script Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
script
public void (org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 script Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
script
public void startEncoding(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 script Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
script
public void endEncoding(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 script Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
script
private void increment(org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Operand;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.persistence.IRWriterAnalyzer.operandCounts:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 2
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
2: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.jruby.ir.persistence.IRWriterAnalyzer.operandCounts:Ljava/util/Map;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 4 1 operand Lorg/jruby/ir/operands/Operand;
1 4 2 count Ljava/lang/Integer;
MethodParameters:
Name Flags
operand
public int getScopeID(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.persistence.IRWriterAnalyzer.offsetIds:Ljava/util/Map;
aload 1
invokevirtual org.jruby.ir.IRScope.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
0 1 1 value Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
value
public int getScopeCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.persistence.IRWriterAnalyzer.offsetIds:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/persistence/IRWriterAnalyzer;
}
SourceFile: "IRWriterAnalyzer.java"
InnerClasses:
public final Type = org.jruby.parser.StaticScope$Type of org.jruby.parser.StaticScope