You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure guarded_gotos is cleared after converting each function
This would previously still contain guarded GOTOs that had already been
optimised by e.g. translating if(cond) GOTO 2; GOTO 1; 2: into
if(!cond) GOTO 1; SKIP; 2:. This was harmless as the SKIP instructions
were SKIP'd again, and the precise wording of the transformation happened
to be idempotent. However, the forthcoming lazy loading patchset can
remove those SKIPs between loading one function and another, and so
guarded_gotos would contain dangling instruction iterators.
Thus this simply avoids some wasted time and memory for now, but also
enables future work.
0 commit comments