-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: remove dead has
branches at source->source optimization step
#25
Comments
Yes - I think I need to do some of it under an option, because people have argued that they don't want On the other hand it's always safe to optimize a condition to true, when the device is guaranteed to support it, because th .iq file won't install on devices older than the one you build against. |
It looks like it already does this for |
If you check for something that isn't defined anywhere (including in the For things that it does find, there are two possibilities:
I currently don't distinguish between those cases, so I never optimize My proposed change is:
|
Sounds good to me! |
sdk 7 brought the ability to compile out dead branches based on has checks, however they're not enabled by default and most devices won't get this until new device configs get rolled out. Can prettier monkeyc do this at the source->source optimization step?
The text was updated successfully, but these errors were encountered: