public abstract class org.jruby.ir.IRTranslator<R, S>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ir.IRTranslator
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRTranslator<TR;TS;>;
public R execute(org.jruby.Ruby, org.jruby.ParseResult, );
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/ParseResult;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
instanceof org.jruby.ir.IRScriptBody
ifeq 4
2: aload 2
checkcast org.jruby.ir.IRScriptBody
astore 4
3: goto 14
StackMap locals: org.jruby.ir.IRScriptBody
StackMap stack:
4: aload 2
instanceof org.jruby.ast.RootNode
ifeq 14
5: aload 1
invokevirtual org.jruby.Ruby.getIRManager:()Lorg/jruby/ir/IRManager;
aload 2
checkcast org.jruby.ast.RootNode
invokestatic org.jruby.ir.IRBuilder.buildRoot:(Lorg/jruby/ir/IRManager;Lorg/jruby/ast/RootNode;)Lorg/jruby/ir/interpreter/InterpreterContext;
astore 5
start local 5 6: aload 5
invokevirtual org.jruby.ir.interpreter.InterpreterContext.getScope:()Lorg/jruby/ir/IRScope;
checkcast org.jruby.ir.IRScriptBody
astore 4
7: aload 4
aload 2
checkcast org.jruby.ast.RootNode
invokevirtual org.jruby.ast.RootNode.getScope:()Lorg/jruby/runtime/DynamicScope;
invokevirtual org.jruby.ir.IRScriptBody.setScriptDynamicScope:(Lorg/jruby/runtime/DynamicScope;)V
8: getstatic org.jruby.RubyInstanceConfig.IR_WRITING:Z
ifeq 14
9: new org.jruby.ir.persistence.IRWriterStream
dup
aload 4
invokevirtual org.jruby.ir.IRScriptBody.getFileName:()Ljava/lang/String;
invokestatic org.jruby.ir.persistence.util.IRFileExpert.getIRPersistedFile:(Ljava/lang/String;)Ljava/io/File;
invokespecial org.jruby.ir.persistence.IRWriterStream.<init>:(Ljava/io/File;)V
aload 4
invokestatic org.jruby.ir.persistence.IRWriter.persist:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
10: goto 14
StackMap locals: org.jruby.ir.IRTranslator org.jruby.Ruby org.jruby.ParseResult java.lang.Object org.jruby.ir.IRScriptBody org.jruby.ir.interpreter.InterpreterContext
StackMap stack: java.io.IOException
11: astore 6
start local 6 12: aload 6
invokevirtual java.io.IOException.printStackTrace:()V
13: aconst_null
areturn
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 3
invokevirtual org.jruby.ir.IRTranslator.execute:(Lorg/jruby/Ruby;Lorg/jruby/ir/IRScriptBody;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/ir/IRTranslator<TR;TS;>;
0 15 1 runtime Lorg/jruby/Ruby;
0 15 2 result Lorg/jruby/ParseResult;
0 15 3 specificObject TS;
1 15 4 scope Lorg/jruby/ir/IRScriptBody;
6 14 5 ic Lorg/jruby/ir/interpreter/InterpreterContext;
12 14 6 ex Ljava/io/IOException;
Exception table:
from to target type
9 10 11 Class java.io.IOException
Signature: (Lorg/jruby/Ruby;Lorg/jruby/ParseResult;TS;)TR;
MethodParameters:
Name Flags
runtime
result
specificObject
protected abstract R execute(org.jruby.Ruby, org.jruby.ir.IRScriptBody, );
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/ir/IRScriptBody;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/jruby/Ruby;Lorg/jruby/ir/IRScriptBody;TS;)TR;
MethodParameters:
Name Flags
runtime
producedIrScope
specificObject
}
Signature: <R:Ljava/lang/Object;S:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "IRTranslator.java"