Skip to content

Commit

Permalink
Fix #270.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed May 13, 2020
1 parent 6fbce38 commit f3f89bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ruby_prof/rp_stack.c
Expand Up @@ -187,7 +187,7 @@ prof_frame_t* prof_frame_pop(prof_stack_t* stack, double measurement)

prof_method_t* prof_find_method(prof_stack_t* stack, VALUE source_file, int source_line)
{
prof_frame_t* frame = stack->ptr;
prof_frame_t* frame = prof_stack_last(stack);
while (frame >= stack->start)
{
if (!frame->call_tree)
Expand Down

0 comments on commit f3f89bf

Please sign in to comment.