开发者

Concept of "dead code stripping" in compiler optimization options

When i gone through my compiler(starcore,scc) optimization options, i can see one "dead code strippin开发者_Python百科g".

What actually does when this option is enabled?

/Kanu


The resulting executable will not include any "dead" or unreachable code, because theres no point as it can never be executed.


Dead-code stripping is the process of removing unreferenced code from the executable file. If the code is unreferenced, it must not be used and therefore is not needed in the executable file. Removing dead code reduces the size of your executable and can help reduce paging.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜