Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing MVM_is_null in p6capturelex.
With this, we make it thorugh the setting build again.
  • Loading branch information
jnthn committed Apr 30, 2014
1 parent 3c822bc commit ff04467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/ops/perl6_ops.c
Expand Up @@ -438,7 +438,7 @@ static void p6capturelex(MVMThreadContext *tc) {
MVMObject *p6_code_obj = GET_REG(tc, 2).o;
MVMInvocationSpec *is = STABLE(p6_code_obj)->invocation_spec;
MVMObject *vm_code_obj;
if (is && is->invocation_handler)
if (is && !MVM_is_null(tc, is->invocation_handler))
return;
vm_code_obj = MVM_frame_find_invokee(tc, p6_code_obj, NULL);
if (REPR(vm_code_obj)->ID == MVM_REPR_ID_MVMCode) {
Expand Down

0 comments on commit ff04467

Please sign in to comment.