public class org.jruby.ir.instructions.BuildDynRegExpInstr extends org.jruby.ir.instructions.NOperandResultBaseInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.BuildDynRegExpInstr
super_class: org.jruby.ir.instructions.NOperandResultBaseInstr
{
private final org.jruby.util.RegexpOptions options;
descriptor: Lorg/jruby/util/RegexpOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ir.instructions.BuildDynRegExpInstr$RECache reCache;
descriptor: Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand[], org.jruby.util.RegexpOptions, org.jruby.ir.instructions.BuildDynRegExpInstr$RECache);
descriptor: (Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/util/RegexpOptions;Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.jruby.ir.Operation.BUILD_DREGEXP:Lorg/jruby/ir/Operation;
aload 1
aload 2
invokespecial org.jruby.ir.instructions.NOperandResultBaseInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;)V
1: aload 0
aload 3
putfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
2: aload 0
aload 4
putfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 4 1 result Lorg/jruby/ir/operands/Variable;
0 4 2 pieces [Lorg/jruby/ir/operands/Operand;
0 4 3 options Lorg/jruby/util/RegexpOptions;
0 4 4 reCache Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
MethodParameters:
Name Flags
result
pieces
options
reCache
public void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand[], org.jruby.util.RegexpOptions);
descriptor: (Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/util/RegexpOptions;)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
getstatic org.jruby.ir.Operation.BUILD_DREGEXP:Lorg/jruby/ir/Operation;
aload 1
aload 2
invokespecial org.jruby.ir.instructions.NOperandResultBaseInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;)V
1: aload 0
aload 3
putfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
2: aload 0
new org.jruby.ir.instructions.BuildDynRegExpInstr$RECache
dup
invokespecial org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.<init>:()V
putfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 4 1 result Lorg/jruby/ir/operands/Variable;
0 4 2 pieces [Lorg/jruby/ir/operands/Operand;
0 4 3 options Lorg/jruby/util/RegexpOptions;
MethodParameters:
Name Flags
result
pieces
options
public org.jruby.ir.operands.Operand[] getPieces();
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.BuildDynRegExpInstr.getOperands:()[Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
public org.jruby.util.RegexpOptions getOptions();
descriptor: ()Lorg/jruby/util/RegexpOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
public org.jruby.RubyRegexp getRegexp();
descriptor: ()Lorg/jruby/RubyRegexp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
getfield org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.rubyRegexp:Lorg/jruby/RubyRegexp;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
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 "options: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/BuildDynRegExpInstr;
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.BuildDynRegExpInstr
dup
aload 1
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.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
aload 1
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr.cloneOperands:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)[Lorg/jruby/ir/operands/Operand;
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
invokespecial org.jruby.ir.instructions.BuildDynRegExpInstr.<init>:(Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/util/RegexpOptions;Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
private org.jruby.RubyString[] retrievePieces(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)[Lorg/jruby/RubyString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr.getOperands:()[Lorg/jruby/ir/operands/Operand;
astore 6
start local 6 1: aload 6
arraylength
istore 7
start local 7 2: iload 7
anewarray org.jruby.RubyString
astore 8
start local 8 3: iconst_0
istore 9
start local 9 4: goto 7
5: StackMap locals: org.jruby.ir.instructions.BuildDynRegExpInstr org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.parser.StaticScope org.jruby.runtime.DynamicScope java.lang.Object[] org.jruby.ir.operands.Operand[] int org.jruby.RubyString[] int
StackMap stack:
aload 8
iload 9
aload 6
iload 9
aaload
aload 1
aload 2
aload 3
aload 4
aload 5
invokevirtual org.jruby.ir.operands.Operand.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.RubyString
aastore
6: iinc 9 1
StackMap locals:
StackMap stack:
7: iload 9
iload 7
if_icmplt 5
end local 9 8: aload 8
areturn
end local 8 end local 7 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 9 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 9 3 currScope Lorg/jruby/parser/StaticScope;
0 9 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 9 5 temp [Ljava/lang/Object;
1 9 6 operands [Lorg/jruby/ir/operands/Operand;
2 9 7 length I
3 9 8 strings [Lorg/jruby/RubyString;
4 8 9 i I
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
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.NOperandResultBaseInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr.getPieces:()[Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:([Lorg/jruby/ir/operands/Operand;)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr.getOptions:()Lorg/jruby/util/RegexpOptions;
invokevirtual org.jruby.util.RegexpOptions.toEmbeddedOptions:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.BuildDynRegExpInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.BuildDynRegExpInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
1: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperandArray:()[Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokestatic org.jruby.util.RegexpOptions.fromEmbeddedOptions:(I)Lorg/jruby/util/RegexpOptions;
2: invokespecial org.jruby.ir.instructions.BuildDynRegExpInstr.<init>:(Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/util/RegexpOptions;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public java.lang.Object interpret(org.jruby.runtime.ThreadContext, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, org.jruby.runtime.builtin.IRubyObject, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/runtime/builtin/IRubyObject;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
getfield org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.rubyRegexp:Lorg/jruby/RubyRegexp;
ifnull 1
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
invokevirtual org.jruby.util.RegexpOptions.isOnce:()Z
ifeq 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getKCode:()Lorg/jruby/util/KCode;
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
getfield org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.rubyRegexp:Lorg/jruby/RubyRegexp;
invokevirtual org.jruby.RubyRegexp.getKCode:()Lorg/jruby/util/KCode;
if_acmpeq 6
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr.retrievePieces:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)[Lorg/jruby/RubyString;
astore 6
start local 6 2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 6
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
invokestatic org.jruby.RubyRegexp.preprocessDRegexp:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/util/RegexpOptions;)Lorg/jruby/RubyString;
astore 7
start local 7 3: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 7
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
invokestatic org.jruby.RubyRegexp.newDRegexp:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;Lorg/jruby/util/RegexpOptions;)Lorg/jruby/RubyRegexp;
astore 8
start local 8 4: aload 8
invokevirtual org.jruby.RubyRegexp.setLiteral:()V
5: aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.options:Lorg/jruby/util/RegexpOptions;
invokevirtual org.jruby.util.RegexpOptions.isOnce:()Z
aload 8
invokevirtual org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.updateCache:(ZLorg/jruby/RubyRegexp;)V
end local 8 end local 7 end local 6 6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.instructions.BuildDynRegExpInstr.reCache:Lorg/jruby/ir/instructions/BuildDynRegExpInstr$RECache;
getfield org.jruby.ir.instructions.BuildDynRegExpInstr$RECache.rubyRegexp:Lorg/jruby/RubyRegexp;
areturn
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 7 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 currScope Lorg/jruby/parser/StaticScope;
0 7 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 7 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 5 temp [Ljava/lang/Object;
2 6 6 pieces [Lorg/jruby/RubyString;
3 6 7 pattern Lorg/jruby/RubyString;
4 6 8 re Lorg/jruby/RubyRegexp;
MethodParameters:
Name Flags
context
currScope
currDynScope
self
temp
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.BuildDynRegExpInstr:(Lorg/jruby/ir/instructions/BuildDynRegExpInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/BuildDynRegExpInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "BuildDynRegExpInstr.java"
NestMembers:
org.jruby.ir.instructions.BuildDynRegExpInstr$RECache
InnerClasses:
private RECache = org.jruby.ir.instructions.BuildDynRegExpInstr$RECache of org.jruby.ir.instructions.BuildDynRegExpInstr