public class org.jruby.ir.instructions.TraceInstr extends org.jruby.ir.instructions.NoOperandInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.TraceInstr
super_class: org.jruby.ir.instructions.NoOperandInstr
{
private final org.jruby.runtime.RubyEvent event;
descriptor: Lorg/jruby/runtime/RubyEvent;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.RubySymbol name;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int linenumber;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.runtime.RubyEvent, org.jruby.RubySymbol, java.lang.String, int);
descriptor: (Lorg/jruby/runtime/RubyEvent;Lorg/jruby/RubySymbol;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.TRACE:Lorg/jruby/ir/Operation;
invokespecial org.jruby.ir.instructions.NoOperandInstr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
aload 1
putfield org.jruby.ir.instructions.TraceInstr.event:Lorg/jruby/runtime/RubyEvent;
2: aload 0
aload 2
putfield org.jruby.ir.instructions.TraceInstr.name:Lorg/jruby/RubySymbol;
3: aload 0
aload 3
putfield org.jruby.ir.instructions.TraceInstr.filename:Ljava/lang/String;
4: aload 0
iload 4
putfield org.jruby.ir.instructions.TraceInstr.linenumber:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/instructions/TraceInstr;
0 6 1 event Lorg/jruby/runtime/RubyEvent;
0 6 2 name Lorg/jruby/RubySymbol;
0 6 3 filename Ljava/lang/String;
0 6 4 linenumber I
MethodParameters:
Name Flags
event
name
filename
linenumber
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.TraceInstr
dup
aload 0
getfield org.jruby.ir.instructions.TraceInstr.event:Lorg/jruby/runtime/RubyEvent;
aload 0
getfield org.jruby.ir.instructions.TraceInstr.name:Lorg/jruby/RubySymbol;
aload 0
getfield org.jruby.ir.instructions.TraceInstr.filename:Ljava/lang/String;
aload 0
getfield org.jruby.ir.instructions.TraceInstr.linenumber:I
invokespecial org.jruby.ir.instructions.TraceInstr.<init>:(Lorg/jruby/runtime/RubyEvent;Lorg/jruby/RubySymbol;Ljava/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/TraceInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public org.jruby.runtime.RubyEvent getEvent();
descriptor: ()Lorg/jruby/runtime/RubyEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.TraceInstr.event:Lorg/jruby/runtime/RubyEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TraceInstr;
public java.lang.String getName();
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.TraceInstr.name:Lorg/jruby/RubySymbol;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.ir.instructions.TraceInstr.name:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.idString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/TraceInstr;
public java.lang.String getFilename();
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.TraceInstr.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TraceInstr;
public int getLinenumber();
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.TraceInstr.linenumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TraceInstr;
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_4
anewarray java.lang.String
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "ev: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.TraceInstr.event:Lorg/jruby/runtime/RubyEvent;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.TraceInstr.name:Lorg/jruby/RubySymbol;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_2
new java.lang.StringBuilder
dup
ldc "file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.TraceInstr.filename:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_3
new java.lang.StringBuilder
dup
ldc "line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.TraceInstr.linenumber:I
invokevirtual java.lang.StringBuilder.append:(I)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/TraceInstr;
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.NoOperandInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getEvent:()Lorg/jruby/runtime/RubyEvent;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/runtime/RubyEvent;)V
2: aload 1
aload 0
getfield org.jruby.ir.instructions.TraceInstr.name:Lorg/jruby/RubySymbol;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
3: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getFilename:()Ljava/lang/String;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Ljava/lang/String;)V
4: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getLinenumber:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/instructions/TraceInstr;
0 6 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.TraceInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/TraceInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.TraceInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeRubyEvent:()Lorg/jruby/runtime/RubyEvent;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
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.TraceInstr.<init>:(Lorg/jruby/runtime/RubyEvent;Lorg/jruby/RubySymbol;Ljava/lang/String;I)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 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=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getEvent:()Lorg/jruby/runtime/RubyEvent;
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getName:()Ljava/lang/String;
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getFilename:()Ljava/lang/String;
aload 0
invokevirtual org.jruby.ir.instructions.TraceInstr.getLinenumber:()I
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.callTrace:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/RubyEvent;Ljava/lang/String;Ljava/lang/String;I)V
1: aconst_null
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 2 0 this Lorg/jruby/ir/instructions/TraceInstr;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 currScope Lorg/jruby/parser/StaticScope;
0 2 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 2 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 5 temp [Ljava/lang/Object;
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.TraceInstr:(Lorg/jruby/ir/instructions/TraceInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/TraceInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public boolean computeScopeFlags(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.IRScope.getFlags:()Ljava/util/EnumSet;
astore 2
start local 2 1: aload 2
getstatic org.jruby.ir.IRFlags.REQUIRE_ALL_FRAME_FIELDS:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.addAll:(Ljava/util/Collection;)Z
pop
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/TraceInstr;
0 3 1 scope Lorg/jruby/ir/IRScope;
1 3 2 flags Ljava/util/EnumSet<Lorg/jruby/ir/IRFlags;>;
MethodParameters:
Name Flags
scope
}
SourceFile: "TraceInstr.java"