Compile get_local and else body.