Eliminated casts and equality tests whose results can be locally determined at compile time:
- a.asInstanceOf[T] → a when we know that a: T
- Simplify (a == null) and (a != null) when the result is statically known
DropGoodCasts ( )
def clear ( ) : Unit
Clears all the state of this optimisation, to be run last.
Does the actual Tree => Tree transformation.