rubinius/rubinius

View on GitHub
machine/interpreter/r_store_ivar.cpp

Summary

Maintainability
Test Coverage
#include "instructions/r_store_ivar.hpp"

namespace rubinius {
  namespace interpreter {
    intptr_t r_store_ivar(STATE, CallFrame* call_frame, intptr_t const opcodes[]) {
      instructions::r_store_ivar(state, call_frame, argument(0), argument(1), argument(2));

      call_frame->next_ip(instructions::data_r_store_ivar.width);

      return ((instructions::Instruction)opcodes[call_frame->ip()])(state, call_frame, opcodes);
    }
  }
}