scala.tools.nsc.backend.opt.DeadCodeElimination

DeadCode

class DeadCode extends AnyRef

Remove dead code.

Source
DeadCodeElimination.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DeadCode
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeadCode()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var accessedLocals: List[Local]

    what local variables have been accessed at least once?

  7. def analyzeClass(cls: IClass): Unit

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def collectRDef(m: IMethod): Unit

    collect reaching definitions and initial useful instructions for this method.

  11. var defs: Map[(BasicBlock, Int), Set[(Local, BasicBlock, Int)]]

    Use-def chain: give the reaching definitions at the beginning of given instruction.

  12. def dieCodeDie(m: IMethod): Unit

  13. val dropOf: Map[(BasicBlock, Int), (BasicBlock, Int)]

    Map instructions who have a drop on some control path, to that DROP instruction.

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def mark(): Unit

    Mark useful instructions.

    Mark useful instructions. Instructions in the worklist are each inspected and their dependencies are marked useful too, and added to the worklist.

  21. var method: IMethod

    the current method.

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val rdef: ReachingDefinitionsAnalysis

  26. def sweep(m: IMethod): Unit

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. val useful: Map[BasicBlock, BitSet]

    what instructions have been marked as useful?

  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. val worklist: Set[(BasicBlock, Int)]

    Useful instructions which have not been scanned yet.

Inherited from AnyRef

Inherited from Any