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
For now, dead code elimination is introduced on 5e41949 and b7dde69.
This eliminates the following kinds of dead codes:
local function definitions
variable definitions
top-level function definitions
Currently, top-level functions' dead code elimination is imcomplete because indirect dead codes are not eliminated. For example, foo, called by bar that is not called anywhere, is not eliminated.
foo -> bar -> x
Currently the following forms are supposed to be with side effects:
SETREG forms
function applications (because no ways to know if being with side effects)
The dead code elimination phase is to be introduced within the compiler phases for optimization.
The text was updated successfully, but these errors were encountered: