Skip to content

Commit

Permalink
follow up #115
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Sep 10, 2024
1 parent 54f6697 commit 2576d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Advance the program counter without executing the corresponding line.
If `frame` is finished, `nextpc` will be `nothing`.
"""
next_or_nothing(frame, pc) = pc < nstatements(frame.framecode) ? pc+1 : nothing
next_or_nothing!(frame) = next_or_nothing(finish_and_return!, frame)
next_or_nothing!(frame) = next_or_nothing!(finish_and_return!, frame)
function next_or_nothing!(@nospecialize(recurse), frame)
pc = frame.pc
if pc < nstatements(frame.framecode)
Expand Down

0 comments on commit 2576d56

Please sign in to comment.