Skip to content

Commit

Permalink
Fix order of args passed to lexical ref function.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 8, 2015
1 parent da8fbed commit 0937fcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/interp.c
Expand Up @@ -4398,17 +4398,17 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
MVM_exception_throw_adhoc(tc, "Native register reference taking ops NYI");
OP(getlexref_i):
GET_REG(cur_op, 0).o = MVM_nativeref_lex_i(tc,
GET_UI16(cur_op, 2), GET_UI16(cur_op, 4));
GET_UI16(cur_op, 4), GET_UI16(cur_op, 2));
cur_op += 6;
goto NEXT;
OP(getlexref_n):
GET_REG(cur_op, 0).o = MVM_nativeref_lex_n(tc,
GET_UI16(cur_op, 2), GET_UI16(cur_op, 4));
GET_UI16(cur_op, 4), GET_UI16(cur_op, 2));
cur_op += 6;
goto NEXT;
OP(getlexref_s):
GET_REG(cur_op, 0).o = MVM_nativeref_lex_s(tc,
GET_UI16(cur_op, 2), GET_UI16(cur_op, 4));
GET_UI16(cur_op, 4), GET_UI16(cur_op, 2));
cur_op += 6;
goto NEXT;
OP(getlexref_ni):
Expand Down

0 comments on commit 0937fcb

Please sign in to comment.