public class DeadCodeElimination extends Object
Modifier and Type | Class and Description |
---|---|
class |
DeadCodeElimination.DeadCodeVisitor
Eliminates dead or unreachable code when possible, and makes local
simplifications like changing "
x || true " to "x ". |
static class |
DeadCodeElimination.FindBreakContinueStatementsVisitor
Examines code to find out whether it contains any break or continue
statements.
|
Constructor and Description |
---|
DeadCodeElimination(JProgram program) |
Modifier and Type | Method and Description |
---|---|
static OptimizerStats |
exec(JProgram program) |
static OptimizerStats |
exec(JProgram program,
JNode node) |
public static final String NAME
public DeadCodeElimination(JProgram program)
public static OptimizerStats exec(JProgram program)
public static OptimizerStats exec(JProgram program, JNode node)
Copyright © 2018. All rights reserved.