case optimizations

Stephen Weeks MLton@sourcelight.com
Mon, 10 Dec 2001 12:37:23 -0800


> Our Java compiler did perform this case optimization on the SSA
> representation, but it tried to reduce code size increase by
> hoisting (sharing) blocks whenever possible. 

Good point -- you never need more than n copies of the block, where n
is the number of branches in the case.