Skip to content

Commit

Permalink
chars is implemented the same as graphs_s for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Jul 28, 2014
1 parent 9bf2fb8 commit 66bd7e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jit/graph.c
Expand Up @@ -142,7 +142,7 @@ static void * op_to_func(MVMThreadContext *tc, MVMint16 opcode) {
case MVM_OP_repeat_s: return &MVM_string_repeat;
case MVM_OP_flip: return &MVM_string_flip;
case MVM_OP_eq_s: return &MVM_string_equal;
case MVM_OP_graphs_s: return &MVM_string_graphs;
case MVM_OP_chars: case MVM_OP_graphs_s: return &MVM_string_graphs;
case MVM_OP_codes_s: return &MVM_string_codes;
default:
MVM_exception_throw_adhoc(tc, "No function for op %d", opcode);
Expand Down Expand Up @@ -657,6 +657,7 @@ static MVMint32 jgb_consume_ins(MVMThreadContext *tc, JitGraphBuilder *jgb,
MVM_JIT_RV_INT, dst);
break;
}
case MVM_OP_chars:
case MVM_OP_graphs_s:
case MVM_OP_codes_s:
case MVM_OP_flip: {
Expand Down

0 comments on commit 66bd7e4

Please sign in to comment.