Skip to content

Commit

Permalink
small optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Nov 15, 2024
1 parent bc8d2e5 commit a576b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/cases_generator/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def in_frame_push(idx: int) -> bool:
)

if lhs[0].kind == lx.TIMES or any(
t.kind == lx.ARROW or t.kind == lx.LBRACKET for t in lhs[1:]
t.kind in {lx.ARROW, lx.LBRACKET} for t in lhs[1:]
):
# Don't handle: *ptr = ..., ptr->field = ..., or ptr[field] = ...
# Assume that they are visible to the GC.
Expand Down

0 comments on commit a576b2e

Please sign in to comment.