Skip to content

Commit

Permalink
Fix newexception; make openpipe throw NYI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Nov 27, 2013
1 parent b235e2e commit ed9b09d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/interp.c
Expand Up @@ -3774,8 +3774,12 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
cur_op += 4;
goto NEXT;
OP(newexception):
GET_REG(cur_op, 0).o
= (MVMObject *)MVM_repr_alloc_init(tc, tc->instance->boot_types.BOOTException);
GET_REG(cur_op, 0).o = (MVMObject *)MVM_repr_alloc_init(tc,
tc->instance->boot_types.BOOTException);
cur_op += 2;
goto NEXT;
OP(openpipe):
MVM_exception_throw_adhoc(tc, "openpipe NYI");
#if MVM_CGOTO
OP_CALL_EXTOP: {
/* Bounds checking? Never heard of that. */
Expand Down

0 comments on commit ed9b09d

Please sign in to comment.