public class org.jruby.ir.instructions.BuildCompoundStringInstr 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.BuildCompoundStringInstr
super_class: org.jruby.ir.instructions.NOperandResultBaseInstr
{
private final org.jcodings.Encoding encoding;
descriptor: Lorg/jcodings/Encoding;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean frozen;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean debug;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int line;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand[], org.jcodings.Encoding, boolean, boolean, java.lang.String, int);
descriptor: (Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jcodings/Encoding;ZZLjava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
getstatic org.jruby.ir.Operation.BUILD_COMPOUND_STRING: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.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
2: aload 0
iload 4
putfield org.jruby.ir.instructions.BuildCompoundStringInstr.frozen:Z
3: aload 0
iload 5
putfield org.jruby.ir.instructions.BuildCompoundStringInstr.debug:Z
4: aload 0
aload 6
putfield org.jruby.ir.instructions.BuildCompoundStringInstr.file:Ljava/lang/String;
5: aload 0
iload 7
putfield org.jruby.ir.instructions.BuildCompoundStringInstr.line:I
6: return
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 7 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 7 1 result Lorg/jruby/ir/operands/Variable;
0 7 2 pieces [Lorg/jruby/ir/operands/Operand;
0 7 3 encoding Lorg/jcodings/Encoding;
0 7 4 frozen Z
0 7 5 debug Z
0 7 6 file Ljava/lang/String;
0 7 7 line I
MethodParameters:
Name Flags
result
pieces
encoding
frozen
debug
file
line
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.BuildCompoundStringInstr.getOperands:()[Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
public org.jcodings.Encoding getEncoding();
descriptor: ()Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
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=9, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.BuildCompoundStringInstr
dup
aload 1
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.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.BuildCompoundStringInstr.cloneOperands:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)[Lorg/jruby/ir/operands/Operand;
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.frozen:Z
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.debug:Z
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.file:Ljava/lang/String;
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.line:I
invokespecial org.jruby.ir.instructions.BuildCompoundStringInstr.<init>:(Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jcodings/Encoding;ZZLjava/lang/String;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public boolean isSameEncodingAndCodeRange(org.jruby.RubyString, org.jruby.ir.operands.StringLiteral);
descriptor: (Lorg/jruby/RubyString;Lorg/jruby/ir/operands/StringLiteral;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.ir.operands.StringLiteral.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
if_acmpne 1
aload 2
invokevirtual org.jruby.ir.operands.StringLiteral.getCodeRange:()I
aload 1
invokevirtual org.jruby.RubyString.getCodeRange:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 2 1 str Lorg/jruby/RubyString;
0 2 2 newStr Lorg/jruby/ir/operands/StringLiteral;
MethodParameters:
Name Flags
str
newStr
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.BuildCompoundStringInstr.getPieces:()[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.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jcodings/Encoding;)V
3: aload 1
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.frozen:Z
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Z)V
4: aload 1
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.file:Ljava/lang/String;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Ljava/lang/String;)V
5: aload 1
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.line:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 7 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.BuildCompoundStringInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isDebuggingFrozenStringLiteral:()Z
istore 1
start local 1 1: new org.jruby.ir.instructions.BuildCompoundStringInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperandArray:()[Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeEncoding:()Lorg/jcodings/Encoding;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeBoolean:()Z
iload 1
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeString:()Ljava/lang/String;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.instructions.BuildCompoundStringInstr.<init>:(Lorg/jruby/ir/operands/Variable;[Lorg/jruby/ir/operands/Operand;Lorg/jcodings/Encoding;ZZLjava/lang/String;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
1 2 1 debuggingFrozenStringLiteral Z
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=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.jruby.util.ByteList
dup
invokespecial org.jruby.util.ByteList.<init>:()V
astore 6
start local 6 1: aload 6
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.encoding:Lorg/jcodings/Encoding;
invokevirtual org.jruby.util.ByteList.setEncoding:(Lorg/jcodings/Encoding;)V
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 6
bipush 16
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;I)Lorg/jruby/RubyString;
astore 7
start local 7 3: aload 0
invokevirtual org.jruby.ir.instructions.BuildCompoundStringInstr.getOperands:()[Lorg/jruby/ir/operands/Operand;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 12
StackMap locals: org.jruby.ir.instructions.BuildCompoundStringInstr org.jruby.runtime.ThreadContext org.jruby.parser.StaticScope org.jruby.runtime.DynamicScope org.jruby.runtime.builtin.IRubyObject java.lang.Object[] org.jruby.util.ByteList org.jruby.RubyString top int int org.jruby.ir.operands.Operand[]
StackMap stack:
4: aload 11
iload 9
aaload
astore 8
start local 8 5: aload 8
instanceof org.jruby.ir.operands.StringLiteral
ifeq 9
aload 0
aload 7
aload 8
checkcast org.jruby.ir.operands.StringLiteral
invokevirtual org.jruby.ir.instructions.BuildCompoundStringInstr.isSameEncodingAndCodeRange:(Lorg/jruby/RubyString;Lorg/jruby/ir/operands/StringLiteral;)Z
ifeq 9
6: aload 7
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
aload 8
checkcast org.jruby.ir.operands.StringLiteral
invokevirtual org.jruby.ir.operands.StringLiteral.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
7: aload 7
aload 8
checkcast org.jruby.ir.operands.StringLiteral
invokevirtual org.jruby.ir.operands.StringLiteral.getCodeRange:()I
invokevirtual org.jruby.RubyString.setCodeRange:(I)V
8: goto 11
9: StackMap locals: org.jruby.ir.instructions.BuildCompoundStringInstr org.jruby.runtime.ThreadContext org.jruby.parser.StaticScope org.jruby.runtime.DynamicScope org.jruby.runtime.builtin.IRubyObject java.lang.Object[] org.jruby.util.ByteList org.jruby.RubyString org.jruby.ir.operands.Operand int int org.jruby.ir.operands.Operand[]
StackMap stack:
aload 8
aload 1
aload 4
aload 2
aload 3
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.runtime.builtin.IRubyObject
astore 12
start local 12 10: aload 7
aload 12
invokevirtual org.jruby.RubyString.append19:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
pop
end local 12 end local 8 11: StackMap locals: org.jruby.ir.instructions.BuildCompoundStringInstr org.jruby.runtime.ThreadContext org.jruby.parser.StaticScope org.jruby.runtime.DynamicScope org.jruby.runtime.builtin.IRubyObject java.lang.Object[] org.jruby.util.ByteList org.jruby.RubyString top int int org.jruby.ir.operands.Operand[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
12: iload 9
iload 10
if_icmplt 4
13: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.frozen:Z
ifeq 17
14: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.debug:Z
ifeq 16
15: aload 7
aload 1
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.file:Ljava/lang/String;
aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.line:I
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.freezeLiteralString:(Lorg/jruby/RubyString;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;I)Lorg/jruby/RubyString;
areturn
16: StackMap locals: org.jruby.ir.instructions.BuildCompoundStringInstr org.jruby.runtime.ThreadContext org.jruby.parser.StaticScope org.jruby.runtime.DynamicScope org.jruby.runtime.builtin.IRubyObject java.lang.Object[] org.jruby.util.ByteList org.jruby.RubyString
StackMap stack:
aload 7
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.freezeLiteralString:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
areturn
17: StackMap locals:
StackMap stack:
aload 7
areturn
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 18 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 18 1 context Lorg/jruby/runtime/ThreadContext;
0 18 2 currScope Lorg/jruby/parser/StaticScope;
0 18 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 18 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 18 5 temp [Ljava/lang/Object;
1 18 6 bytes Lorg/jruby/util/ByteList;
3 18 7 str Lorg/jruby/RubyString;
5 11 8 p Lorg/jruby/ir/operands/Operand;
10 11 12 pval Lorg/jruby/runtime/builtin/IRubyObject;
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.BuildCompoundStringInstr:(Lorg/jruby/ir/instructions/BuildCompoundStringInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public boolean isFrozen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.frozen:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.file:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.BuildCompoundStringInstr.line:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BuildCompoundStringInstr;
}
SourceFile: "BuildCompoundStringInstr.java"