Skip to content

Commit

Permalink
Fix missing result register writes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 16, 2018
1 parent d699863 commit 5ef7fc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/interp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5824,6 +5824,7 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
else {
MVM_p6bigint_store_as_mp_int(body, value);
}
GET_REG(cur_op, 0).o = obj;
cur_op += 10;
goto NEXT;
}
Expand Down Expand Up @@ -5873,6 +5874,7 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
else {
MVM_p6bigint_store_as_mp_int(body, value);
}
GET_REG(cur_op, 0).o = obj;
}
cur_op += 12;
goto NEXT;
Expand Down

0 comments on commit 5ef7fc6

Please sign in to comment.