Skip to content

Instantly share code, notes, and snippets.

@headius

headius/AFTER Secret

Created September 12, 2019 16:12
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 headius/eaf13609fae927364aea05cd03502e27 to your computer and use it in GitHub Desktop.
Save headius/eaf13609fae927364aea05cd03502e27 to your computer and use it in GitHub Desktop.
// access flags 0x100A
private static synthetic invokeOther2: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;
L0
LINENUMBER 1 L0
INVOKEDYNAMIC callSite()Lorg/jruby/runtime/callsite/CachingCallSite; [
// handle kind 0x6 : INVOKESTATIC
org/jruby/ir/targets/Bootstrap.callSite(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;I)Ljava/lang/invoke/CallSite;
// arguments:
"puts",
1
]
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
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;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
MAXSTACK = 5
MAXLOCALS = 4
// access flags 0x100A
private static synthetic invokeOther4: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;
L0
LINENUMBER 1 L0
GETSTATIC DashE.invokeOther4:puts : Lorg/jruby/runtime/callsite/CachingCallSite;
DUP
IFNONNULL L1
POP
LDC "puts"
INVOKESTATIC org/jruby/ir/runtime/IRRuntimeHelpers.newFunctionalCachingCallSite (Ljava/lang/String;)Lorg/jruby/runtime/callsite/FunctionalCachingCallSite;
DUP
PUTSTATIC DashE.invokeOther4:puts : Lorg/jruby/runtime/callsite/CachingCallSite;
L1
FRAME SAME1 org/jruby/runtime/callsite/CachingCallSite
ALOAD 0
ALOAD 1
ALOAD 2
ALOAD 3
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;)Lorg/jruby/runtime/builtin/IRubyObject;
ARETURN
MAXSTACK = 5
MAXLOCALS = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment