OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Const-fold some proc statements

Open ike709 opened this issue 1 year ago • 1 comments

Const-folds if(FALSE) and do {} while(FALSE). I also confirmed that folding while(FALSE) is pointless since it never occurs.

To test this I compiled Paradise and confirmed that I can wander around without things being horribly broken, and there wasn't any runtime spam.

ike709 avatar Jun 26 '24 20:06 ike709

Need to figure out some issues with scopes.

ike709 avatar Jul 01 '24 01:07 ike709

I'll revisit this later.

ike709 avatar Oct 19 '24 22:10 ike709