Last active
September 11, 2019 21:31
-
-
Save headius/f89e0d437cb90fc08f74b92ee7b807c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// access flags 0x100A | |
private static synthetic invokeOther0:foo(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; | |
L0 | |
LINENUMBER 1 L0 | |
GETSTATIC DashE.invokeOther0:foo : Lorg/jruby/runtime/callsite/CachingCallSite; | |
DUP | |
IFNONNULL L1 | |
POP | |
LDC "foo" | |
INVOKESTATIC org/jruby/ir/runtime/IRRuntimeHelpers.newVariableCachingCallSite (Ljava/lang/String;)Lorg/jruby/runtime/callsite/VariableCachingCallSite; | |
DUP | |
PUTSTATIC DashE.invokeOther0:foo : Lorg/jruby/runtime/callsite/CachingCallSite; | |
L1 | |
FRAME SAME1 org/jruby/runtime/callsite/CachingCallSite | |
ALOAD 0 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/jruby/runtime/callsite/CachingCallSite.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; | |
ARETURN | |
MAXSTACK = 4 | |
MAXLOCALS = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// access flags 0x100A | |
private static synthetic invokeOther0:foo(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; | |
L0 | |
LINENUMBER 1 L0 | |
INVOKEDYNAMIC foo()Lorg/jruby/runtime/callsite/CachingCallSite; [ | |
// handle kind 0x6 : INVOKESTATIC | |
org/jruby/ir/targets/Bootstrap.prepareCallSiteObject(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;I)Ljava/lang/invoke/CallSite; | |
// arguments: | |
3 | |
] | |
ALOAD 0 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/jruby/runtime/callsite/CachingCallSite.call (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; | |
ARETURN | |
MAXSTACK = 4 | |
MAXLOCALS = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment