Skip to content

Instantly share code, notes, and snippets.

@abrandoned
Created August 14, 2013 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abrandoned/6237012 to your computer and use it in GitHub Desktop.
Save abrandoned/6237012 to your computer and use it in GitHub Desktop.
jit log for jruby_802
*** Dumping jruby_802.setPosition ***
L0
ALOAD 0
LDC "jruby_802.rb"
ILOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.setFileAndLine (Ljava/lang/String;I)V
RETURN
*** Dumping jruby_802.__file__ ***
L0
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
INVOKESTATIC jruby_802.__file__ (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802.method__1$RUBY$test ***
L0
L1
L2
LINENUMBER 31 L2
ALOAD 1
ALOAD 2
ALOAD 2
ALOAD 1
INVOKEDYNAMIC getString(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStringBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"PARENT", "US-ASCII", 32
]
INVOKEDYNAMIC fcall:puts(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 31
]
ARETURN
L3
@Lorg/jruby/anno/JRubyMethod;(name="test", frame=true, required=0, optional=0, rest=false)
*** Dumping jruby_802.method__1$RUBY$test ***
L0
ALOAD 1
ALOAD 3
ICONST_0
INVOKESTATIC org/jruby/runtime/Helpers.checkArgumentCount (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;I)V
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 4
INVOKESTATIC jruby_802.method__1$RUBY$test (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802.class_0$RUBY$Parent ***
TRYCATCHBLOCK L0 L1 L2 null
L3
L4
L0
L5
LINENUMBER 30 L5
ALOAD 1
ALOAD 2
ALOAD 0
LDC "test"
LDC "method__1$RUBY$test"
ALOAD 0
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
1
]
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"LOCAL,,0,0,-1", 2
]
ICONST_0
LDC "jruby_802.rb"
LDC 29
GETSTATIC org/jruby/internal/runtime/methods/CallConfiguration.FrameNoneScopeNone : Lorg/jruby/internal/runtime/methods/CallConfiguration;
LDC "NONE"
INVOKESTATIC org/jruby/runtime/Helpers.def (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Lorg/jruby/parser/StaticScope;ILjava/lang/String;ILorg/jruby/internal/runtime/methods/CallConfiguration;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
L1
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.postCompiledClass ()V
GOTO L6
L2
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.postCompiledClass ()V
ATHROW
L6
ARETURN
L7
*** Dumping jruby_802.class_0$RUBY$Parent ***
L0
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getRuntime ()Lorg/jruby/Ruby;
ALOAD 3
ICONST_0
ICONST_0
INVOKESTATIC org/jruby/runtime/Arity.checkArgumentCount (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
POP
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 4
INVOKESTATIC jruby_802.class_0$RUBY$Parent (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802.method__3$RUBY$test ***
L0
L1
L2
LINENUMBER 37 L2
ALOAD 1
ALOAD 2
ALOAD 2
ALOAD 1
INVOKEDYNAMIC getString(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStringBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"CHILD", "US-ASCII", 32
]
INVOKEDYNAMIC fcall:puts(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 37
]
POP
L3
LINENUMBER 38 L3
INVOKEDYNAMIC getCallSite()Lorg/jruby/runtime/CallSite; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getCallSiteBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"super", S
]
ALOAD 1
ALOAD 2
ALOAD 2
ALOAD 1
INVOKESTATIC org/jruby/runtime/Helpers.getArgValues (Lorg/jruby/runtime/ThreadContext;)[Lorg/jruby/runtime/builtin/IRubyObject;
ALOAD 3
INVOKEVIRTUAL org/jruby/runtime/CallSite.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
L4
LOCALVARIABLE locals Lorg/jruby/runtime/DynamicScope; L1 L4 4
@Lorg/jruby/anno/JRubyMethod;(name="test", frame=true, required=0, optional=0, rest=false)
*** Dumping jruby_802.method__3$RUBY$test ***
L0
ALOAD 1
ALOAD 3
ICONST_0
INVOKESTATIC org/jruby/runtime/Helpers.checkArgumentCount (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;I)V
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 4
INVOKESTATIC jruby_802.method__3$RUBY$test (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802.class_2$RUBY$Child ***
TRYCATCHBLOCK L0 L1 L2 null
L3
L4
L0
L5
LINENUMBER 36 L5
ALOAD 1
ALOAD 2
ALOAD 0
LDC "test"
LDC "method__3$RUBY$test"
ALOAD 0
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
3
]
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"LOCAL,,0,0,-1", 4
]
ICONST_0
LDC "jruby_802.rb"
LDC 35
GETSTATIC org/jruby/internal/runtime/methods/CallConfiguration.FrameFullScopeFull : Lorg/jruby/internal/runtime/methods/CallConfiguration;
LDC "NONE"
INVOKESTATIC org/jruby/runtime/Helpers.def (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Lorg/jruby/parser/StaticScope;ILjava/lang/String;ILorg/jruby/internal/runtime/methods/CallConfiguration;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
POP
L6
LINENUMBER 41 L6
ALOAD 1
ALOAD 2
LDC "test_alias"
LDC "test"
INVOKESTATIC org/jruby/runtime/Helpers.defineAlias (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
L1
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.postCompiledClass ()V
GOTO L7
L2
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.postCompiledClass ()V
ATHROW
L7
ARETURN
L8
*** Dumping jruby_802.class_2$RUBY$Child ***
L0
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getRuntime ()Lorg/jruby/Ruby;
ALOAD 3
ICONST_0
ICONST_0
INVOKESTATIC org/jruby/runtime/Arity.checkArgumentCount (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
POP
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 4
INVOKESTATIC jruby_802.class_2$RUBY$Child (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802.__file__ ***
L0
ALOAD 1
INVOKEDYNAMIC nil(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.contextFieldBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;)
// arguments: none
]
ASTORE 9
L1
L2
LINENUMBER 27 L2
ALOAD 1
ALOAD 2
ALOAD 2
ALOAD 1
ALOAD 2
ALOAD 2
ALOAD 1
INVOKEDYNAMIC getString(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStringBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"ruby --version", "US-ASCII", 0
]
INVOKEDYNAMIC fcall:`(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 27
]
INVOKEDYNAMIC fcall:puts(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 27
]
POP
L3
LINENUMBER 29 L3
ALOAD 0
ALOAD 1
ACONST_NULL
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
ALOAD 1
INVOKEDYNAMIC nil(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.contextFieldBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;)
// arguments: none
]
INVOKESTATIC org/jruby/runtime/Helpers.prepareClassNamespace (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyModule;
SWAP
LDC "Parent"
SWAP
INVOKEVIRTUAL org/jruby/RubyModule.defineOrGetClassUnder (Ljava/lang/String;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
DUP
ALOAD 1
SWAP
ALOAD 0
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"LOCAL,,0,0,-1", 1
]
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.preCompiledClassDummyScope (Lorg/jruby/RubyModule;Lorg/jruby/parser/StaticScope;)V
GETSTATIC org/jruby/runtime/Block.NULL_BLOCK : Lorg/jruby/runtime/Block;
INVOKESTATIC jruby_802.class_0$RUBY$Parent (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
POP
L4
LINENUMBER 35 L4
ALOAD 0
ALOAD 1
ALOAD 1
INVOKEDYNAMIC runtime(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/Ruby; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.contextFieldBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;)
// arguments: none
]
ALOAD 0
ALOAD 1
INVOKEDYNAMIC Parent(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getConstantBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
INVOKESTATIC org/jruby/runtime/Helpers.prepareSuperClass (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
ALOAD 1
INVOKEDYNAMIC nil(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.contextFieldBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;)
// arguments: none
]
INVOKESTATIC org/jruby/runtime/Helpers.prepareClassNamespace (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyModule;
SWAP
LDC "Child"
SWAP
INVOKEVIRTUAL org/jruby/RubyModule.defineOrGetClassUnder (Ljava/lang/String;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
DUP
ALOAD 1
SWAP
ALOAD 0
ALOAD 1
ALOAD 0
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getLoadStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
INVOKEDYNAMIC getStaticScope(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;)Lorg/jruby/parser/StaticScope; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getStaticScopeBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"LOCAL,,0,0,-1", 3
]
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.preCompiledClassDummyScope (Lorg/jruby/RubyModule;Lorg/jruby/parser/StaticScope;)V
GETSTATIC org/jruby/runtime/Block.NULL_BLOCK : Lorg/jruby/runtime/Block;
INVOKESTATIC jruby_802.class_2$RUBY$Child (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
POP
L5
LINENUMBER 44 L5
ALOAD 1
ALOAD 2
ALOAD 0
ALOAD 1
INVOKEDYNAMIC Child(Lorg/jruby/ast/executable/AbstractScript;Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvokeDynamicSupport.getConstantBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite;)
// arguments:
0
]
INVOKEDYNAMIC call:new(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 44
]
ASTORE 9
L6
LINENUMBER 45 L6
ALOAD 1
ALOAD 2
ALOAD 9
INVOKEDYNAMIC call:test_alias(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/runtime/invokedynamic/InvocationLinker.invocationBootstrap((Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;)
// arguments:
"jruby_802.rb", 45
]
ARETURN
L7
LOCALVARIABLE o Lorg/jruby/runtime/builtin/IRubyObject; L0 L8 9
@Lorg/jruby/anno/JRubyMethod;(name="__file__", frame=true, required=0, optional=0, rest=false)
*** Dumping jruby_802.load ***
L0
L1
ALOAD 1
LDC "LOCAL,o,0,0,-2"
ILOAD 3
INVOKESTATIC org/jruby/runtime/Helpers.preLoad (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Z)Lorg/jruby/parser/StaticScope;
ALOAD 0
SWAP
INVOKEVIRTUAL org/jruby/ast/executable/AbstractScript.setRootScope (Lorg/jruby/parser/StaticScope;)V
ALOAD 0
ALOAD 1
ALOAD 2
GETSTATIC org/jruby/runtime/builtin/IRubyObject.NULL_ARRAY : [Lorg/jruby/runtime/builtin/IRubyObject;
GETSTATIC org/jruby/runtime/Block.NULL_BLOCK : Lorg/jruby/runtime/Block;
INVOKESTATIC jruby_802.__file__ (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ALOAD 1
INVOKESTATIC org/jruby/runtime/Helpers.postLoad (Lorg/jruby/runtime/ThreadContext;)V
ARETURN
L2
ALOAD 1
INVOKESTATIC org/jruby/runtime/Helpers.postLoad (Lorg/jruby/runtime/ThreadContext;)V
ATHROW
TRYCATCHBLOCK L1 L2 L2 null
*** Dumping jruby_802.<init> ***
L0
ALOAD 0
INVOKESPECIAL org/jruby/ast/executable/AbstractScript.<init> ()V
ALOAD 0
LDC "jruby_802.rb"
PUTFIELD jruby_802.filename : Ljava/lang/String;
ALOAD 0
NEW org/jruby/ast/executable/RuntimeCache
DUP
INVOKESPECIAL org/jruby/ast/executable/RuntimeCache.<init> ()V
PUTFIELD org/jruby/ast/executable/AbstractScript.runtimeCache : Lorg/jruby/ast/executable/RuntimeCache;
ALOAD 0
LDC "\uffff\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
INVOKEVIRTUAL org/jruby/ast/executable/AbstractScript.initFromDescriptor (Ljava/lang/String;)V
RETURN
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on OpenJDK 64-Bit Server VM 1.7.0_25-b30 +indy [linux-amd64]
*** Dumping jruby_802$method__1$RUBY$test.<init> ***
ALOAD 0
INVOKESPECIAL org/jruby/internal/runtime/methods/CompiledMethod.<init> ()V
RETURN
*** Dumping jruby_802$method__1$RUBY$test.call ***
L0
ALOAD 0
ALOAD 1
ALOAD 4
ALOAD 5
ICONST_0
INVOKESTATIC org/jruby/internal/runtime/methods/JavaMethod.checkArgumentCount (Lorg/jruby/internal/runtime/methods/JavaMethod;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;I)V
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
ALOAD 6
INVOKEVIRTUAL jruby_802$method__1$RUBY$test.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802$method__1$RUBY$test.call ***
L0
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
GETSTATIC org/jruby/runtime/Block.NULL_BLOCK : Lorg/jruby/runtime/Block;
INVOKEVIRTUAL jruby_802$method__1$RUBY$test.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802$method__1$RUBY$test.call ***
L0
ALOAD 1
GETFIELD org/jruby/runtime/ThreadContext.callNumber : I
ISTORE 7
ALOAD 0
GETFIELD jruby_802$method__1$RUBY$test.$scriptObject : Ljava/lang/Object;
CHECKCAST jruby_802
ALOAD 1
ALOAD 2
ALOAD 5
INVOKESTATIC jruby_802.method__1$RUBY$test (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802$method__3$RUBY$test.<init> ***
ALOAD 0
INVOKESPECIAL org/jruby/internal/runtime/methods/CompiledMethod.<init> ()V
RETURN
*** Dumping jruby_802$method__3$RUBY$test.call ***
L0
ALOAD 0
ALOAD 1
ALOAD 4
ALOAD 5
ICONST_0
INVOKESTATIC org/jruby/internal/runtime/methods/JavaMethod.checkArgumentCount (Lorg/jruby/internal/runtime/methods/JavaMethod;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;I)V
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
ALOAD 6
INVOKEVIRTUAL jruby_802$method__3$RUBY$test.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802$method__3$RUBY$test.call ***
L0
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
GETSTATIC org/jruby/runtime/Block.NULL_BLOCK : Lorg/jruby/runtime/Block;
INVOKEVIRTUAL jruby_802$method__3$RUBY$test.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping jruby_802$method__3$RUBY$test.call ***
L0
ALOAD 1
GETFIELD org/jruby/runtime/ThreadContext.callNumber : I
ISTORE 7
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 4
ALOAD 5
INVOKEVIRTUAL org/jruby/internal/runtime/methods/CompiledMethod.preFrameAndScope (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;)V
TRYCATCHBLOCK L1 L2 L3 org/jruby/exceptions/JumpException$ReturnJump
TRYCATCHBLOCK L1 L2 L4 org/jruby/exceptions/JumpException$RedoJump
TRYCATCHBLOCK L1 L2 L5 null
TRYCATCHBLOCK L3 L6 L5 null
TRYCATCHBLOCK L4 L7 L5 null
L1
ALOAD 0
GETFIELD jruby_802$method__3$RUBY$test.$scriptObject : Ljava/lang/Object;
CHECKCAST jruby_802
ALOAD 1
ALOAD 2
ALOAD 5
INVOKESTATIC jruby_802.method__3$RUBY$test (Ljruby_802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
L2
ALOAD 1
INVOKESTATIC org/jruby/internal/runtime/methods/CompiledMethod.postFrameAndScope (Lorg/jruby/runtime/ThreadContext;)V
ARETURN
L3
ALOAD 0
SWAP
ALOAD 1
SWAP
ILOAD 7
INVOKEVIRTUAL org/jruby/internal/runtime/methods/CompiledMethod.handleReturn (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/exceptions/JumpException$ReturnJump;I)Lorg/jruby/runtime/builtin/IRubyObject;
L6
ALOAD 1
INVOKESTATIC org/jruby/internal/runtime/methods/CompiledMethod.postFrameAndScope (Lorg/jruby/runtime/ThreadContext;)V
ARETURN
L4
POP
ALOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.getRuntime ()Lorg/jruby/Ruby;
INVOKEVIRTUAL org/jruby/Ruby.newRedoLocalJumpError ()Lorg/jruby/exceptions/RaiseException;
L7
ALOAD 1
INVOKESTATIC org/jruby/internal/runtime/methods/CompiledMethod.postFrameAndScope (Lorg/jruby/runtime/ThreadContext;)V
ATHROW
L5
ALOAD 1
INVOKESTATIC org/jruby/internal/runtime/methods/CompiledMethod.postFrameAndScope (Lorg/jruby/runtime/ThreadContext;)V
ATHROW
CHILD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment