mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 09:58:34 +00:00
The per-statement temp count returned early for an if after recursing into its body and else, and never walked the condition. A helper call whose only occurrence was in a condition, `if m.lookup(5):`, therefore found no pool and failed with "Scratch pool exhausted" while the same call on a line of its own compiled. The condition is evaluated before any nested statement and the pool resets between statements, so it is counted as a piece of its own and the bodies take the max, as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>