Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Chase API change in Moar for frame/gen2 opts.
  • Loading branch information
jnthn committed Mar 21, 2015
1 parent d835c8e commit c5e32f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/moar/ops/perl6_ops.c
Expand Up @@ -482,8 +482,8 @@ static MVMuint8 s_p6routinereturn[] = {
MVM_operand_obj | MVM_operand_read_reg,
};
static void p6routinereturn(MVMThreadContext *tc, MVMuint8 *cur_op) {
MVMRegister *reg = MVM_frame_find_lexical_by_name_rel_caller(tc, str_return,
tc->cur_frame);
MVMRegister *reg = MVM_frame_find_lexical_by_name_rel_caller(tc,
str_return, tc->cur_frame, 0);
MVMObject *ret = (reg ? reg->o : NULL);
if (!MVM_is_null(tc, ret) && IS_CONCRETE(ret) && REPR(ret)->ID == MVM_REPR_ID_Lexotic) {
MVM_args_setup_thunk(tc, NULL, MVM_RETURN_VOID, &one_arg_callsite);
Expand Down

0 comments on commit c5e32f6

Please sign in to comment.