Skip to content

Commit

Permalink
Remove a bit of now-unrequied flow control.
Browse files Browse the repository at this point in the history
We don't need the NULL check when we're not going to try and fiddle
with a reference count.
  • Loading branch information
jnthn committed Apr 20, 2016
1 parent e1114b6 commit 4509fd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/frame.c
Expand Up @@ -585,8 +585,7 @@ MVMFrame * MVM_frame_create_for_deopt(MVMThreadContext *tc, MVMStaticFrame *stat
frame->tc = tc;
MVM_ASSIGN_REF(tc, &(frame->header), frame->static_info, static_frame);
MVM_ASSIGN_REF(tc, &(frame->header), frame->code_ref, code_ref);
if (code_ref->body.outer)
MVM_ASSIGN_REF(tc, &(frame->header), frame->outer, code_ref->body.outer);
MVM_ASSIGN_REF(tc, &(frame->header), frame->outer, code_ref->body.outer);
return frame;
}

Expand Down

0 comments on commit 4509fd0

Please sign in to comment.