Sha256: 8afbe8c4624748e94611ccaf3bf04adcfc0231883fbd772cbde99366246db241

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

#include "cruby.h"

VALUE vm_getspecial(rb_thread_t *th, const VALUE *lep, rb_num_t key, rb_num_t type);
VALUE
llrb_insn_getspecial(rb_num_t key, rb_num_t type)
{
  rb_thread_t *th = GET_THREAD();

  const VALUE *ep = th->cfp->ep;
  while (!VM_ENV_LOCAL_P(ep)) {
    ep = VM_ENV_PREV_EP(ep);
  }
  return vm_getspecial(th, ep, key, type);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
llrb-0.0.1 ext/llrb_insn_getspecial.c