I came up with a simple way of doing this that isn't that expensive.
Basically, I just start at the final consequent statement and work my way
back towards the first one, checking for break/return/throw. That way, the
common and fast path is the last statement but it can still work for your
case.