Skip to content

Commit

Permalink
iter, iterval and iterkey make stuff hang in compilation :(
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Jul 29, 2014
1 parent 5ab4b4b commit 4cae0f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jit/graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,6 @@ static MVMint32 jgb_consume_ins(MVMThreadContext *tc, JitGraphBuilder *jgb,
jgb_append_call_c(tc, jgb, op_to_func(tc, op), 3, args, MVM_JIT_RV_VOID, -1);
break;
}
case MVM_OP_iterval:
case MVM_OP_shift_o:
case MVM_OP_pop_o: {
MVMint16 dst = ins->operands[0].reg.orig;
Expand Down Expand Up @@ -746,15 +745,16 @@ static MVMint32 jgb_consume_ins(MVMThreadContext *tc, JitGraphBuilder *jgb,
jgb_append_call_c(tc, jgb, op_to_func(tc, op), 2, args, MVM_JIT_RV_INT, dst);
break;
}
case MVM_OP_iterkey_s:
/* case MVM_OP_iterkey_s:
case MVM_OP_iterval:
case MVM_OP_iter: {
MVMint16 dst = ins->operands[0].reg.orig;
MVMint32 invocant = ins->operands[1].reg.orig;
MVMJitCallArg args[] = { { MVM_JIT_INTERP_VAR, MVM_JIT_INTERP_TC },
{ MVM_JIT_REG_VAL, invocant } };
jgb_append_call_c(tc, jgb, op_to_func(tc, op), 2, args, MVM_JIT_RV_PTR, dst);
break;
}
}*/
/* coercion */
case MVM_OP_coerce_sn:
case MVM_OP_coerce_ns:
Expand Down

0 comments on commit 4cae0f9

Please sign in to comment.