Skip to content

Commit

Permalink
Make backtrace generation ignore thunks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 10, 2014
1 parent 8e0419f commit 994bd40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/exceptions.c
Expand Up @@ -320,6 +320,8 @@ MVMObject * MVM_exception_backtrace(MVMThreadContext *tc, MVMObject *ex_obj) {

MVM_repr_push_o(tc, arr, row);
cur_frame = cur_frame->caller;
while (cur_frame && cur_frame->static_info->body.is_thunk)
cur_frame = cur_frame->caller;
count++;
}

Expand Down

0 comments on commit 994bd40

Please sign in to comment.