emit final missing returns in compiler itself