Skip to content

Instantly share code, notes, and snippets.

@liveh2o
Last active December 21, 2015 02:48
Show Gist options
  • Save liveh2o/6237163 to your computer and use it in GitHub Desktop.
Save liveh2o/6237163 to your computer and use it in GitHub Desktop.
JRuby #802
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_25-b15 [darwin-x86_64]
*** Dumping $802.setPosition ***
L0
ALOAD 0
LDC "802.rb"
ILOAD 1
INVOKEVIRTUAL org/jruby/runtime/ThreadContext.setFileAndLine (Ljava/lang/String;I)V
RETURN
*** Dumping $802.__file__ ***
L0
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
ALOAD 4
INVOKESTATIC $802.__file__ (L$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 $802.method__1$RUBY$test ***
L0
L1
L2
LINENUMBER 3 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:
"802.rb", 3
]
ARETURN
L3
@Lorg/jruby/anno/JRubyMethod;(name="test", frame=true, required=0, optional=0, rest=false)
*** Dumping $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 $802.method__1$RUBY$test (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping $802.class_0$RUBY$Parent ***
TRYCATCHBLOCK L0 L1 L2 null
L3
L4
L0
L5
LINENUMBER 2 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 "802.rb"
LDC 1
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 $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 $802.class_0$RUBY$Parent (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping $802.method__3$RUBY$test ***
L0
L1
L2
LINENUMBER 9 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:
"802.rb", 9
]
POP
L3
LINENUMBER 10 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 $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 $802.method__3$RUBY$test (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping $802.class_2$RUBY$Child ***
TRYCATCHBLOCK L0 L1 L2 null
L3
L4
L0
L5
LINENUMBER 8 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 "802.rb"
LDC 7
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 12 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 $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 $802.class_2$RUBY$Child (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping $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 1 L2
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 $802.class_0$RUBY$Parent (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
POP
L3
LINENUMBER 7 L3
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 $802.class_2$RUBY$Child (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
POP
L4
LINENUMBER 15 L4
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:
"802.rb", 15
]
ASTORE 9
L5
LINENUMBER 16 L5
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:
"802.rb", 16
]
ARETURN
L6
LOCALVARIABLE o Lorg/jruby/runtime/builtin/IRubyObject; L0 L7 9
@Lorg/jruby/anno/JRubyMethod;(name="__file__", frame=true, required=0, optional=0, rest=false)
*** Dumping $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 $802.__file__ (L$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 $802.<init> ***
L0
ALOAD 0
INVOKESPECIAL org/jruby/ast/executable/AbstractScript.<init> ()V
ALOAD 0
LDC "802.rb"
PUTFIELD $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
*** Dumping $802$method__1$RUBY$test.<init> ***
ALOAD 0
INVOKESPECIAL org/jruby/internal/runtime/methods/CompiledMethod.<init> ()V
RETURN
*** Dumping $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 $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 $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 $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 $802$method__1$RUBY$test.call ***
L0
ALOAD 1
GETFIELD org/jruby/runtime/ThreadContext.callNumber : I
ISTORE 7
ALOAD 0
GETFIELD $802$method__1$RUBY$test.$scriptObject : Ljava/lang/Object;
CHECKCAST $802
ALOAD 1
ALOAD 2
ALOAD 5
INVOKESTATIC $802.method__1$RUBY$test (L$802;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
*** Dumping $802$method__3$RUBY$test.<init> ***
ALOAD 0
INVOKESPECIAL org/jruby/internal/runtime/methods/CompiledMethod.<init> ()V
RETURN
*** Dumping $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 $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 $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 $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 $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 $802$method__3$RUBY$test.$scriptObject : Ljava/lang/Object;
CHECKCAST $802
ALOAD 1
ALOAD 2
ALOAD 5
INVOKESTATIC $802.method__3$RUBY$test (L$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
NoMethodError: super: no superclass method `test_alias'
test at 802.rb:10
(root) at 802.rb:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment