Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get latest MoarVM; remove nasty hack in ext ops.
  • Loading branch information
jnthn committed Jul 25, 2014
1 parent a6b2af7 commit 506aae5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/vm/moar/ops/perl6_ops.c
Expand Up @@ -425,7 +425,6 @@ static void p6routinereturn(MVMThreadContext *tc) {
MVM_args_setup_thunk(tc, NULL, MVM_RETURN_VOID, &one_arg_callsite);
tc->cur_frame->args[0].o = GET_REG(tc, 2).o;
STABLE(ret)->invoke(tc, ret, &one_arg_callsite, tc->cur_frame->args);
*(tc->interp_cur_op) -= 4; /* Oh my, what a hack... */
}
else {
MVMObject *thrower = get_thrower(tc, str_cfr);
Expand Down Expand Up @@ -645,7 +644,6 @@ static void p6finddispatcher(MVMThreadContext *tc) {
tc->cur_frame->args[2].o = ctx_ref;
tc->cur_frame->args[3].o = capture;
STABLE(meth)->invoke(tc, meth, &disp_callsite, tc->cur_frame->args);
*(tc->interp_cur_op) -= 4; /* Coutneract addition of ext-op size. */
return;
}
else {
Expand All @@ -668,7 +666,6 @@ static void p6finddispatcher(MVMThreadContext *tc) {
MVM_args_setup_thunk(tc, NULL, MVM_RETURN_VOID, &one_str_callsite);
tc->cur_frame->args[0].s = usage;
STABLE(thrower)->invoke(tc, thrower, &one_str_callsite, tc->cur_frame->args);
*(tc->interp_cur_op) -= 4; /* Coutneract addition of ext-op size. */
}
else {
MVM_exception_throw_adhoc(tc,
Expand Down Expand Up @@ -856,7 +853,6 @@ static void p6invokeunder(MVMThreadContext *tc) {
MVM_args_setup_thunk(tc, res, MVM_RETURN_OBJ, &no_arg_callsite);
tc->cur_frame->special_return = return_from_fake;
STABLE(code)->invoke(tc, code, &no_arg_callsite, tc->cur_frame->args);
*(tc->interp_cur_op) -= 6;
}

/* Registers the extops with MoarVM. */
Expand Down
2 changes: 1 addition & 1 deletion tools/build/NQP_REVISION
@@ -1 +1 @@
2014.07-23-g0d5fabb
2014.07-24-g53769e5

0 comments on commit 506aae5

Please sign in to comment.