Top Answer
User Avatar
Wiki User
Answered 2008-05-05 09:42:24

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

Your Answer

Still Have Questions?

Related Questions

What does Elimination mean in medical terms?

Elimination In medical terminology refers to urination and defecation.

Does elimination mean the same thing as abolition?

These two words can mean the same thing.

What does elimination mean?

Elimination may refer to:Science and medicineIn chemistryElimination reaction, an organic reaction in which two functional groups split to form an organic productIn pharmacologyElimination, clearance of a drug or other foreign agent from the bodyIn epidemiologyElimination, the destruction of an infectious disease in one region of the world as opposed to its eradication from the entire worldLogic and mathematicsIn logicElimination, the rule of inference known as the disjunctive syllogismIn mathematicsElimination, with steps of elimination over linear equalities, using the Gaussian elimination algorithmElimination, for systems of linear inequalities, using the Fourier-Motzkin elimination algorithm

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?


Who won the 2007 elimination chamber?

There was no Elimination Chamber in 2007.

What is tna elimination chamber?

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

How many elimanation chambers in wwe were there?

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

What is elimination?

Elimination is the removal of undigested food (solid waste) from the body.

Who won the WWE Elimination Chamber 2011?

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

How do you use elimination in a sentence?

The team won at the district level but then lost in the elimination round. Hitler's master plan called for the elimination of the Jewish race. Her doctor recommends the elimination of all processed foods from her diet.

What suffix chezia mean?

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

Kinds of elimination?

There are three kinds of elimination: the single, double, and the round robin.

What stores waste prior to elimination?

The rectum holds waste until elimination.

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 is the next WWE elimination chamber match?

Elimination Chamber PPV is once each year. The next Elimination Chamber match will be in February 2012.

What is single elimination in volleyball?

Single elimination in volleyball is when as soon as you lose you are done/finished.

Will the WWE still have the Elimination Chamber in 2012?

yes the WWE needs elimination chamber

Which elimination was an expansion of suffrage that occurred before the civil war?

elimination of religious qualifications

What channel is elimination chamber on?

WWE Elimination Chamber is on Sky Sports 1 HD.

Who won the elimination chamber 2013?

jack swagger won the elimination chamber 2013

Who wins the elimination chamber on no way out?

for the smackdown winner of the elimination chamber was= chris Jericho. for the raw elimination chamber the winer was= john cena but batista attacked john cena to win. for the ecw elimination chamber the winner was= ezekiel Jackson

Which intestine Prepares wastes for elimination from the body?

The large intestine prepares wastes for elimination from the body.

Still have questions?