answersLogoWhite

0


Best Answer

In compiler theory, dead code elimination is a compiler optimization used to reduce program size by removing code which does not affect the program. Dead code includes code that can never be executed (unreachable code), and code that only affects dead variables, that is variables that are irrelevant to the program. Consider the following example written in C. int foo() { int a = 24; int b = 25; /* Assignment to dead variable */ int c; c = a << 2; return c; b = 24; /* Unreachable code */} The variable b is assigned a value after a return statement, which makes it impossible to get to. That is, since code execution is linear, and there is no conditional expression wrapping the return statement, any code after the return statement cannot possibly be executed. (This would not be the case if there were a label after the return statement, which opens the possibility of there being a jump that places execution after the return statement.)

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by deadcode elimination?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does elimination mean the same thing as abolition?

These two words can mean the same thing.


What are the different kinds of elimination in intramural?

the different kinds of elimination is a single elimination and a double elimination


What does ELIM?

Do you mean in late season standings charts? If so it means elimination number or the combination of loss by that team and wins by the "first place" team that results in the mathematical elimination of a team.


What elimination of carbon dioxide by the lungs and elimination or?

boner


How many elimanation chambers in wwe were there?

If you mean how many elimination chamber matches have there been,then there have been 11.


Where can I find out more about elimination diets?

You can find out more information about elimination diets. You can get information of elimination diets at en.wikipedia.org/wiki/Elimination_diet and www.webmd.com/allergies/allergies-elimination-diet.


What is tna elimination chamber?

TNA does not have an Elimination Chamber. The WWE does.


What suffix chezia mean?

The ending part of a word that modifies the meaning of the word, -chezia, defacation; elimination of wastes.


Who won the WWE Elimination Chamber 2011?

John Cena won the Raw Elimination Chamber, and Edge won Smackdown's Elimination Chamber.


Who is going to win the elimination chamber?

Randy Orton will win the Elimination Chamber!!(:


Who returned at elimination chamber 2011?

Batista,at the end of Raw Elimination Chamber


When was The Process of Elimination created?

The Process of Elimination was created on 2005-06-28.