Skip to content

Commit

Permalink
Remove unused condition
Browse files Browse the repository at this point in the history
  • Loading branch information
noahfarr committed Jan 21, 2025
1 parent 2deb0f8 commit f682c68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pufferlib/ocean/tcg/tcg.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,7 @@ void step(TCG* env, unsigned char atn) {
bool return_to_user = item.phase_func(env, atn);
if (return_to_user) {
StackItem next_item = peek(env->stack);
if (next_item.type == STACK_PHASE &&
item.phase_func == resolve_priority && next_item.phase_func == resolve_priority &&
if (next_item.type == STACK_PHASE && next_item.phase_func == resolve_priority &&
env->priority == 0 &&
!env->participate_in_priority) {
atn = ACTION_ENTER;
Expand Down

0 comments on commit f682c68

Please sign in to comment.