2 ms·
You would think that AOT would be the right time to remove dead code.
by CalChris 10y ago
You would think that AOT would be the right time to remove dead code.
- pjmlp 10y agoOnly if it can be fully determined at compile time. For example a debug flag can depend on a command line parameter, but it will be used to initialize a constant variable. So the code can be shipped with both versions, and the JIT will just remove the unused branches.