Skip to content

Commit

Permalink
Log specific exit (useful for gdb :-))
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw committed Oct 9, 2015
1 parent 043a779 commit 1a090f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jit/compile.c
Expand Up @@ -127,10 +127,10 @@ MVMint32 MVM_jit_enter_code(MVMThreadContext *tc, MVMCompUnit *cu,
MVMint32 ctrl = code->func_ptr(tc, cu, label);
MVMint64 ofs = ((char*)frame->jit_entry_label) - ((char*)code->func_ptr);
if (ofs == 10357 && inreturn_find_count == 172) {
fprintf(stderr, "seq nr: %d\n", code->seq_nr);
fprintf(stderr, "seq nr: %d ifc %d\n", code->seq_nr, inreturn_find_count);
}
if (ofs == 10357 && inreturn_find_count == 208) {
fprintf(stderr, "seq nr: %d\n", code->seq_nr);
fprintf(stderr, "seq nr: %d ifc %d\n", code->seq_nr, inreturn_find_count);
}
return ctrl ? 0 : 1;
}

0 comments on commit 1a090f3

Please sign in to comment.