Class ArefCallSite


public class ArefCallSite extends MonomorphicCallSite
  • Constructor Details

    • ArefCallSite

      public ArefCallSite()
  • Method Details

    • call

      public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long fixnum)
      Description copied from class: CallSite
      Call the site's method against the target object, passing a literal long value.
      Overrides:
      call in class CachingCallSite
      Parameters:
      context - the ThreadContext for the current thread
      caller - the caller, for visibility checks
      self - the target object to call against
      fixnum - the literal long value to pass
      Returns:
      the result of the call
    • call

      public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg)
      Description copied from class: CallSite
      Call the site's method against the target object passing one argument.
      Overrides:
      call in class CachingCallSite
      Parameters:
      context - the ThreadContext for the current thread
      caller - the caller, for visibility checks
      self - the target object to call against
      arg - the argument to pass
      Returns:
      the result of the call