Dotty Documentation

0.6.0-bin-SNAPSHOT

class Jumpjump
extends Object with Optimisation

Rewrites pairs of consecutive LabelDef jumps by jumping directly to the target.

[-] Constructors

Jumpjump ( )

[-] Members

[+] val defined : MutableSymbolMap [ Symbol ]
[+] def clear ( ) : Unit

Clears all the state of this optimisation, to be run last.

[+] def transformer ( implicit ctx: Context ) : Tree => Tree

Does the actual Tree => Tree transformation.

[+] def visitor ( implicit ctx: Context ) : Tree => Unit

Gathers information on trees (using mutation), to be run first.