Skip to content

Commit

Permalink
Move indexim_s and eqatim_s to oplist order
Browse files Browse the repository at this point in the history
Move them in interp.c to oplist order.
  • Loading branch information
samcv committed Aug 10, 2017
1 parent e50eb61 commit 955a9cd
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/core/interp.c
Expand Up @@ -1533,12 +1533,6 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
OP(eqatim_s):
GET_REG(cur_op, 0).i64 = MVM_string_equal_at_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s,
GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
OP(eqaticim_s):
GET_REG(cur_op, 0).i64 = MVM_string_equal_at_ignore_case_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s,
Expand Down Expand Up @@ -1578,11 +1572,6 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s, GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
OP(indexim_s):
GET_REG(cur_op, 0).i64 = MVM_string_index_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s, GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
OP(indexicim_s):
GET_REG(cur_op, 0).i64 = MVM_string_index_ignore_case_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s, GET_REG(cur_op, 6).i64);
Expand Down Expand Up @@ -4647,6 +4636,12 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
GET_REG(cur_op, 0).o = MVM_code_location(tc, GET_REG(cur_op, 2).o);
cur_op += 4;
goto NEXT;
OP(eqatim_s):
GET_REG(cur_op, 0).i64 = MVM_string_equal_at_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s,
GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
OP(ordbaseat):
GET_REG(cur_op, 0).i64 = MVM_string_ord_basechar_at(tc, GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).i64);
cur_op += 6;
Expand Down Expand Up @@ -5087,6 +5082,12 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
cur_op += 6;
goto NEXT;
}
OP(indexim_s): {
GET_REG(cur_op, 0).i64 = MVM_string_index_ignore_mark(tc,
GET_REG(cur_op, 2).s, GET_REG(cur_op, 4).s, GET_REG(cur_op, 6).i64);
cur_op += 8;
goto NEXT;
}
OP(decodertakeallchars): {
MVMObject *decoder = GET_REG(cur_op, 2).o;
MVM_decoder_ensure_decoder(tc, decoder, "decodertakeallchars");
Expand Down

0 comments on commit 955a9cd

Please sign in to comment.