machine/interpreter/send_stack_with_splat.cpp
#include "instructions/send_stack_with_splat.hpp"
namespace rubinius {
namespace interpreter {
intptr_t send_stack_with_splat(STATE, CallFrame* call_frame, intptr_t const opcodes[]) {
intptr_t literal = argument(0);
intptr_t count = argument(1);
if(instructions::send_stack_with_splat(state, call_frame, literal, count)) {
call_frame->next_ip(instructions::data_send_stack_with_splat.width
+ instructions::data_unwind.width);
} else {
call_frame->next_ip(instructions::data_send_stack_with_splat.width);
}
return ((instructions::Instruction)opcodes[call_frame->ip()])(state, call_frame, opcodes);
}
}
}